Refactor, Vsync, FFmpeg fixes
This commit is contained in:
18
src/imgui.h
18
src/imgui.h
@@ -975,8 +975,8 @@ IMGUI_ITEM(IMGUI_PLAYBACK,
|
||||
self.tooltip = "Opens the playback menu, for configuring playback settings.",
|
||||
self.popup = "## Playback Popup",
|
||||
self.popupType = IMGUI_POPUP_BY_ITEM,
|
||||
self.popupSize = {150, 0},
|
||||
self.isSizeToText = true
|
||||
self.isSizeToText = true,
|
||||
self.isSameLine = true
|
||||
);
|
||||
|
||||
IMGUI_ITEM(IMGUI_ALWAYS_LOOP,
|
||||
@@ -991,6 +991,20 @@ IMGUI_ITEM(IMGUI_CLAMP_PLAYHEAD,
|
||||
self.isSizeToText = true
|
||||
);
|
||||
|
||||
IMGUI_ITEM(IMGUI_SETTINGS,
|
||||
self.label = "&Settings",
|
||||
self.tooltip = "Opens the setting menu, for configuring general program settings.",
|
||||
self.popup = "## Settings Popup",
|
||||
self.popupType = IMGUI_POPUP_BY_ITEM,
|
||||
self.isSizeToText = true
|
||||
);
|
||||
|
||||
IMGUI_ITEM(IMGUI_VSYNC,
|
||||
self.label = "&Vsync",
|
||||
self.tooltip = "Toggle vertical sync; synchronizes program framerate with your monitor's refresh rate.",
|
||||
self.isSizeToText = true
|
||||
);
|
||||
|
||||
IMGUI_ITEM(IMGUI_ANIMATIONS,
|
||||
self.label = "Animations",
|
||||
self.flags = ImGuiWindowFlags_NoScrollbar |
|
||||
|
Reference in New Issue
Block a user