mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
ENH:Bold font for preview title
Change-Id: I75c9b1ad0b1b7b07650b2038dbbc101b5a4fb4d7
This commit is contained in:
parent
afc1395828
commit
aa59c93eb5
3 changed files with 38 additions and 5 deletions
|
@ -147,7 +147,12 @@ public:
|
|||
bool combo(const wxString& label, const std::vector<std::string>& options, int& selection); // Use -1 to not mark any option as selected
|
||||
bool undo_redo_list(const ImVec2& size, const bool is_undo, bool (*items_getter)(const bool, int, const char**), int& hovered, int& selected, int& mouse_wheel);
|
||||
void search_list(const ImVec2& size, bool (*items_getter)(int, const char** label, const char** tooltip), char* search_str,
|
||||
Search::OptionViewParameters& view_params, int& selected, bool& edited, int& mouse_wheel, bool is_localized);
|
||||
Search::OptionViewParameters &view_params,
|
||||
int & selected,
|
||||
bool & edited,
|
||||
int & mouse_wheel,
|
||||
bool is_localized);
|
||||
void bold_text(const std::string &str);
|
||||
void title(const std::string& str);
|
||||
|
||||
void disabled_begin(bool disabled);
|
||||
|
@ -204,6 +209,7 @@ private:
|
|||
static void clipboard_set(void* user_data, const char* text);
|
||||
|
||||
LastSliderStatus m_last_slider_status;
|
||||
ImFont* bold_font = nullptr;
|
||||
};
|
||||
|
||||
class IMTexture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue