Re: [fpc-pascal] Announcement GLPT

2018-09-24 Thread Darius Blaszyk
Indeed, it resembles GLFW more, but also GHOST and fpGui to some extent. Even better, GLPT is still in development and it's 100% pascal. As far as I'm concerned it still malleable and should result in a mature alternative to any other library. On Tue, Sep 25, 2018 at 5:27 AM leledumbo via fpc-pasc

Re: [fpc-pascal] Announcement GLPT

2018-09-24 Thread leledumbo via fpc-pascal
> https://github.com/daar/GLPT This is more GLFW rather than GLUT. Good, I prefer it this way as I have much greater control with regards to the event handling. -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ ___ fpc-pascal maillist -

Re: [fpc-pascal] Announcement GLPT

2018-09-24 Thread Anthony Walter
Darius, Well the big main thing about glut, or sdl, or whatever bare bones framework used to create an OpenGL window are the following things: 1) Abstracting creating a window 2) Abstracting associating of a GL context with the widow 3) Abstracting the event loop 4) Abstracting reading mouse, key

Re: [fpc-pascal] Free Pascal Language Diagram

2018-09-24 Thread Graeme Geldenhuys
On 24/09/18 19:51, Anthony Walter wrote: > Letter links to another > diagram defining it as any of A-Z a-z _ My bad, sorry. I assumed "Letter" meant A-Z and a-z. I didn't click the link. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge

Re: [fpc-pascal] Announcement GLPT

2018-09-24 Thread Darius Blaszyk
Hi Anthony, Thanks for your tip! I just committed some code that removes the Classes, SysUtils and GL units from GLPT. This is indeed better and cleaner. As for your questions about supporting different GL versions. GLPT only creates a native GL context and hides some of the platform specific cod

Re: [fpc-pascal] Free Pascal Language Diagram

2018-09-24 Thread Anthony Walter
Regarding Identifier, in my page the diagram shows it must start with a Letter optionally followed by any Letter or Digit. Letter links to another diagram defining it as any of A-Z a-z _ This seems correct. I just tested and "const _ = 1" compiles fine using a lone _ as an identifier. Try left cl

[fpc-pascal] "Not initialized" warnings in 3.2

2018-09-24 Thread Martin Schreiber
I don't see this mail in archive so I send it again: Hi MSEide+MSEgui must compile without warnings and notes with Free Pascal default settings. In 3.2 there now are many new warnings because of setlength(). " procedure test(); var s1: string; ar1: array of integer; begin setlength(s1,10); se

Re: [fpc-pascal] Announcement GLPT

2018-09-24 Thread Anthony Walter
Darius, I read you message and checked the git repository. I didn't find the answers to a few questions I had by browsing you source, so I'll ask them here. Also, I have some comments. First questions: Do you support requesting context types, such as OpenGL ES 2.0 versus OpenGL 3.1? Do you suppo