mirror of
https://github.com/ocornut/imgui.git
synced 2026-06-21 22:06:31 +00:00
Tables: fixes incorrect forward declaration for a missing function + fixed tooltip comment. (#9445, #9448)
This commit is contained in:
@@ -3236,7 +3236,6 @@ namespace ImGui
|
|||||||
|
|
||||||
// Tables: Settings
|
// Tables: Settings
|
||||||
IMGUI_API void TableLoadSettings(ImGuiTable* table);
|
IMGUI_API void TableLoadSettings(ImGuiTable* table);
|
||||||
IMGUI_API void TableLoadSettingsForColumns(ImGuiTable* table);
|
|
||||||
IMGUI_API void TableSaveSettings(ImGuiTable* table);
|
IMGUI_API void TableSaveSettings(ImGuiTable* table);
|
||||||
IMGUI_API void TableResetSettings(ImGuiTable* table);
|
IMGUI_API void TableResetSettings(ImGuiTable* table);
|
||||||
IMGUI_API ImGuiTableSettings* TableGetBoundSettings(ImGuiTable* table);
|
IMGUI_API ImGuiTableSettings* TableGetBoundSettings(ImGuiTable* table);
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ Index of this file:
|
|||||||
// - TableSetupScrollFreeze() user submit scroll freeze information (optional)
|
// - TableSetupScrollFreeze() user submit scroll freeze information (optional)
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// - TableUpdateLayout() [Internal] followup to BeginTable(): setup everything: widths, columns positions, clipping rectangles. Automatically called by the FIRST call to TableNextRow() or TableHeadersRow().
|
// - TableUpdateLayout() [Internal] followup to BeginTable(): setup everything: widths, columns positions, clipping rectangles. Automatically called by the FIRST call to TableNextRow() or TableHeadersRow().
|
||||||
// | TableLoadSettingsForColumns() - on settings load
|
|
||||||
// | TableApplyQueuedRequests() - apply queued resizing/reordering/hiding requests
|
// | TableApplyQueuedRequests() - apply queued resizing/reordering/hiding requests
|
||||||
// | - TableSetColumnWidth() - apply resizing width (for mouse resize, often requested by previous frame)
|
// | - TableSetColumnWidth() - apply resizing width (for mouse resize, often requested by previous frame)
|
||||||
// | - TableUpdateColumnsWeightFromWidth()- recompute columns weights (of stretch columns) from their respective width
|
// | - TableUpdateColumnsWeightFromWidth()- recompute columns weights (of stretch columns) from their respective width
|
||||||
|
|||||||
@@ -1577,7 +1577,7 @@ bool ImGui::TextLinkOpenURL(const char* label, const char* url)
|
|||||||
bool pressed = TextLink(label);
|
bool pressed = TextLink(label);
|
||||||
if (pressed && g.PlatformIO.Platform_OpenInShellFn != NULL)
|
if (pressed && g.PlatformIO.Platform_OpenInShellFn != NULL)
|
||||||
g.PlatformIO.Platform_OpenInShellFn(&g, url);
|
g.PlatformIO.Platform_OpenInShellFn(&g, url);
|
||||||
SetItemTooltip(LocalizeGetMsg(ImGuiLocKey_OpenLink_s), url); // It is more reassuring for user to _always_ display URL when we same as label
|
SetItemTooltip(LocalizeGetMsg(ImGuiLocKey_OpenLink_s), url); // It is more reassuring for user to _always_ display URL when it is the same as the label.
|
||||||
if (BeginPopupContextItem())
|
if (BeginPopupContextItem())
|
||||||
{
|
{
|
||||||
if (MenuItem(LocalizeGetMsg(ImGuiLocKey_CopyLink)))
|
if (MenuItem(LocalizeGetMsg(ImGuiLocKey_CopyLink)))
|
||||||
|
|||||||
Reference in New Issue
Block a user