97fcee0d0d
Fix usage of multiple Begin/End pair for the same window, handling of move in End() was stealing Active ID
ocornut2015-01-16 10:55:49 +00:00
ab8d2782c6
Merge remote-tracking branch 'upstream/master' into 2015-01-truetype
ocornut2015-01-15 18:07:44 +00:00
f61e8e6e26
Tooltip always auto-resize. May look into max-over-xx-seconds policy later.
ocornut2015-01-15 18:00:10 +00:00
2082487366
Allow SetNextWindowPos() to affect tooltips.
ocornut2015-01-15 17:47:53 +00:00
b3a208901a
Loading TTF file with stb_truetype. Broke setup API slightly. Font baked, packed with space for custom data. Embeds compressed ProggyClean.
ocornut2015-01-08 23:35:01 +00:00
4260195159
Revert "Reexported proggy_clean_13 in a 256x64 texture (instead of 256x128) and documented exact export parameters" Correct but cause problems because many people don't have 1 BPP PNG loaders
ocornut2015-01-07 18:59:44 +00:00
26fdf1655c
Fixed leak on shutdown (fixes#110) + possible uninitialized member.
ocornut2015-01-07 14:55:35 +00:00
c1251d2994
Examples: Fixed warnings for Clang
ocornut2015-01-06 17:43:23 +00:00
1c657564ac
Examples: Added STB_IMAGE_STATIC in examples to avoid conflicting implementation. Relate to #109ocornut2015-01-06 17:35:36 +00:00
98a38e24ab
Reexported proggy_clean_13 in a 256x64 texture (instead of 256x128) and documented exact export parameters
ocornut2015-01-05 11:13:02 +00:00
0505995193
Very minor code/comments tweaks.
ocornut2015-01-04 22:29:53 +00:00
4905ec46f1
Fixed hovering of child windows / combo boxes that extend beyond the root window limits.
ocornut2015-01-04 22:07:37 +00:00
3fe669f547
Failure in LogToFile() treated at an error (assert) in the absence of another type of error handling.
ocornut2015-01-04 21:37:49 +00:00
22c1d7eded
Renamed some color enums
ocornut2015-01-04 19:37:24 +00:00
39373b563b
Checkbox and Radio buttons activate on click-release to be consistent with other widgets and most UI
ocornut2015-01-04 19:23:36 +00:00
97d34271f8
Fix clipboard pasting into an InputText box not filtering the characters according to input box semantic (number, etc.)
ocornut2015-01-04 18:47:08 +00:00
a5f4108781
Activating widget bring parent window to front
ocornut2015-01-04 18:36:33 +00:00
3674d30e90
Fixed clicking on Combo box label.
ocornut2015-01-04 18:32:15 +00:00
2268b098e0
Avoid marking settings as dirty when window is marked unsaved + minor FocusWindow() optimisation
ocornut2015-01-04 18:23:30 +00:00
4bccc06933
Dragging outside area of a widget while it is active doesn't trigger hover on other widgets.
ocornut2015-01-04 18:12:30 +00:00
aa750d538d
Style editor: added an Output button to output colors to clipboard/tty
ocornut2014-12-30 12:08:33 +00:00
929f127d06
Added SliderInt2(), SliderInt3(), SliderInt4() for consistency
ocornut2014-12-30 11:54:04 +00:00
60b4389ac1
Empty label consistently remove the inner-padding normally preceeding the label.
ocornut2014-12-30 11:41:46 +00:00
a950df6655
Tightening default style (saving -2 pixels on each axis per widget)
ocornut2014-12-30 10:00:00 +00:00
409b1ac6b5
Log output \r\n under Windows so files are readable with Notepad
ocornut2014-12-29 20:41:27 +00:00
036a153cf4
Log depth padding relative to start depth. Tree node and headers looking better when logged to text. Added LogText().
ocornut2014-12-29 20:18:52 +00:00
886d954e3d
GetStyleColorName -> GetStyleColName for consistency with type name. Removed ImGuiStyleVar_ColumnsMinSpacing
ocornut2014-12-29 19:56:01 +00:00
39952d2362
Renamed GetTreeStateStorage() to GetStateStorage(). Columns storing floats instead of fixed point integers
ocornut2014-12-29 18:17:54 +00:00
1b25fa8169
Added LogFinish() to stop logging at an arbitrary point.
ocornut2014-12-29 18:13:41 +00:00
0796dc0dc1
Minor fix for cases of malformed .ini file (zero-terminating text file like it was before previous commit).
ocornut2014-12-29 18:05:22 +00:00
8994f2f1e4
Cleanup. Removed unnecessary calls to sqrtf(). Factoring bits into ImLoadFileToMemory(). Added index of static helpers.
ocornut2014-12-29 11:23:03 +00:00
e2fbbe0274
Factoring bits out of Begin() into a private CreateNewWindow() funciton
ocornut2014-12-28 17:54:02 +00:00
5b7ed5432e
CalcTextSize() default third parameter to false because it almost never makes sense to use it from the outside (may obsolete it)
ocornut2014-12-28 16:17:08 +00:00
bf3212c681
Taking notes of issues/todo
ocornut2014-12-28 16:09:19 +00:00
34728394ec
Fixed clipped ImGui::Combo not registering its size properly (was flickering when scrolling with combo on the edge of clipping region)
ocornut2014-12-26 12:38:13 +00:00
90351298d1
Renamed second parameter to Begin() to 'bool* p_opened' to be more self-explanatory. Added more comments on the use of Begin().
ocornut2014-12-22 13:29:39 +00:00
69f3d67d18
Preserve windows position on zero-sized display (minimized).
ocornut2014-12-22 02:14:25 +00:00