mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Converted all Tabs to Spaces
Argh
This commit is contained in:
parent
e807d97089
commit
67f17a644c
@ -2442,8 +2442,8 @@ void SetCursorPos(const ImVec2& pos)
|
|||||||
|
|
||||||
ImVec2 GetCursorScreenPos()
|
ImVec2 GetCursorScreenPos()
|
||||||
{
|
{
|
||||||
ImGuiWindow* window = GetCurrentWindow();
|
ImGuiWindow* window = GetCurrentWindow();
|
||||||
return window->DC.CursorPos;
|
return window->DC.CursorPos;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetScrollPosHere()
|
void SetScrollPosHere()
|
||||||
|
4
imgui.h
4
imgui.h
@ -168,7 +168,7 @@ namespace ImGui
|
|||||||
float GetColumnWidth(int column_index = -1);
|
float GetColumnWidth(int column_index = -1);
|
||||||
ImVec2 GetCursorPos(); // cursor position relative to window position
|
ImVec2 GetCursorPos(); // cursor position relative to window position
|
||||||
void SetCursorPos(const ImVec2& pos); // "
|
void SetCursorPos(const ImVec2& pos); // "
|
||||||
ImVec2 GetCursorScreenPos(); // cursor position in screen space
|
ImVec2 GetCursorScreenPos(); // cursor position in screen space
|
||||||
void AlignFirstTextHeightToWidgets(); // call once if the first item on the line is a Text() item and you want to vertically lower it to match higher widgets.
|
void AlignFirstTextHeightToWidgets(); // call once if the first item on the line is a Text() item and you want to vertically lower it to match higher widgets.
|
||||||
float GetTextLineSpacing();
|
float GetTextLineSpacing();
|
||||||
float GetTextLineHeight();
|
float GetTextLineHeight();
|
||||||
@ -252,7 +252,7 @@ namespace ImGui
|
|||||||
int GetFrameCount();
|
int GetFrameCount();
|
||||||
const char* GetStyleColorName(ImGuiCol idx);
|
const char* GetStyleColorName(ImGuiCol idx);
|
||||||
void GetDefaultFontData(const void** fnt_data, unsigned int* fnt_size, const void** png_data, unsigned int* png_size);
|
void GetDefaultFontData(const void** fnt_data, unsigned int* fnt_size, const void** png_data, unsigned int* png_size);
|
||||||
ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, const bool hide_text_after_hash = true);
|
ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, const bool hide_text_after_hash = true);
|
||||||
|
|
||||||
}; // namespace ImGui
|
}; // namespace ImGui
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user