omar 7 gadi atpakaļ
vecāks
revīzija
6b168b43ff
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 1 1
      TODO.txt
  2. 2 2
      imgui.h

+ 1 - 1
TODO.txt

@@ -24,7 +24,7 @@ It's mostly a bunch of personal notes, probably incomplete. Feel free to query i
  - window: increase minimum size of a window with menus or fix the menu rendering so that it doesn't look odd.
  - window: double-clicking on title bar to minimize isn't consistent, perhaps move to single-click on left-most collapse icon?
  - window: expose contents size. (#1045)
- - window: resize from borders and/or all corners. (#822)
+ - window: resize from borders: support some form of outer padding to make it easier to grab borders. (#822)
  - window: GetWindowSize() returns (0,0) when not calculated? (#1045)
  - window: refactor IsWindowFocused(), merge all three existing variants, add flags, similar to #1382.
  - window: freeze window flag: if not focused/hovered, return false, render with previous ImDrawList. and/or reduce refresh rate. 

+ 2 - 2
imgui.h

@@ -756,8 +756,8 @@ enum ImGuiMouseCursor_
     ImGuiMouseCursor_Arrow = 0,
     ImGuiMouseCursor_TextInput,         // When hovering over InputText, etc.
     ImGuiMouseCursor_Move,              // Unused
-    ImGuiMouseCursor_ResizeNS,          // Unused
-    ImGuiMouseCursor_ResizeEW,          // When hovering over a column
+    ImGuiMouseCursor_ResizeNS,          // When hovering over an horizontal border
+    ImGuiMouseCursor_ResizeEW,          // When hovering over a vertical border or a column
     ImGuiMouseCursor_ResizeNESW,        // When hovering over the bottom-left corner of a window
     ImGuiMouseCursor_ResizeNWSE,        // When hovering over the bottom-right corner of a window
     ImGuiMouseCursor_Count_