1
0
mirror of https://github.com/Drezil/imgui.git synced 2024-12-28 10:36:35 +00:00
Commit Graph

986 Commits

Author SHA1 Message Date
ocornut
cf12bc7dea InputText: Added BufTextLen in ImGuiTextEditCallbackData. Requesting user to maintain it. Zero-ing structure properly before use. () 2016-03-02 23:34:29 +01:00
ocornut
ba80a457b9 Demo: plot code doesn't use ImVector to avoid heap allocation + comment () 2016-02-29 12:53:05 +01:00
ocornut
4afe67cdc8 Demo: Fixed malloc/free mismatch and leak when destructing demo console (if it has been used) () 2016-02-24 11:50:21 +01:00
ocornut
f8fede1d8b Added ColorPicker3/ColorPicker4, refactoring ColorEdit3/ColorEdit4 adding a bunch of flags and access to picker (wip )
Still pretty much experimenting so may break API
2016-02-21 23:23:30 +01:00
ocornut
dafedc3246 Demo: use locally defined strdup because compilers/standard librairies are an annoyance () 2016-02-08 08:44:45 +01:00
ocornut
2c6bc95dd5 Demo: InputText password demo filters out blanks () 2016-02-03 09:24:57 +01:00
Nikolay Zapolnov
a908c109c0 Added flag for selectables to handle double clicks. 2016-01-31 22:08:35 +01:00
ocornut
bf6f6ba858 Demo: extra comments and example for PushItemWidth(-1) 2016-01-06 01:24:49 +01:00
ocornut
81c86dd5e7 Various minor fixes following a pass of cppcheck static analyzer 2015-12-30 11:55:37 +01:00
ocornut
68bde7b862 Clarify comment () 2015-12-27 21:41:01 +01:00
ocornut
6dbdc69131 ImDrawList: Fixed AddCircle() to fit precisely within bounding box like AddCircleFilled() and AddRectFilled() (followup 2015-12-27 20:18:43 +01:00
ocornut
668a247af0 Demo: added more draw primitives in the Custom Rendering example () 2015-12-27 19:49:31 +01:00
ocornut
e41568f87f Version number 1.48 WIP + Update binaries 2015-12-26 10:02:57 +01:00
ocornut
24d186753e Version number 1.47 2015-12-25 22:44:03 +01:00
ocornut
e4cf44e967 Minor rebranding "ImGui" -> "dear imgui" () 2015-12-24 20:00:50 +01:00
ocornut
2e5352786a Bullet(), BulletText(): vertical and horizontal alignment fixes (namely for widget sized line height). (followup to , ) 2015-12-13 23:41:02 +00:00
ocornut
558430ca8f TreeNode() fixed alignment of collapse arrow to it matches bullet (broken in 4006fb77bc) 2015-12-13 22:07:01 +00:00
ocornut
5084f90a0d Added ProgressBar() () 2015-12-13 21:41:45 +00:00
ocornut
02ce1a2b32 Demo: Display extra info from ImFontConfig in the font display 2015-12-13 16:15:11 +00:00
ocornut
18223fd3ab Demo: Tweak window option and style display 2015-12-13 14:03:26 +00:00
ocornut
a9bdda0d95 Demo: Added style editor in demo menu + exposed WindowFillAlphaDefault 2015-12-13 13:36:00 +00:00
ocornut
a500c0daf7 Demo: some TreeNode layout examples (, ) 2015-11-29 21:02:15 +00:00
ocornut
4006fb77bc TreeNode,CollapsingHeader: sizing fixes to support laying out item on same line before/after (, ) 2015-11-29 20:35:58 +00:00
ocornut
eb6575508f Demo: Tweaked Clipping example. 2015-11-29 10:29:06 +00:00
ocornut
b2b4bbe5ea Demo: Fixed variable shadowing warning. 2015-11-29 10:25:55 +00:00
ocornut
79b09e7d10 Fixed int>void* warnings for 64-bits architectures and fancy warnings 2015-11-29 10:20:50 +00:00
ocornut
ba77166432 Demo: comments () 2015-11-28 17:23:32 +00:00
ocornut
32d2768734 Demo: Moved property editor demo to its own mini example applet () 2015-11-28 17:16:59 +00:00
ocornut
d3df39fed1 Columns: Added Property Tree demo among tidying up demos (, ) 2015-11-28 16:44:09 +00:00
ocornut
807d4ff92c Columns: minor tidying up while investigating severe issues with indenting within columns () 2015-11-28 12:14:50 +00:00
ocornut
92c518a420 InputText: Added password mode via ImGuiInputTextFlags_Password (, , ) 2015-11-19 23:09:59 +01:00
ocornut
6b03ddbcb1 Demo: Made the "menu inside a regular window" be in a different menuset. Added a comment () 2015-11-16 22:43:42 +01:00
ocornut
f87deff0f3 Moving stdlib.h include outside of imgui.h () 2015-11-13 17:08:54 +01:00
ocornut
6ffe0fddbf Examples: Fixed crash when both buttons are held () 2015-10-30 15:01:26 +01:00
ocornut
5f0db60a57 Version number 1.47 WIP 2015-10-18 20:13:01 +01:00
ocornut
72dde4d323 Version 1.46 2015-10-18 17:36:27 +01:00
ocornut
bc34ac882f InputText: added comments and somehow clarified the optimized code that calculate text position + updated demo 2015-10-18 10:57:29 +01:00
ocornut
f21fda1231 Scrollbar: Tweaked scrollbar inner padding for small scrollbars. 2015-09-30 21:47:44 +02:00
ocornut
5d3d136733 Scrollbar: horizontal scrollbar demo allows to enable simultanaeous scrollbars on both axises. 2015-09-30 21:15:47 +02:00
ocornut
127f44c12b Demo: Extra plotting examples. 2015-09-20 13:29:18 +02:00
ocornut
c4562ac573 Fixed mouse click detection to be more friendly to DeltaTime 0.0 () 2015-09-17 23:42:34 +01:00
ocornut
0abe668221 ImFontAtlas: Added TexDesiredWidth and tweaked default cheapo best-width choice() 2015-09-11 16:50:00 +01:00
ocornut
2903c98bca Minor typo 2015-09-10 10:26:09 +01:00
ocornut
b4f1e88860 Added ImGuiInputTextFlags_ReadOnly flag for InputText()/InputTextMultiline() () 2015-09-09 09:08:08 +01:00
ocornut
a09411b936 Demo: using MouseDelta 2015-09-07 23:33:44 +01:00
ocornut
965fa3cb16 Version number 1.46 WIP 2015-09-02 19:09:19 +01:00
ocornut
c9e19f8953 Version number 1.45 2015-09-01 20:34:10 +01:00
ocornut
e4ef140e10 Speculative Linux build fix, not using itoa () 2015-08-30 18:55:46 +01:00
ocornut
350d96466e Demo: tweaks () 2015-08-30 18:43:42 +01:00
ocornut
71026d3655 Added GetScrollX(), GetScrollX(), GetScrollMaxX() apis + demo () 2015-08-30 18:33:38 +01:00
ocornut
e5e9c5cfbe Demo: removed extraneous flag in demo code + tweak comment () 2015-08-30 18:07:51 +01:00
ocornut
afa0346a0b Demo: using DragFloat instead of SliderFloat 2015-08-30 17:38:42 +01:00
ocornut
f128a8bce1 ColumnsStartX include window->Scroll.x to simplify code () 2015-08-30 17:25:10 +01:00
ocornut
9e5fb40ddd Demo: added horizontal scrolling example + enabled in console, log and child examples () 2015-08-30 16:38:55 +01:00
ocornut
d88b73a8b7 Added GetContentRegionAvailWidth() helper. Demo tweaks. 2015-08-30 15:35:59 +01:00
ocornut
aa35547f94 Demo: long text example uses ImGuiListClipper 2015-08-30 00:03:08 +01:00
ocornut
2d565d4bfb Style: rename ScrollbarWidth to ScrollbarSize (sorry!) 2015-08-29 23:47:47 +01:00
ocornut
62a3142036 Demo: comments. 2015-08-29 13:31:30 +01:00
ocornut
e7cc048d81 Demo: custom rendering tweak. 2015-08-28 15:35:08 +01:00
ocornut
0a11024459 IO.WantInputCharacters -> WantTextInput () 2015-08-28 15:34:53 +01:00
ocornut
8430c88451 Demo: added a bezier curve in the old custom rendering demo. 2015-08-28 14:41:10 +01:00
ocornut
80ad773c87 ImDrawList: added AddBezier(), PathBezierTo() for cubic bezier curves () 2015-08-28 13:18:34 +01:00
ocornut
b1987d697f Trim trailing whitespace () 2015-08-24 13:50:18 +02:00
Borislav Stanimirov
73917115a8 Added flag showing whether the GUI wants text input
Conflicts:
	imgui.cpp
2015-08-24 13:44:43 +02:00
ocornut
0a6d6da732 Demo: Log: removed unnecessary style change, 2015-08-13 22:11:32 -06:00
ocornut
67b2b5f3a9 Demo: Log: removed broken clipping, tweaks. 2015-08-13 22:04:31 -06:00
ocornut
07de0448f9 ImGuiTextFilter: default parameter width=0.0f for no override, allow override with negative values 2015-08-13 21:51:34 -06:00
ocornut
b770f3ffaf Demo: Add filtering to log with better-than-none storage of line offsets. 2015-08-13 21:47:50 -06:00
ocornut
72d3fca52f Demo: added simple Log demo 2015-08-13 20:59:37 -06:00
ocornut
d36a634ac8 Demo: Fixed incorrectly formed string passed to Combo () 2015-08-13 11:55:48 -06:00
omar
9a97ef673e Merge pull request from tpoechtrager/master
Fixes for compiling Windows target with non-MSVC compiler.
2015-08-09 10:49:06 -06:00
ocornut
6a90ac2094 Tentative GCC/Clang warning fixes with unused functions (cf ) 2015-08-09 10:45:58 -06:00
Thomas Pöchtrager
3604aecf8f Minor Windows adjustments 2015-08-09 17:24:10 +02:00
ocornut
23e7bdebcf Warnings for clang () 2015-08-08 12:30:56 -06:00
ocornut
aa3c26fd30 IM_PRINTFARGS takes one argument. Moved pragma outside of .h () 2015-08-08 12:26:22 -06:00
ocornut
b637850260 Merge branch 'master' of https://github.com/tpoechtrager/imgui into tpoechtrager-master 2015-08-08 12:18:59 -06:00
ocornut
14822609bd Version number 1.45 WIP 2015-08-08 12:18:37 -06:00
Thomas Pöchtrager
947cf3434f Added printf attribute to printf like text formatting functions 2015-08-08 19:29:11 +02:00
ocornut
a99ba42a39 Version number 1.44 2015-08-08 07:57:29 -06:00
ocornut
155873a6b0 Added GetContentRegionAvail() helper 2015-08-05 10:43:12 -06:00
ocornut
1befd21b37 Moved ShowUserGuide() after ShowTestWindow() () 2015-08-05 09:31:03 -06:00
ocornut
3658314638 imgui_demo.cpp doesn't redefine functions from imgui_internal.h so all files can be unity-built () 2015-08-05 09:28:19 -06:00
ocornut
e47bf041bf Clang warning fixes 2015-08-01 21:37:32 -06:00
ocornut
e1ac5a3198 Honor IMGUI_DISABLE_TEST_WINDOWS as described () 2015-07-21 19:57:32 -06:00
ocornut
5a29eef1fa Fixed further warnings with GCC/Clang () 2015-07-21 17:13:56 -06:00
ocornut
dace68b6fd Big cleanup, split imgui.cpp into imgui_demo.cpp,imgui_draw.cpp imgui_internal.h () 2015-07-21 17:00:28 -06:00