ENH:adjust assembly view toolbar UI (STUDIO-1213)

https://jira.bambooolab.com/browse/STUDIO-1213

Change-Id: I3b17b37a229348d347f56d0672f2c258fbeb91e1
This commit is contained in:
liz.li authored and Lane.Wei committed 2023-04-17 15:39:02 +08:00
1 parent ffc4e7080c
commit 9b47255bc1
5 files changed
+98 -38

No files matched your search

+18 -1
View File
@@ -1669,7 +1669,24 @@ void ImGuiWrapper::bold_text(const std::string& str)
text(str);
}
}
bool ImGuiWrapper::push_bold_font() {
if (bold_font) {
ImGui::PushFont(bold_font);
return true;
}
else {
return false;
}
}
bool ImGuiWrapper::pop_bold_font() {
if (bold_font) {
ImGui::PopFont();
return true;
}
else {
return false;
}
}
bool ImGuiWrapper::push_font_by_name(std::string font_name)
{
auto sys_font = im_fonts_map.find(font_name);