Page 4 of 17

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 2:25 pm
by Fred
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.

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 2:28 pm
by RSBasic
+1

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 2:50 pm
by Dude
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).

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 2:56 pm
by Josh
Switch back to the positive things

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

Code: Select all

- 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: Select all

- Added: SetGadgetColor() for CanvasGadget

Code: Select all

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

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 3:03 pm
by RSBasic
Dude wrote:You're still doing a great job with every release (and Freak too).
+1

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 3:17 pm
by Fred
@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 ?)

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 3:20 pm
by chi
Thanks @Fred (and all involved). Another great update!
(if it work, I don't think the SetgadgetColor() is needed, right ?)
:twisted:

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 3:25 pm
by Josh
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.

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 3:53 pm
by Josh
Tested callback with and without #PB_EventType_Resize. Can't see any difference. Maybe I do something wrong.

Code: Select all

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

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 4:00 pm
by Fred
I will take a closer look

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 4:58 pm
by JHPJHP
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

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 5:58 pm
by wombats
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?

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 6:30 pm
by IdeasVacuum
SetGadgetColor() for background works great. That's all I need and I think, what the most members wanted.
Yes indeed!

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 6:33 pm
by IdeasVacuum
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?

Re: PureBasic 5.70 LTS beta 1 is out !

Posted: Fri Jun 01, 2018 7:06 pm
by wombats
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.