PureBasic Forum
https://www.purebasic.fr/english/

PureBasic 5.70 LTS is out !
https://www.purebasic.fr/english/viewtopic.php?f=14&t=70785
Page 4 of 17

Author:  Fred [ Fri Jun 01, 2018 2:25 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Yes. We are doing our best, if you really want one fix prioritized, feel free to contact me in PM and make an offer. You are nagging for one single bug over and over in the forum since a while, always with rude and negative tone. So good bye, I warned you several time in PM before.

Author:  RSBasic [ Fri Jun 01, 2018 2:28 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

+1

Author:  Dude [ Fri Jun 01, 2018 2:50 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Don't let him get you down, Fred. I know it's hard to please everyone. You're still doing a great job with every release (and Freak too).

Author:  Josh [ Fri Jun 01, 2018 2:56 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Switch back to the positive things

:) :) :) :) :) :) :) :) :) :) :) :) :)

Code:
- Added: Brand new QT subsystem for Linux
- Added: DPI aware support for Windows app (/DPIAWARE compiler switch and DPI Aware check in IDE)
- Added: #PS, #NPS, #PS$ and #NPS$ constants (Path seperator character depending of the OS)
- Added: #PB_JSON_NoClear support to ExtractJSONStructure
- Added: #PB_Path_Winding filling mode for VectorDrawing
- Added: DesktopResolutionX(), DesktopResolutionY(), DesktopScaleX(), DesktopScaleY(), DesktopUnscaleX(), DesktopUnscaleY()
- Added: an optional 'Mode' parameter for OpenConsole() to specify the string format to use
- Added: #PB_Vehicle_IsInContact, #PB_Vehicle_ContactPointX/Y/Z, #PB_Vehicle_ContactPointY/Z for GetVehicleAttribute()
- Added: #PB_Vehicle_ContactPointNormalX/Y/Z, #PB_Vehicle_ContactPointNormalY/Z, #PB_Vehicle_CurrentSpeedKmHour, #PB_Vehicle_ForwardVectorX/Y/Z
- Added: #PB_Material_ProjectiveTexturing for SetMaterialAttribute()
- Added: ParticleScaleRate(), ParticleAngle(), CameraReflection()
- Added: BuildMeshManualLod(), BuildMeshLod(), MeshVertex(), CreateDataMesh()
- Added: EntityDirection(), EntityDirectionX(), EntityDirectionY(), EntityDirectionZ()
- Added: #PB_Local/#PB_Parent/#PB_World support for ApplyEntityForce(), ApplyEntityImpulse(), ApplyEntityTorque() and ApplyEntityTorqueImpulse()


You forgot one of the most important changes for 5.70 (at least for me):
Code:
- Added: SetGadgetColor() for CanvasGadget


Code:
OpenWindow (0, 0, 0, 300, 600, "SplitterGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)

CanvasGadget   (1, 0, 0,   0,   0)
CanvasGadget   (2, 0, 0,   0,   0)
SplitterGadget (0, 1, 1, 298, 598, 1, 2)

SetGadgetColor (1, #PB_Gadget_BackColor, #Red)
SetGadgetColor (2, #PB_Gadget_BackColor, #Green)

Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow


See this thread

Author:  RSBasic [ Fri Jun 01, 2018 3:03 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Dude wrote:
You're still doing a great job with every release (and Freak too).

+1

Author:  Fred [ Fri Jun 01, 2018 3:17 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

@Josh: according to fr34k, the fix to canvas resize should be in this release, did you test it ? (if it work, I don't think SetGadgetColor() is needed, right ?)

Author:  chi [ Fri Jun 01, 2018 3:20 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Thanks @Fred (and all involved). Another great update!

Quote:
(if it work, I don't think the SetgadgetColor() is needed, right ?)
:twisted:

Author:  Josh [ Fri Jun 01, 2018 3:25 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Fred wrote:
@Josh: according to fr34k, the fix to canvas resize should be in this release, did you test it ? (if it work, I don't think SetGadgetColor() is needed, right ?)

I think it's the other way around. SetGadgetColor() for background works great. That's all I need and I think, what the most members wanted.

Try the snippet from my previous post. Perfect. Without flickering an without callback.

Author:  Josh [ Fri Jun 01, 2018 3:53 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Tested callback with and without #PB_EventType_Resize. Can't see any difference. Maybe I do something wrong.

Code:
Procedure Resize1()

  If StartDrawing (CanvasOutput (1))
    Box(20, 20, GadgetWidth(1) - 40, GadgetHeight(1) - 40, #Green)
    StopDrawing()
  EndIf

EndProcedure
Procedure Resize2()

  If StartDrawing (CanvasOutput (2))
    Box(20, 20, GadgetWidth(2) - 40, GadgetHeight(2) - 40, #Red)
    StopDrawing()
  EndIf

EndProcedure

OpenWindow (0, 0, 0, 300, 600, "SplitterGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)

CanvasGadget   (1, 0, 0,   0,   0)
CanvasGadget   (2, 0, 0,   0,   0)
SplitterGadget (0, 1, 1, 298, 598, 1, 2)

SetGadgetColor (1, #PB_Gadget_BackColor, #Red)
SetGadgetColor (2, #PB_Gadget_BackColor, #Green)

Resize1()
Resize2()
BindGadgetEvent (1, @Resize1(), #PB_EventType_Resize)
BindGadgetEvent (2, @Resize2(), #PB_EventType_Resize)

Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow

Author:  Fred [ Fri Jun 01, 2018 4:00 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

I will take a closer look

Author:  JHPJHP [ Fri Jun 01, 2018 4:58 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Hi PB Team,

... and it is a team, from Fred to Freak, including the main contributors past and present (too many to mention by name). The moderators and forum members who tirelessly share their time and skillset to make this community what it is. Thank you all :!:

"No duty is more urgent than that of returning thanks." ~James Allen

Author:  wombats [ Fri Jun 01, 2018 5:58 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Thank you for the update!

Qt on Linux sounds amazing. I look forward to testing it.

What are the licensing implications of this? Is it dynamically linked? What will an end-user need to install to use a PB application that uses the Qt subsystem?

Author:  IdeasVacuum [ Fri Jun 01, 2018 6:30 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Quote:
SetGadgetColor() for background works great. That's all I need and I think, what the most members wanted.

Yes indeed!

Author:  IdeasVacuum [ Fri Jun 01, 2018 6:33 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

Qt license costs for commercial use apps are savage. They also have a very active legal department ready to sue anyone that breaks their license terms.

wombats wrote:
Thank you for the update!

Qt on Linux sounds amazing. I look forward to testing it.

What are the licensing implications of this? Is it dynamically linked? What will an end-user need to install to use a PB application that uses the Qt subsystem?

Author:  wombats [ Fri Jun 01, 2018 7:06 pm ]
Post subject:  Re: PureBasic 5.70 LTS beta 1 is out !

IdeasVacuum wrote:
Qt license costs for commercial use apps are savage. They also have a very active legal department ready to sue anyone that breaks their license terms.

wombats wrote:
Thank you for the update!

Qt on Linux sounds amazing. I look forward to testing it.

What are the licensing implications of this? Is it dynamically linked? What will an end-user need to install to use a PB application that uses the Qt subsystem?

I think you can use it commercially under the terms of the LGPL, but you can only keep the source code closed if it's dynamically linked.

Page 4 of 17 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/