df276b82da
Updated FAQ for usage of ## to display empty label
ocornut2015-05-19 23:33:55 +01:00
30a0193d73
Merge pull request #229 from gordonmcshane/osx-example-fix
omar2015-05-19 10:36:23 +01:00
e43c5cd3d3
InputText: Fixed cursor generating a zero-width wireframe rectangle turning into a division by zero.
ocornut2015-05-18 23:42:12 +01:00
92ded00fd9
Merge remote-tracking branch 'origin' into 2015-05-menus
ocornut2015-05-18 23:32:32 +01:00
6ee65fc5af
Add conditional compilation of forward compat. glfw window hint to fix crash on later versions of OSX
Gordon McShane2015-05-18 18:26:16 -04:00
da53caf310
Moved ImVector<> after the main block (#219)
ocornut2015-05-18 22:33:43 +01:00
b6f3c97e3b
Examples: DirectX11: explicitly set rasterizer state.
ocornut2015-05-18 21:38:17 +01:00
0cdd050cd7
WIP Menus: fixed recycling menu level during the same frame (#126)
ocornut2015-05-18 21:26:46 +01:00
6da8a77fa3
WIP Menus: tidying up, fixed hovering in parent popup menu item from child popup (individual popups acts as hovering barrier) (#126)
ocornut2015-05-18 19:41:02 +01:00
9bdacaf08d
WIP Menus: click again to toggle + allow hovering in same menuset even outside of a menubar (#126)
ocornut2015-05-18 19:12:36 +01:00
75ec4841df
WIP Menus: menu opens on press (not release), uses popup style hovering, allow switch between menus at parent site (#126)
ocornut2015-05-18 18:44:15 +01:00
e674df8101
Merge remote-tracking branch 'origin' into 2015-05-menus
ocornut2015-05-18 16:45:55 +01:00
097fe51f97
Hovering require to hover same child window. Reverted 860cf578f5 (December 3), replaced by a flag resize grip.
ocornut2015-05-18 16:42:55 +01:00
060f879816
Tweak internal ButtonBehavior() to ease passing extra options
ocornut2015-05-18 16:39:37 +01:00
7184de24b8
WIP Menus: scrolling section of the window is clipped by the menu bar (#126)
ocornut2015-05-18 15:54:56 +01:00
a17c930d1f
WIP Menus: Added example menu, move app examples to a sub-menu (#126)
ocornut2015-05-17 23:19:05 +01:00
09abf11e56
WIP Menus: BeginMenuBar() return false on window without a menu bar (#126)
ocornut2015-05-17 23:13:53 +01:00
4bd43bdb35
Renamed ImGuiWindowFlags_Menu to ImGuiWindowFlags_ChildMenu
ocornut2015-05-17 22:28:57 +01:00
7f3f3891c0
WIP Menus: fixed case where zero-sized display (e.g. minimised window) clips popups/menus and asserted (#126)
ocornut2015-05-17 22:15:40 +01:00
88d7b3de23
WIP Menus: fixed hovering handling of menus from menu bars (#126)
ocornut2015-05-17 17:21:49 +01:00
f2b738648f
WIP Menus: menu bars. Still inconsistency with hovering scheme. Will probably follow what Windows does. (#126).
ocornut2015-05-17 17:13:45 +01:00
e0594340ff
Moved internal window flags to higher bit-count
ocornut2015-05-17 16:29:00 +01:00
6251d37987
WIP Menus: further fixes for resizing (#126)
ocornut2015-05-17 15:48:56 +01:00
f44526cc45
Selectable(): horizontal filling not declared to ItemSize() so Selectable(),SameLine() works and we can best auto-fit the window
ocornut2015-05-17 13:09:46 +01:00
ecda785cbc
Popups: fix to allow child popups to be opened from a normal window without an intermediate popup window.
ocornut2015-05-15 23:57:43 +01:00
4250357ed2
Selectable: using window->WindowPadding() to work within non-padded child windows
ocornut2015-05-15 22:39:52 +01:00
79a95256e8
Window: fixed auto-fit calculation mismatch of whether a scrollbar will be added by maximum height clamping.
ocornut2015-05-15 22:36:31 +01:00
c1b55991c0
Window: fixed child window sizing lag + minimum size clamping lag
ocornut2015-05-15 21:40:45 +01:00
70f83a3a65
Popups: child popups (menus) hidden on their first frame the same way as regular popup
ocornut2015-05-15 20:35:28 +01:00
e9b6e437eb
Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering
ocornut2015-05-15 17:33:04 +01:00
1eafe86627
Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut2015-05-15 17:31:56 +01:00
81937d34a8
Popups: made OpenPopup()/close loops reclaim focus and update popup position. It is generally a mistake but it's now more easy to understand
ocornut2015-05-15 17:29:42 +01:00
d9b2a90773
Popups: fixed child windows within popups vs handling of sub menus. Added examples.
ocornut2015-05-15 11:30:51 +01:00
748072c045
Popups: identifying popups by their id to avoid conflict when recycling popup durnig same same (CloseCurrentPopup followed by Open+Begin)
ocornut2015-05-14 15:15:17 +01:00
5df542c3c0
ImFontAtlas: doesn't clear input data, left to the application. (#224)
ocornut2015-05-12 15:16:12 +01:00
4b088ec7e8
ImFontAtlas: Fix toward allowing to add extra font without clearing existing one (need to comment out ClearInputData) (#224)
ocornut2015-05-12 15:10:36 +01:00
9d9cf31972
ImFontAtlas: added ClearFonts(), making the different clear funcs more explicit (#224)
ocornut2015-05-12 14:53:29 +01:00
ad79db32c7
Window title text centering tweaks, RenderTextClipped() now has different args for pos_max and clip_max #222ocornut2015-05-12 14:02:45 +01:00
356a37edcf
Added window title text horizontal alignment option (#222),, ImGuiAlign_ type for future use.
ocornut2015-05-12 11:49:24 +01:00
03720acaff
Merge remote-tracking branch 'origin' into 2015-05-menus
ocornut2015-05-12 10:11:14 +01:00
9be3319653
Tweaks, comments around ImFontAtlas
ocornut2015-05-12 09:08:47 +01:00
9e307d60e3
Merge remote-tracking branch 'origin' into 2015-05-menus
ocornut2015-05-11 21:45:13 +01:00
515e0c6122
Cleanup, merged duplicate code into a function
ocornut2015-05-11 21:44:50 +01:00
317744489f
WIP Menus: sub-menu arrow alignment take account of extension by other widgets (#126)
ocornut2015-05-11 20:58:07 +01:00
5082182790
Merge remote-tracking branch 'origin' into 2015-05-menus
ocornut2015-05-11 20:39:19 +01:00
ba7a4fc034
WIP Menus: minor cleanup using a ImGuiSimpleColumns helper type (#126)
ocornut2015-05-11 20:34:52 +01:00
7fb704d308
WIP intermediary branch commit for menus, submenus (some large inconsistencies remaining in API + need cleanup) (#126)
ocornut2015-05-11 19:52:02 +01:00
79198fd6a5
Default item width for AlwaysAutoResize windows expressed as a factor of font height
ocornut2015-05-11 19:47:01 +01:00
8ac9036db3
Merge pull request #214 from ghassanpl/upstream
omar2015-05-11 09:26:00 +01:00
4913668ea4
Fixed implicit conversion of NULL constant to bool (fix#216)
ocornut2015-05-11 09:23:29 +01:00
bb2d3a8b41
* make sure letter-key shortcuts have ONLY the control key pressed (fixes bug for AltGr->Ctrl+Alt on windows)
ghassanpl2015-05-10 22:29:24 +02:00
6c1084eaa1
Shutdown() test for g.IO.Fonts not being NULL to allow workarounds in case of using multiple contexts #207ocornut2015-05-09 10:27:03 +01:00
e7ffcea33d
Removed style.AutoFitPadding, using style.WindowPadding makes more sense (the default values were already the same).
ocornut2015-05-03 14:26:47 +01:00
b1b23d6ca9
Autofit cancel out one worth of vertical spacing for correct symmetry (group and tooltip already do that)
ocornut2015-05-03 13:52:53 +01:00
0ca7926b94
Popup auto-border doesn't spread to its childs #197ocornut2015-05-03 13:04:43 +01:00
a3a10d4a3c
Popup have borders by default #197 attenuated border alpha in default theme
ocornut2015-05-03 12:17:53 +01:00
47e875314b
Plot: overlay label clipped within frame when bigger than frame
ocornut2015-05-03 11:32:39 +01:00
f00662a5ad
Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering
ocornut2015-05-02 22:20:48 +01:00
08fd6a7e7d
Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut2015-05-02 22:20:14 +01:00
d84b5737a6
Popups, Tooltips: fit within display. Hidden during size calculation. Fixed popups flicker when changing size.
ocornut2015-05-02 18:22:46 +01:00
99e315d2b2
Fix for width of child windows with scrollbar (broken 376a6a5af0)
ocornut2015-05-02 18:14:24 +01:00