4#include "MRPch/MRJson.h"
48 MRVIEWER_API
void setScaling(
float scale ) { scaling_ = scale; }
52 void drawCustomizeModal_();
54 void drawCustomizeTabsList_();
56 void drawCustomizeItemsList_();
58 void dashedLine_(
const Vector2f& org,
const Vector2f& dest,
float periodLength = 10.f,
float fillRatio = 0.5f,
const Color& color = Color::gray(),
float periodStart = 0.f );
59 void dashedRect_(
const Vector2f& leftTop,
const Vector2f& rightBottom,
float periodLength = 10.f,
float fillRatio = 0.5f,
const Color& color = Color::gray() );
67 int itemsListVersion_{ 1 };
68 MenuItemsListMigrations itemsListMigrations_;
70 float currentWidth_{ 0.0f };
71 bool dragDrop_ =
false;
72 bool openCustomizeFlag_ =
false;
73 int customizeTabNum_ = 0;
74 std::string searchString_;
75 std::vector<std::vector<std::string>> searchResult_;
Definition MRCameraOrientationPlugin.h:8
std::function< void(MenuItemsList &)> MenuItemsListMigration
Definition MRToolbar.h:10
std::vector< std::string > MenuItemsList
Definition MRRibbonMenuItem.h:9
std::map< int, MenuItemsListMigration > MenuItemsListMigrations
Definition MRToolbar.h:11