Author Topic: imGUI for GLBasic  (Read 2040 times)

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5116
  • O Rly?
    • View Profile
imGUI for GLBasic
« on: 2021-Feb-14 »
Hey guys,

i'm working on a imGUI implementation for GLBasic!
It works, and with some tweeking it can be multiplatform as well.
You can use the normal GLB-Stuff and put the GUI on top of it.

Code for this Demo example:
Code: (glbasic) [Select]


    PRINT "Hello World!", 10, 10





This DEMO is part of imGUI. From now on u can use the c/c++ part right away.
The other things need to wrapped into GLB.

Projects->Options->Add to the Ink-Field: -L"imgui"

Attached a screen and the project to test :)

You have to install the Headerfiles for GLBasic!
Use the ESC-Key to exit the program, if you close with the X it can stay in the background... have to sort this bug out :/
« Last Edit: 2021-Feb-14 by Schranz0r »
I <3 DGArray's :D

AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline SnooPI

  • Dr. Type
  • ****
  • Posts: 421
    • View Profile
Re: imGUI for GLBasic
« Reply #1 on: 2021-Feb-16 »
It looks cool Schranz0r! 
I haven't tested it yet (I'm tired) but why don't you make a wrapper in the form of a library instead?
It seems to me that then it would be easier to import the functions with the GLB IMPORT function... no?  O_O

I would look at this more carefully once tested completely... good job!  :good:

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1810
    • View Profile
Re: imGUI for GLBasic
« Reply #2 on: 2021-Feb-16 »
Looks super!
Speccy-48k, Speccy-128k, Amigas, PCs

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4450
    • View Profile
    • FUED
Re: imGUI for GLBasic
« Reply #3 on: 2021-Feb-18 »
Looks superb!

Offline Marmor

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 936
  • 96A285CC
    • View Profile
    • my youtube channel
Re: imGUI for GLBasic
« Reply #4 on: 2021-Feb-20 »
looks cool <3