ImVec2GetWindowPos();// you should rarely need/care about the window position, but it can be useful if you want to use your own drawing
voidSetWindowPos(ImVec2pos);// unchecked
voidSetWindowPos(constImVec2&pos);// unchecked
ImVec2GetWindowSize();
ImVec2GetWindowContentRegionMin();
ImVec2GetWindowContentRegionMax();
@ -149,7 +149,7 @@ namespace ImGui
floatGetItemWidth();
voidPushAllowKeyboardFocus(boolv);
voidPopAllowKeyboardFocus();
voidPushStyleColor(ImGuiColidx,ImVec4col);
voidPushStyleColor(ImGuiColidx,constImVec4&col);
voidPopStyleColor();
// Layout
@ -161,8 +161,8 @@ namespace ImGui
floatGetColumnOffset(intcolumn_index=-1);
voidSetColumnOffset(intcolumn_index,floatoffset);
floatGetColumnWidth(intcolumn_index=-1);
ImVec2GetCursorPos();// cursor position relative to window position
voidSetCursorPos(ImVec2p);
ImVec2GetCursorPos();// cursor position is relative to window position
voidSetCursorPos(constImVec2&pos);// "
voidAlignFirstTextHeightToWidgets();// call once if the first item on the line is a Text() item and you want to vertically lower it to match higher widgets.
floatGetTextLineSpacing();
floatGetTextLineHeight();
@ -176,6 +176,7 @@ namespace ImGui
// Widgets
voidText(constchar*fmt,...);
voidTextV(constchar*fmt,va_listargs);
voidTextColored(constImVec4&col,constchar*fmt,...);// shortcut to doing PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
voidTextUnformatted(constchar*text,constchar*text_end=NULL);// doesn't require null terminated string if 'text_end' is specified. no copy done to any bounded stack buffer, better for long chunks of text.
voidLabelText(constchar*label,constchar*fmt,...);
voidBulletText(constchar*fmt,...);
@ -230,11 +231,11 @@ namespace ImGui
// Utilities
voidSetTooltip(constchar*fmt,...);// set tooltip under mouse-cursor, typically use with ImGui::IsHovered(). (currently no contention handling, last call win)
voidSetNewWindowDefaultPos(ImVec2pos);// set position of window that do
voidSetNewWindowDefaultPos(constImVec2&pos);// set position of window that do
boolIsHovered();// was the last item active area hovered by mouse?
ImVec2GetItemBoxMin();// get bounding box of last item
ImVec2GetItemBoxMax();// get bounding box of last item
boolIsClipped(ImVec2item_size);// to perform coarse clipping on user's side (as an optimisation)
boolIsClipped(constImVec2&item_size);// to perform coarse clipping on user's side (as an optimisation)
boolIsKeyPressed(intkey_index,boolrepeat=true);// key_index into the keys_down[512] array, imgui doesn't know the semantic of each entry