BlosSOM
Interactive dimensionality reduction on large datasets (EmbedSOM and FLOWER combined)
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
UiMenu Struct Reference

ImGUI handler for rendering main menu window. More...

#include <ui_menu.h>

Collaboration diagram for UiMenu:
Collaboration graph
[legend]

Public Member Functions

 UiMenu ()
 
void render (int fb_width, int fb_height, State &state)
 Renders main menu window, the plus button and currently opened menu item windows. More...
 
void close_menu ()
 Closes main menu window. More...
 

Public Attributes

UiLoader loader
 Open file dialog window handler. More...
 
UiSaver saver
 Save file dialog window handler. More...
 
UiScaler scaler
 Scale&transform data window handler. More...
 
UiTrainingSettings training_set
 Training settings window handler. More...
 
UiColorSettings color_set
 Color setting window handler. More...
 

Private Member Functions

void draw_menu_window (int fb_width, int fb_height)
 Draws main menu window. More...
 

Private Attributes

bool show_menu
 If the main menu window should be rendered. More...
 

Detailed Description

ImGUI handler for rendering main menu window.

It also holds handlers of all menu item windows.

Definition at line 36 of file ui_menu.h.

Constructor & Destructor Documentation

◆ UiMenu()

UiMenu::UiMenu ( )

Definition at line 31 of file ui_menu.cpp.

Member Function Documentation

◆ close_menu()

void UiMenu::close_menu ( )
inline

Closes main menu window.

Definition at line 61 of file ui_menu.h.

◆ draw_menu_window()

void UiMenu::draw_menu_window ( int  fb_width,
int  fb_height 
)
private

Draws main menu window.

Parameters
window_sizeSize of the main application window used for placement of the main menu window.

Definition at line 90 of file ui_menu.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ render()

void UiMenu::render ( int  fb_width,
int  fb_height,
State state 
)

Renders main menu window, the plus button and currently opened menu item windows.

Parameters
appApplication context.

Definition at line 66 of file ui_menu.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ color_set

UiColorSettings UiMenu::color_set

Color setting window handler.

Definition at line 47 of file ui_menu.h.

◆ loader

UiLoader UiMenu::loader

Open file dialog window handler.

Definition at line 39 of file ui_menu.h.

◆ saver

UiSaver UiMenu::saver

Save file dialog window handler.

Definition at line 41 of file ui_menu.h.

◆ scaler

UiScaler UiMenu::scaler

Scale&transform data window handler.

Definition at line 43 of file ui_menu.h.

◆ show_menu

bool UiMenu::show_menu
private

If the main menu window should be rendered.

Definition at line 73 of file ui_menu.h.

◆ training_set

UiTrainingSettings UiMenu::training_set

Training settings window handler.

Definition at line 45 of file ui_menu.h.


The documentation for this struct was generated from the following files: