mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 20:51:06 +01:00 
			
		
		
		
	Remove trailing white spaces.
This commit is contained in:
		| @@ -447,7 +447,7 @@ struct ImGuiWindowSettings | ||||
|  | ||||
| struct ImGuiSettingsHandler | ||||
| { | ||||
|     const char* TypeName;   // Short description stored in .ini file. Disallowed characters: '[' ']'   | ||||
|     const char* TypeName;   // Short description stored in .ini file. Disallowed characters: '[' ']' | ||||
|     ImGuiID     TypeHash;   // == ImHash(TypeName, 0, 0) | ||||
|     void*       (*ReadOpenFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, const char* name);              // Read: Called when entering into a new ini entry e.g. "[Window][Name]" | ||||
|     void        (*ReadLineFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, void* entry, const char* line); // Read: Called for every line of text within an ini entry | ||||
| @@ -650,7 +650,7 @@ struct ImGuiContext | ||||
|     ImGuiInputSource        NavInputSource;                     // Keyboard or Gamepad mode? | ||||
|     ImRect                  NavScoringRectScreen;               // Rectangle used for scoring, in screen space. Based of window->DC.NavRefRectRel[], modified for directional navigation scoring. | ||||
|     int                     NavScoringCount;                    // Metrics for debugging | ||||
|     ImGuiWindow*            NavWindowingTarget;                 // When selecting a window (holding Menu+FocusPrev/Next, or equivalent of CTRL-TAB) this window is temporarily displayed front-most.  | ||||
|     ImGuiWindow*            NavWindowingTarget;                 // When selecting a window (holding Menu+FocusPrev/Next, or equivalent of CTRL-TAB) this window is temporarily displayed front-most. | ||||
|     float                   NavWindowingHighlightTimer; | ||||
|     float                   NavWindowingHighlightAlpha; | ||||
|     bool                    NavWindowingToggleLayer; | ||||
| @@ -835,7 +835,7 @@ enum ImGuiItemFlags_ | ||||
| { | ||||
|     ImGuiItemFlags_AllowKeyboardFocus           = 1 << 0,  // true | ||||
|     ImGuiItemFlags_ButtonRepeat                 = 1 << 1,  // false    // Button() will return true multiple times based on io.KeyRepeatDelay and io.KeyRepeatRate settings. | ||||
|     ImGuiItemFlags_Disabled                     = 1 << 2,  // false    // FIXME-WIP: Disable interactions but doesn't affect visuals. Should be: grey out and disable interactions with widgets that affect data + view widgets (WIP)  | ||||
|     ImGuiItemFlags_Disabled                     = 1 << 2,  // false    // FIXME-WIP: Disable interactions but doesn't affect visuals. Should be: grey out and disable interactions with widgets that affect data + view widgets (WIP) | ||||
|     ImGuiItemFlags_NoNav                        = 1 << 3,  // false | ||||
|     ImGuiItemFlags_NoNavDefaultFocus            = 1 << 4,  // false | ||||
|     ImGuiItemFlags_SelectableDontClosePopup     = 1 << 5,  // false    // MenuItem/Selectable() automatically closes current Popup window | ||||
| @@ -1018,7 +1018,7 @@ public: | ||||
|     ImRect      MenuBarRect() const                     { float y1 = Pos.y + TitleBarHeight(); return ImRect(Pos.x, y1, Pos.x + SizeFull.x, y1 + MenuBarHeight()); } | ||||
| }; | ||||
|  | ||||
| // Backup and restore just enough data to be able to use IsItemHovered() on item A after another B in the same window has overwritten the data.   | ||||
| // Backup and restore just enough data to be able to use IsItemHovered() on item A after another B in the same window has overwritten the data. | ||||
| struct ImGuiItemHoveredDataBackup | ||||
| { | ||||
|     ImGuiID                 LastItemId; | ||||
| @@ -1159,7 +1159,7 @@ namespace ImGui | ||||
| // ImFontAtlas internals | ||||
| IMGUI_API bool              ImFontAtlasBuildWithStbTruetype(ImFontAtlas* atlas); | ||||
| IMGUI_API void              ImFontAtlasBuildRegisterDefaultCustomRects(ImFontAtlas* atlas); | ||||
| IMGUI_API void              ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* font_config, float ascent, float descent);  | ||||
| IMGUI_API void              ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* font_config, float ascent, float descent); | ||||
| IMGUI_API void              ImFontAtlasBuildPackCustomRects(ImFontAtlas* atlas, void* spc); | ||||
| IMGUI_API void              ImFontAtlasBuildFinish(ImFontAtlas* atlas); | ||||
| IMGUI_API void              ImFontAtlasBuildMultiplyCalcLookupTable(unsigned char out_table[256], float in_multiply_factor); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user