PureBasic 5.70 LTS is out !

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 14287
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post 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.
RSBasic
Moderator
Moderator
Posts: 1119
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post by RSBasic »

+1
ImageImageImageImage Image
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: PureBasic 5.70 LTS beta 1 is out !

Post 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).
User avatar
Josh
Addict
Addict
Posts: 1184
Joined: Sat Feb 13, 2010 3:45 pm

Re: PureBasic 5.70 LTS beta 1 is out !

Post 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
Last edited by Josh on Fri Jun 01, 2018 3:06 pm, edited 2 times in total.
sorry for my bad english
RSBasic
Moderator
Moderator
Posts: 1119
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post by RSBasic »

Dude wrote:You're still doing a great job with every release (and Freak too).
+1
ImageImageImageImage Image
Fred
Administrator
Administrator
Posts: 14287
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post 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 ?)
User avatar
chi
Addict
Addict
Posts: 825
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: PureBasic 5.70 LTS beta 1 is out !

Post by chi »

Thanks @Fred (and all involved). Another great update!
(if it work, I don't think the SetgadgetColor() is needed, right ?)
:twisted:
Et cetera is my worst enemy
User avatar
Josh
Addict
Addict
Posts: 1184
Joined: Sat Feb 13, 2010 3:45 pm

Re: PureBasic 5.70 LTS beta 1 is out !

Post 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.
sorry for my bad english
User avatar
Josh
Addict
Addict
Posts: 1184
Joined: Sat Feb 13, 2010 3:45 pm

Re: PureBasic 5.70 LTS beta 1 is out !

Post 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
Last edited by Josh on Fri Jun 01, 2018 4:01 pm, edited 1 time in total.
sorry for my bad english
Fred
Administrator
Administrator
Posts: 14287
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post by Fred »

I will take a closer look
User avatar
JHPJHP
Addict
Addict
Posts: 1787
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post 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

STATUS: Mostly Unavailable :: Downloads moved to My PureBasic Stuff; access key required.
_________________
wombats
Enthusiast
Enthusiast
Posts: 601
Joined: Thu Dec 29, 2011 5:03 pm

Re: PureBasic 5.70 LTS beta 1 is out !

Post 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?
IdeasVacuum
Always Here
Always Here
Posts: 6380
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post by IdeasVacuum »

SetGadgetColor() for background works great. That's all I need and I think, what the most members wanted.
Yes indeed!
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
IdeasVacuum
Always Here
Always Here
Posts: 6380
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post 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?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
wombats
Enthusiast
Enthusiast
Posts: 601
Joined: Thu Dec 29, 2011 5:03 pm

Re: PureBasic 5.70 LTS beta 1 is out !

Post 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.
Last edited by wombats on Fri Jun 01, 2018 9:32 pm, edited 1 time in total.
Post Reply