ProgressBar() handling of border size + storing border size in window structure (#503)

This commit is contained in:
ocornut
2016-01-24 11:00:37 +00:00
parent 9f6b1ace8f
commit 005b897d7d
2 changed files with 13 additions and 11 deletions

View File

@ -598,7 +598,8 @@ struct IMGUI_API ImGuiWindow
ImVec2 ScrollTarget; // target scroll position. stored as cursor position with scrolling canceled out, so the highest point is always 0.0f. (FLT_MAX for no change)
ImVec2 ScrollTargetCenterRatio; // 0.0f = scroll so that target position is at top, 0.5f = scroll so that target position is centered
bool ScrollbarX, ScrollbarY;
ImVec2 ScrollbarSizes; //
ImVec2 ScrollbarSizes;
float BorderSize;
bool Active; // Set to true on Begin()
bool WasActive;
bool Accessed; // Set to true when any widget access the current window