mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-12 19:39:10 +08:00
FIX:add tooltip(const std::string &label, float wrap_width) api
jira: none Change-Id: I2372f57177a362f540e509747552a4a27f23fe8f
This commit is contained in:
parent
298d4acee0
commit
9d690cddd6
@ -1138,6 +1138,10 @@ void ImGuiWrapper::tooltip(const char *label, float wrap_width)
|
|||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ImGuiWrapper::tooltip(const std::string &label, float wrap_width) {
|
||||||
|
tooltip(label.c_str(), wrap_width);
|
||||||
|
}
|
||||||
|
|
||||||
void ImGuiWrapper::tooltip(const wxString &label, float wrap_width)
|
void ImGuiWrapper::tooltip(const wxString &label, float wrap_width)
|
||||||
{
|
{
|
||||||
ImGui::BeginTooltip();
|
ImGui::BeginTooltip();
|
||||||
|
@ -168,6 +168,7 @@ public:
|
|||||||
void text_wrapped(const std::string &label, float wrap_width);
|
void text_wrapped(const std::string &label, float wrap_width);
|
||||||
void text_wrapped(const wxString &label, float wrap_width);
|
void text_wrapped(const wxString &label, float wrap_width);
|
||||||
void tooltip(const char *label, float wrap_width);
|
void tooltip(const char *label, float wrap_width);
|
||||||
|
void tooltip(const std::string &label, float wrap_width);
|
||||||
void tooltip(const wxString &label, float wrap_width);
|
void tooltip(const wxString &label, float wrap_width);
|
||||||
void filament_group(const std::string &filament_type, const char *hex_color, unsigned char filament_id, float align_width);
|
void filament_group(const std::string &filament_type, const char *hex_color, unsigned char filament_id, float align_width);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user