Updated behavior navigator pannel and menu. Updated icons.

This commit is contained in:
brunoherbelin
2020-05-29 00:05:26 +02:00
parent 59e1271259
commit f02c90be3e
14 changed files with 398 additions and 120 deletions

View File

@@ -30,24 +30,25 @@ public:
class Navigator
{
// geometry left bar
float width;
float pannel_width;
float height;
float sourcelist_height;
float padding_width;
// geometry left bar & pannel
float width_;
float height_;
float pannel_width_;
float sourcelist_height_;
float padding_width_;
// top items : group of buttons openning a pannel
int selected_source_index;
// behavior pannel
bool pannel_visible_;
bool pannel_stick_;
bool selected_button[NAV_COUNT];
void clearSelection();
void toggle(int index);
void clearButtonSelection();
void applyButtonSelection(int index);
// side pannels
void RenderSourcePannel(Source *s);
void RenderNewPannel();
void RenderMainPannel();
void RenderNewPannel();
int new_source_type_;
char new_source_filename_[2048];
@@ -56,11 +57,12 @@ class Navigator
public:
Navigator();
void toggleMenu();
bool pannelVisible() { return pannel_visible_; }
void hidePannel();
void showPannelSource(int index);
void Render();
void toggleMenu();
void Render();
};
class ToolBox