This website requires JavaScript.
13fab08cdb
Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut
2015-04-08 20:37:18 +01:00
b9dd7c65ab
Update README.md
omar
2015-04-07 20:09:59 +01:00
241ccb46d5
Update README.txt + screenshot
ocornut
2015-04-07 19:55:32 +01:00
3c6257b8b9
Fixed IsRootWindowOrAnyChildFocused() crashing if no window has focus (introduced yesterday in c38c54af52 )
ocornut
2015-04-07 14:04:43 +01:00
6e99688fa7
Fixed user-facing version of IsItemHovered() ignoring overlapping windows
ocornut
2015-04-07 14:03:17 +01:00
323ae8326e
Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut
2015-04-07 13:51:01 +01:00
d692286862
Added ShowMetricsWindow()
ocornut
2015-04-07 13:42:35 +01:00
8211081c54
Added (not exposed) DisableHideTextAfterDoubleHash to disable ## processing.
ocornut
2015-04-07 13:37:30 +01:00
33ef3992f7
Added IO.MetricsVertices counter
ocornut
2015-04-07 13:36:11 +01:00
d9ff617ff8
Examples: Formatting #187
ocornut
2015-04-07 12:56:52 +01:00
7c9739c67f
Merge pull request #187 from heroboy/patch-1
omar
2015-04-07 12:55:12 +01:00
e09e2cbd28
set pixel shader and vertex shader to NULL
heroboy
2015-04-07 19:36:58 +08:00
6e4d3dac1a
Examples: Fixed ShowExampleAppManipulatingWindowTitle() not doing the right thing, broken in ff35d24bcc
ocornut
2015-04-07 11:54:53 +01:00
a8a5ba9d1e
Update README.txt
omar
2015-04-07 11:15:18 +01:00
46769406dc
Update README.txt
omar
2015-04-07 10:59:49 +01:00
c38c54af52
Clicking on void loses keyboard-focus so application can use TAB back
ocornut
2015-04-06 11:25:07 +01:00
fe64da6197
Allow SetWindowFocus(NULL) to remove focus
ocornut
2015-04-06 11:19:31 +01:00
73e2d56acc
Examples: OpenGL fixed-pipeline: added glBindTexture(0), via Anton M
ocornut
2015-04-06 10:45:10 +01:00
f5310a2f2d
Comments
ocornut
2015-04-04 19:03:39 +01:00
28a45877aa
DragFloat() comment examples, not ready for prime-time #180
ocornut
2015-04-03 16:21:24 +01:00
c93f34238e
DragFloat() examples #180
ocornut
2015-04-03 15:18:12 +01:00
962aa4c396
DragFloat() double-clicking turns into an input box (along with Ctrl+clicking) #180
ocornut
2015-04-03 15:15:12 +01:00
916a8955ec
DragFloat(): passing min>=max (e.g. 0.0f) for range makes the drag unbound #180 , removed extra APIs
ocornut
2015-04-03 15:13:59 +01:00
61d886e14b
SliderFloat() removed support for unbound/infinite slider, inconsistent. Use InputFloat()/DragFloat()
ocornut
2015-04-03 15:10:07 +01:00
4b7be31197
Fixed modifier key state setting in GLFW callbacks.
Dale Kim
2015-04-03 09:01:48 -05:00
aac99819d6
Selectable() render into AutoFitPadding but do not extend it, fixing small visual gap
ocornut
2015-04-03 14:40:15 +01:00
f3967f1183
Combo() adding frame padding inside the combo box.
ocornut
2015-04-03 14:32:46 +01:00
dc52938627
InputInt2(), InputInt3(), InputInt4(): fixed label vertical alignment
ocornut
2015-04-03 14:22:00 +01:00
f7e35ce120
ShowTestWindow() renamed sliders examples to say "slider"
ocornut
2015-04-03 14:20:04 +01:00
1247ce251f
Added DragFloat(), DragInt() work in progress #180
ocornut
2015-04-03 14:07:52 +01:00
d25578efd8
Examples: initializing float + missing comment.
ocornut
2015-04-03 12:11:41 +01:00
6aed651f77
ColorEdit4(): tweak code to be a little less ugly (still not a beauty contest winner..)
ocornut
2015-04-03 11:49:02 +01:00
2d157d3af0
ColorEdit4(): hide components prefix if there's no space for them.
ocornut
2015-04-03 11:25:44 +01:00
e6792f84d4
Comments and organization of imgui.h
ocornut
2015-04-03 10:22:18 +01:00
153db91917
Slider: don't call RenderText() on empty label.
ocornut
2015-04-02 22:39:37 +01:00
74f2e53b3b
Slider: fix in the unlikely case that style.GrabMinSize is larger than a slider.
ocornut
2015-04-02 22:38:37 +01:00
31fd72bde1
Internal renaming
ocornut
2015-04-02 21:21:35 +01:00
503b8c20de
Delete font clear pointer in ImGui state to get a clear crasah instead of a dangling pointer. #181
ocornut
2015-04-02 17:48:22 +01:00
b61b311772
Fixed Begin() returning true on collapsed windows that loaded settings #176
ocornut
2015-04-02 10:56:59 +01:00
e03d2b2900
ImVec2/ImVec4 no-parameters constructs init to 0.0f. Saner. Couldn't measure perf differences in a simple stress test compiled in Debug mode
ocornut
2015-04-01 15:56:58 +01:00
fc1b0b090c
Update README.md
omar
2015-04-01 15:26:36 +01:00
a4cf50affe
Fix uninitialized fields - MouseCursor set by first call to NewFrame()
ocornut
2015-04-01 15:08:42 +01:00
c0699958ce
Fix for Coverity static analysis
ocornut
2015-04-01 15:05:06 +01:00
eb3e640fa6
Fixed style.DisplaySafeAreaPadding handling from being applied on window that never were auto-fit
ocornut
2015-03-31 00:41:15 +01:00
468fcd7b30
Fixed mouse wheel scrolling (broken 2 commits ago 9d16b85ed2 )
ocornut
2015-03-31 00:15:23 +01:00
6ba7a74191
AA branch: fix.
ocornut
2015-03-30 23:57:29 +01:00
bb385fabd4
Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut
2015-03-30 23:55:40 +01:00
0a31531f44
Warning fix in demo code
ocornut
2015-03-30 21:16:24 +01:00
9d16b85ed2
Caching current Font, FontSize into state for quicker/simpler access.
ocornut
2015-03-29 19:45:03 +01:00
e16f2e898a
Version number 1.38 WIP
ocornut
2015-03-29 10:09:14 +01:00
3abfb85613
Comments on font loading, fixed commented out paths and added DroidSans in the list
ocornut
2015-03-28 11:48:42 +00:00
ff35d24bcc
Comments
ocornut
2015-03-27 19:34:01 +00:00
4ee5a792ff
Fixed new collapsed auto-resizing window with saved .ini settings not calculating their initial width #176
ocornut
2015-03-27 15:18:45 +00:00
26991bb2ec
Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut
2015-03-26 22:09:35 +00:00
2e26196aba
Selectable() fixed misuage of GetContentRegionMax().x
ocornut
2015-03-26 21:13:03 +00:00
a1582874d3
Changed new ImDrawList::AddLine() half_thickness to hickness, just in time for release
ocornut
2015-03-26 20:24:55 +00:00
729e524955
Version number 1.37
ocornut
2015-03-26 20:16:53 +00:00
bcd85e7cd6
Auto contents size aware of enforced vertical scrollbar if window is large than display height.
ocornut
2015-03-26 20:14:15 +00:00
e1de4908f6
Removed bool return value from BegniPopup() at the moment, it is meaningless. Tidying up.
ocornut
2015-03-26 19:18:06 +00:00
4b7818dfc2
Bounding box tests exclude higher bound, so touching items (zero spacing) don't report double hover when cursor is on edge
ocornut
2015-03-26 19:05:47 +00:00
c6112550eb
Added Haddock in the (popup) Aquarium
ocornut
2015-03-26 19:02:54 +00:00
f5ba64d8cd
Sorting of windows for render doesn't do 3 pass stupidly. Made code a little closer to what it should become with a layering system
ocornut
2015-03-26 18:51:45 +00:00
93c9777165
Fix for using tooltips within popup #126 - will need to rewrite the sorting/layering system shortly.
ocornut
2015-03-26 18:17:55 +00:00
a3086f40fe
Renamed internal RenderSortedWindows -> WindowsSortBuffer + cleanup popup closing code
ocornut
2015-03-26 18:01:40 +00:00
fc25d71f84
Refactored duplicated code into an inline function & made more readable
ocornut
2015-03-26 17:45:11 +00:00
a4dc775339
Fixed hovering bug introduced in ac2da570 when popup is inactive #126
ocornut
2015-03-26 17:35:52 +00:00
5fe4ae62cb
Popup: clicking on empty space also close popup #126
ocornut
2015-03-26 17:24:05 +00:00
ac2da570f5
When a popup window is open it inhibit hovering on other windows #126
ocornut
2015-03-26 17:17:42 +00:00
de7552047b
Simplified example
ocornut
2015-03-26 17:11:14 +00:00
91f8eb7b92
Added early version of BeginPopup/EndPopup() #126
ocornut
2015-03-26 17:09:17 +00:00
d3e8e15e41
Added popup demo code (commented out because I expect to make popup menu proper citizens by next version)
ocornut
2015-03-26 16:45:44 +00:00
7e334013a0
Selectable(const char*, bool) version has bool defaulting to false
ocornut
2015-03-26 16:42:46 +00:00
325e292427
Selectable(): not specifying a width default to using max of label width and remaining width
ocornut
2015-03-26 16:41:52 +00:00
3268646180
Fixed clipping rectangle's own clipping #177
ocornut
2015-03-26 16:28:41 +00:00
743c815821
Renamed IsItemHoveredRectOnly -> IsItemHoveredRect (introduced after previous release)
ocornut
2015-03-26 16:18:01 +00:00
8b7668d24f
Avoid negative clipping rectangle when collapsing windows, ImDrawList could still submit data #177
ocornut
2015-03-26 16:03:30 +00:00
b04ee7e040
Added a more convenient three parameters version of Begin() which Flags more accessible.
ocornut
2015-03-23 22:50:17 +00:00
9d4ba2e27d
Using SetNextWindowSize() in examples to encourage its use
ocornut
2015-03-23 22:45:05 +00:00
c9430bb807
Fixed new windows auto-fitting bigger than their .ini saved size
ocornut
2015-03-22 17:22:39 +00:00
e176a8b93f
OCD normalising function comments not ending with a comma
ocornut
2015-03-22 16:26:48 +00:00
b578e86971
Fixed SetWindowPos/SetNextWindowPos affectiving size computation (#175 )
ocornut
2015-03-22 16:08:42 +00:00
5737a79c8d
Fixed new window from having an incorrect content size on their first frame (#175 )
ocornut
2015-03-22 15:58:44 +00:00
7e8f1f1062
Collapsed windows run initial auto-fit to resize the title bar #175
ocornut
2015-03-22 15:34:41 +00:00
ed94edfd8e
Examples: Terser code + added commented out glUseProgram(0( suggestion in OpenGL2 sample.
ocornut
2015-03-22 14:14:23 +00:00
136dbdfd95
Merge pull request #174 from adamdmoss/glfwcursor
omar
2015-03-22 14:10:27 +00:00
c1766c95ed
OpenGL/GLFW: hide system cursor if imgui is soft-rendering cursor
Adam D. Moss
2015-03-22 13:49:36 +00:00
efd927e300
ShowTestWindow: missing TreePop() call in Mouse Cursor section.
ocornut
2015-03-22 00:00:49 +00:00
fde991fbbb
Update README.md
omar
2015-03-21 23:56:23 +00:00
dec73a8a8a
Update README.md - demo binaries
omar
2015-03-21 23:51:57 +00:00
99314dad73
Updated FAQ
ocornut
2015-03-21 23:14:21 +00:00
072c57b0ca
Setting io.LogFilename to NULL disable default LogToFile() (part of #175 )
ocornut
2015-03-21 19:30:46 +00:00
85f432dc8d
Commented standard library include with the functions we use. Using ImFormatString in place of sprintf (part of #172 )
ocornut
2015-03-21 19:27:29 +00:00
7c8946b9b7
Hovering a column set the resize <> mouse cursor #155
ocornut
2015-03-21 17:48:03 +00:00
b024ff85f7
Fixed comment
ocornut
2015-03-21 15:15:16 +00:00
dee2790133
Mouse cursor offset tweak #155
ocornut
2015-03-21 15:12:47 +00:00
9363e6c154
Prepacking mouse cursors to save on source code size, generally simpler #155
ocornut
2015-03-21 15:09:01 +00:00
810fcd8bcb
Added mouse cursor types handling + embed mouse cursor data #155
ocornut
2015-03-21 13:59:19 +00:00
ff1040a38d
Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut
2015-03-21 10:55:31 +00:00
7f49ac0407
Disabled -Wmissing-noreturn warning for Clang a bit reluctantly - will put back when removing GetDefaultFontData() #173
ocornut
2015-03-21 10:14:10 +00:00
bae32567c3
Fixed unused parameter warning with empty IME handler #173
ocornut
2015-03-21 10:04:10 +00:00