Skip to content

Graphics library with no dependency on GLFW, built in text interpreter for the module and rich header-only interface.

License

Notifications You must be signed in to change notification settings

Jalileh/Public-Guimaster-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Public-Guimaster-Library

A library module and a framework that I wrote to challenge my C++ knowledge last year and to try my attempts at creating a language- and to rewrite my graphics library.

The issues it does solve is lessen C++ code involved with drawing a button or an input box for example, everything is interpreted and memory is allocated for these individual elements in case they are interactive and need to be handled when they fire, they are fetched through the gmapi interface e.g

 
      gmElements gme;

      gme.designateFamily(" y.10 top.35", {
         "v.checkbox name='SomeCheckBox'", "v.input input.size='500' name='SomeInput'" 
      });
 

    if (gm.awaitEnabled("SomeCheckBox"))
           .....

  astr widget_input_buffer = gm.awaitInput("SomeInput");
  widget_input_buffer.print();

  // or here youd like to run through a group of buttons and wait for anyone to be interacted with ( requires visuals to be registered with a group )
  if (astr pressed_Button_name = gm.any_pressed_in_group("store"))  
           .....     
   

screenshot

About

Graphics library with no dependency on GLFW, built in text interpreter for the module and rich header-only interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published