GLOverlayUI API Reference
Mainframe : the wxWidget wrapper
Mainframe application layout Controler.
- Copyright
(C) 2025 Umar Ba jUmarB@protonmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
-
class GLOverlayUI_APP : public wxApp
- #include <mainframe.H>
Handle Global Application state.
Public Functions
-
virtual bool OnInit(void)
Entry Of the App.
-
virtual bool OnInit(void)
-
class MainFrame : public wxFrame
- #include <mainframe.H>
Responsible about main frame layout GLOverlayUI application.
Public Functions
-
void define_layout(void)
define the layout UI
-
virtual int dispatch_layout(void)
Calculate how the layout rendering must be shared between panels.
- Returns:
int - (canvaspanel size | control panel size)
-
MainFrame(std::basic_string<char> application_title)
CanvasDriver instance.
— UI Event —
MainFrame class Constructor
- Parameters:
application_title – - The Application title
setup the menu bar
Private Members
-
wxIcon _app_icon
-
std::basic_string<char> _app_status_text
Application Title.
-
std::basic_string<char> _app_title
-
CanvasDriver *_canvas_driver
Slider component
-
wxCheckBox *_checkbox
Main box sizer split the layout in half.
-
wxBoxSizer *_main_boxsizer
Application icon in .ico format.
-
std::map<std::basic_string<char>, wxPanel*> _panels
Application status text.
-
wxSlider *_slider
Checkbox component
-
void define_layout(void)