mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-06 06:25:54 +01:00
feat: add font size slider to main menu
This commit is contained in:
parent
6e66d8e850
commit
dfeb526648
4
main.cpp
4
main.cpp
@ -4687,6 +4687,10 @@ void DrawMenu() {
|
||||
}
|
||||
ColoredSeparator();
|
||||
|
||||
// --- 字体大小调节滑块 ---
|
||||
ModernSlider((const char*)u8"字体大小", &g_scale, 0.5f, 2.5f);
|
||||
ImGui::Spacing();
|
||||
|
||||
// ===============================================
|
||||
// 基址 & 监控面板(可折叠,平板适配竖向布局)
|
||||
// ===============================================
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user