PureBasic 5.30 beta 9 released!
Re: PureBasic 5.30 beta 3 released!
Great. Thank you for all the hard work.
As a matter of interest when 5.30 is out of beta, will the online manual be based on version 5.3, 5.23LTS or both?
As a matter of interest when 5.30 is out of beta, will the online manual be based on version 5.3, 5.23LTS or both?
DE AA EB
Re: PureBasic 5.30 beta 3 released!
How would that work exactly ? You can already access it with regular API (glXGetProcAddress() and wglGetProcAddress()). Also I don't think it will work on OS X as we use Cocoa and you need objective C to access the context feature (https://developer.apple.com/library/mac ... rence.html). We can return the system context for all OS if you need it.grabiller wrote:Any chance to have access to the GetProcAddress (across platforms) from the OpenGLGadget for v5.30 ?
- grabiller
- Enthusiast
- Posts: 309
- Joined: Wed Jun 01, 2011 9:38 am
- Location: France - 89220 Rogny-Les-Septs-Ecluses
- Contact:
Re: PureBasic 5.30 beta 3 released!
I was thinking about something like this:Fred wrote:How would that work exactly ? You can already access it with regular API (glXGetProcAddress() and wglGetProcAddress()). Also I don't think it will work on OS X as we use Cocoa and you need objective C to access the context feature (https://developer.apple.com/library/mac ... rence.html). We can return the system context for all OS if you need it.grabiller wrote:Any chance to have access to the GetProcAddress (across platforms) from the OpenGLGadget for v5.30 ?
Code: Select all
; Prototype of PB cross-platform 'GetProcAddress' function
Prototype.i glGetProcAddress_func( func_name.s )
; Retrieve function, granted #0 is an instance of an OpenGLGadget
SetGadgetAttribute( 0, #PB_OpenGL_SetContext, #True ) ; Make sure we are binded to the Gadget Context
Global glGetProcAddress.glGetProcAddress_func = GetGadgetAttribute( 0, #PB_OpenGL_ProcAddressFunc )
; Using the function
Prototype glBindProgramPipeline_func( pipeline.l )
Global glBindProgramPipeline.glBindProgramPipeline_func = glGetProcAddress("glBindProgramPipeline")
Your job would then be to create an internal PB 'glGetProcAddress_func' that wraps glx/wgl and dlsym calls across platforms, and that get exposed to us, the users, through the GetGadgetAttribute( 0, #PB_OpenGL_ProcAddressFunc ) call.
guy rabiller | radfac founder / ceo | raafal.org
Re: PureBasic 5.30 beta 3 released!
Thanks for clarifying. It just seems too messy to me, you can still do a small wrapper in PB if needed (using OpenLibrary() on OS X and dedicated function on other OS).
Re: PureBasic 5.30 beta 1 released!
I second that. I think it would be great if the existing IDE tool triggers "Before Compile/Run" and "Before Create Executable" could be extended to have a checkbox that makes them use the pre-compiled output.CSHW89 wrote:Wow, great features in particular the new PREPROCESS compiler flag. But for simpler implementation of precompiler is it possible to insert a new tool trigger in the "tool-chain" like this?
Code: Select all
Run tools with trigger "Before Compile/Run" PREPROCESS Run tools with new trigger "After Preprocess" COMPILE Run tools with trigger "After Compile/Run" ...
Re: PureBasic 5.30 beta 3 released!
Oops tapatalk seems to be double posting but not. Anyway I was wondering with OpenGL do you need a DLL for that?
Re: PureBasic 5.30 beta 3 released!
Just wondering if the new opengl gadget will be added to the visual form editor soon, or at all?
Re: PureBasic 5.30 beta 3 released!
Will try to!julesd wrote:Just wondering if the new opengl gadget will be added to the visual form editor soon, or at all?
Re: PureBasic 5.30 beta 3 released!
@Polo
and the scintillagadget to
and the scintillagadget to

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: PureBasic 5.30 beta 3 released!
Ok I've added the OpenGLGadget.
Re: PureBasic 5.30 beta 3 released!
Why that was fast.
Just wanted to mention that PureBasic really seams fast and the web site is also really quick.
Everything about it is great.
Just wondering is there a way to change themes on the visual form editor, if not will this be put in place some day?
Just wanted to mention that PureBasic really seams fast and the web site is also really quick.
Everything about it is great.
Just wondering is there a way to change themes on the visual form editor, if not will this be put in place some day?
Re: PureBasic 5.30 beta 3 released!
@ julesd
It was a straight answer.
Polo earns his 'bread' elsewhere. He's also doing a great job with the Form.
It was a straight answer.
Polo earns his 'bread' elsewhere. He's also doing a great job with the Form.
DE AA EB
Re: PureBasic 5.30 beta 3 released!
Scintilla is now added as well.
You can switch between Windows 7, 8 and OS X in preferences if that's what you are talking about?
Which theme do you mean?julesd wrote:Just wondering is there a way to change themes on the visual form editor, if not will this be put in place some day?
You can switch between Windows 7, 8 and OS X in preferences if that's what you are talking about?
Re: PureBasic 5.30 beta 3 released!
I mean like color themes changing the colors, of buttons Black with white fonts, blue with red fonts color of panels matching buttons ect...
basically the ability to change background color and forground color of every gadget on the Form, and also the form as well.
I know you can change the background of the form already. But being able to do this for the gadgets as well, we can create color themes for our form and gadgets.
basically the ability to change background color and forground color of every gadget on the Form, and also the form as well.
I know you can change the background of the form already. But being able to do this for the gadgets as well, we can create color themes for our form and gadgets.