Skip to content
TechnologicalTurtle edited this page Jul 14, 2026 · 15 revisions

LibGui::Window

LibGui::Window is a wrapper for GLFWwindow*, there are two ways to initialize it:

Initialization

Initilization window

This is the first window you create using the Init() method, it's also default window for all Objects (and other classes).

//                                 initialize library| name of window   | size of window
LibGui::Window MyInitializationWindow(LibGui::Init(), "My Initialization window",{600, 400});

Normal window

All windows after creation of Initialization windows should be made this way.

//                              name of window  |  size of window
LibGui::Window MyNormalWindow("My normal window", {600, 400});

Properties

  • MouseCursor cursor <- handles mouse input for this window
  • KeyTracker key_tracker <- tracks

Clone this wiki locally