vurtun
f1e81a59ea
Added font merging into font atlas and font baker
2016-04-02 19:16:00 +02:00
vurtun
a97ac0ea4d
fixed wrong font height
2016-04-01 21:54:55 +02:00
vurtun
d9f1831321
Finally fixed customizable window border width
...
Previously all window, popup, comboboxes, tooltips, menu and
contextuals had a fixed border width of 1 and had the same color.
Now it is possible to change the individual border width and color of
each one seperatly.
2016-04-01 18:34:16 +02:00
vurtun
08ab2b40c1
Added some additional utility functions
...
Extended the standard library included functions with some
additional functions depending on <stdarg.h>.
2016-03-31 20:44:03 +02:00
vurtun
e1a1239674
fixed test code
2016-03-31 19:47:40 +02:00
vurtun
4eb939f4db
Added additional API for simple color styles
...
Extended the quite complex style and skinning API with another easier
to use API to set the color scheme of the UI only from color.
2016-03-31 19:31:02 +02:00
vurtun
ca5ec8c2a4
removed test code
2016-03-30 16:20:29 +02:00
vurtun
781202223d
Added font atlas, default font + compiler switches
...
This commit extends the optional currently existing low level font
baking API with another more high level font atlas API.
The font atlas takes away some fine grained memory control from the
user but is easier to use and to understand than the lower level API.
I added combined with the font atlas a optional default font which
allows running the library without a user provided truetype font.
While user friendly it is quite big (~12kb) so I added a compiler flag
to remove it from the library while compiling if not wanted.
Finally I added some additional compiler flags to allow easier to use
APIs. The downside is that all of them require the standard library,
so if you don't want to add the standard C library I would recommend
deactivating all flags marked as standard library flags.
2016-03-30 12:54:22 +02:00
vurtun
f21c835363
fixed piemenu
2016-03-28 12:36:56 +02:00
vurtun
fcba0e676b
Added skinning and extend customization
...
Previous visual changes in the library were quite limited with some
colors and some global properties. This commit changes all that and
provides way more control over every widgets visual appearance.
Changes include extended color selection, per widget properties and
the possibility to use skinning.
While the new API allows for a lot more control it is currently quite
low level and needs a lot more testing and probably another higher
level style API to make changes in code easier. I also had to remove
the style modification code inside the demo and will probably first
try to write another higher level API before adding it back in.
This commit also include some breaking changes to existing code like
the missing style stack API and some widget names changes due to
added granularity granted by the rewritten style.
2016-03-26 16:05:19 +01:00
vurtun
2cedc57f5d
Extend default draw command API
...
The default draw command buffering API now supports filled and
outlined shapes as well as two additional commands: polygon and
polyline. While zahnrad only requires a small number of basic
filled draw command shapes to actual function the underlying canvas
to convert from draw commands to vertex buffer commands allows
for lot more. So the gap should now be filled and drawing more
complex custom is now a little bit easier. I thought about adding a
path drawing API to the draw command API but decided it is not
worth the hassle, at least for now.
2016-03-16 13:01:47 +01:00
vurtun
467118a86e
Removed UI recording and revert to old version
...
I spend the last week(s) with lot of time thinking about this and I
came to the conclusion that recording it is not really worth doing.
In theory it could be interesting but the truth is I don't want to
do any more complex refactoring anymore and want to have a break
from extending this library. I spend over a year on this and I think
it is time for me to move on to other things. I will continue fixing
errors or adding requested essential smaller features but no
more complex rewrites or risky changes.
2016-03-15 21:12:25 +01:00
vurtun
5d54d65894
Removed textual UI representation
2016-03-09 13:12:30 +01:00
vurtun
4f677d200e
Fixed C++ build errors
2016-03-08 08:58:55 +01:00
vurtun
68edafcd0c
Added 'Enter' and 'Leave' widget events
2016-03-08 08:50:21 +01:00
vurtun
b0cc043879
added missing ifdefs for windows
2016-03-08 08:44:31 +01:00
vurtun
b09849f41a
Added script to UI bytecode compile + file browser
...
This is quite a big commit which adds an experimental text script to
UI bytecode compiler. The compiler is still under heavy development
and can and will be under heavy changes, so use with caution.
In addition I added the old file browser for unix like platforms
back into the demo. At the moment it only supports windows but
the only part of the file browser that is platform dependend
is the directory content loader which should be easy to implement
in other platforms as well.
2016-03-07 18:17:15 +01:00
vurtun
32277127ac
Added color picker widget
...
An additional widget for picking a color was added. Color picker use
the new draw call command multicolor rectangle which is not supported
everywhere. All demos using the optional vertex buffer output can use
the color picker without problems. Other platforms need to support
a drawing function or do not it.
2016-03-04 17:13:30 +01:00
vurtun
33af175b7e
Added color conversion to and from hex string
2016-03-03 21:16:25 +01:00
vurtun
344be6eed2
Added window (de)activation into demo menu
...
Extended the demo window with a submenu which allows to activated or
deactivate windows. In this particular case the sequence in which the
control and demo window in contrast to all the other windows are
placed is important but only in this demo since querying is done by
the control window.
2016-03-03 14:36:28 +01:00
vurtun
3d905b2451
Fixed small C++ error since new
is a keyword
2016-03-03 13:17:32 +01:00
vurtun
acb2a31b82
Fixed window hiding and exposing bug
...
Previously rapidly closing and exposing windows caused the library
to freeze. This had two reasons one was a bug in the list insert
and remove code the other was in the fact that if the currently
active window is removed no other window would active which resulted
in a blocking UI. Both problems are now fixed but there is a small
visual bug which is triggered if a window is toggled.
2016-03-03 13:12:20 +01:00
vurtun
047deec3cd
Added time and date combobox to demo
...
Extended the demo with two additional very helpful comboboxes.
The first one is a simple time picker and the other one is a
date picker with year, month, week day selection.
2016-03-02 17:58:22 +01:00
vurtun
8159391640
Added Title alignment flags to menu header fix #53
...
Previously all menu titles were centered in X- and Y-axis without any
way to control the alignment. Since it was requested I added an
alignment flag to `zr_menu_text_begin`. To achieve the same outcome
like before this commit the flag has to be `ZR_TEXT_DEFAULT_CENTER`.
2016-03-02 09:45:06 +01:00
vurtun
1125016d0a
Fixed simple allegro example text drawing bug
...
I forgot to change text drawing in the native allegro drawing API.
It should now be fixed and draw correctly. Furthmore I increased the
size of the demo window menu items to ensure that the checkbox text
is correctly drawn without clipping.
2016-03-01 19:52:18 +01:00
vurtun
c19a6a1bbe
Finished experimental recording features
...
First version supporting the new record and play feature which allows
to `record` a number of API calls and lets you replay them at a later
point of time. This could be the basis for creating an Editor and
other more advanced features. While I tested the functionality there
still could be a number of bugs and I would recommend waiting
until all bugs are removed before using it.
2016-03-01 18:48:19 +01:00
vurtun
d0d5414164
first step
2016-02-24 13:19:39 +01:00
vurtun
ae1e3fc003
Fixed C++ errors that depend on typesafe enums
...
Fixed one of the small issues between C and C++. The handling of
enums. While C uses weak types and compiling `zr_flags` or
`enum zr_text_alignment` did not cause any problems, trying to do the
same with C++ results in errors or in this case a linking
error since while the function exist with `zr_flags` it does not
exist with `enum zr_text_alignment` (another problem of function
overloading...)
2016-02-16 13:42:20 +01:00
vurtun
9ab708e543
Fixed some c++ errors that slipped through
2016-02-15 19:37:31 +01:00
vurtun
e4448f5881
Added additional widget utility functions
2016-02-15 19:03:21 +01:00
vurtun
f727058044
Fixed rgb->hsv conversion and extended granularity
...
The conversion function from rgb color to hsv color was bugged and
provided wrong values. It is now fixed and hopefully is now correct.
In addition a number of utility functions have been added to make
conversion between user provided color format and zahnrads own
format easier.
2016-02-15 02:19:09 +01:00
vurtun
6adbb375de
updated apple demos
2016-02-14 22:06:51 +01:00
vurtun
de384a805b
changed layout param from zr_size to int
2016-02-14 22:06:12 +01:00
vurtun
98da4841dd
Fixed canvas arc and therefore piemenu drawing
...
I forgot to add the center point to drawing an arc which resulted
in half spheres. It is now fixed and should work as intended.
2016-02-12 20:30:06 +01:00
vurtun
730fd24746
Fixed popup drawing inside groups
...
Previously the popup buffer state was stored inside the group
panel layout instead of the window layout. This caused
overdraw for popups and the underlying window. To fix that now
all popups are stored inside the root window panel layout
and everything is drawn correctly.
2016-02-12 19:09:36 +01:00
vurtun
890430db76
Fixed node editor node linking
...
Because clicking was changed to happen on button up instead
of button down linking was bugged. It has been fixed and should
work now was expected.
2016-02-12 17:51:59 +01:00
vurtun
fdbcc52629
Merged examples and demos into one (first step)
...
While dividing previously spared me from a lot of work and problems
it is probably best to have everything working for every or as many
platforms as possible. Some platforms fail to provide good ways
to support everything (e.g.:X11 does not have pixmap clipping with
different width/height or alpha-blending) but all OpenGL demos
outside allegro (needs some additional work) should be able to run.
2016-02-11 23:29:02 +01:00
vurtun
f5b6010a01
Added additional selectable color themes to demo
...
This commit extents the provided number of themes inside the demo
and updates the default style by using a smaller default padding
value for windows.
2016-02-09 15:16:05 +01:00
vurtun
c4916f62dd
renamed zr_layout to zr_panel
2016-02-02 15:43:19 +01:00
richi
292c33d78b
Additional CoreGraphics Example
...
iOS_CoreGraphics does contain a simple example running
Zahnrad on top of the native CoreGraphics API.
2016-02-01 21:15:25 +01:00
richi
c3da9dc2b6
vertexes -> vertices
2016-02-01 09:42:05 +01:00
vurtun
b2e99df63d
Added enter event to edit widget
...
Decided to add support for commit the content of a edit wiget
content by enter if a flag was set. Tried to add other flags
like auto complete but failed for now to find a good way.
Also more importantly added `zr_edit_box` to filter callback.
2016-02-01 09:26:22 +01:00
vurtun
96fe7f7775
Added a global alpha modifier to zr_convert
...
Previously it was not possible to control the visibility or rather
the transparency of all render vertex buffer output. For that to
change another settings was added to zr_convert_config to control
the visibility. To achieve the same result as previously it is now
required to fill that property with 1.0f. To make all GUI element
as a whole more transparent a value between 0.0 and 1.0 can be
selected with 0.0 being completely hidden and 1.0f completly
visible.
2016-01-28 22:24:54 +01:00
vurtun
5c8cc7228c
removed tab input code
2016-01-26 21:38:54 +01:00
vurtun
9757f59c66
Finally fixed the oldest bug in this library
...
For now month I failed to find out why text calculation was
bugged for zahnrads own vertex buffer font. I finally found
the problem and fixed it.
2016-01-26 14:56:28 +01:00
vurtun
c98153b59a
removed need to pass string id to combobox
2016-01-20 19:36:40 +01:00
richi
67c5d53348
Calling zr_layout_peek first
...
Calling zr_layout_peek before zr_edit_string
2016-01-20 13:45:19 +01:00
richi
b73aa6ae74
Automatically show and hide the onscreen keyboard
...
This is an example how to show and hide a onscreen keyboard. The logic
is implemented in zr_touch_edit_string
2016-01-20 12:43:58 +01:00
richi
aa64398646
ifndef MIN, MAX and CLAMP
...
Does make live a lot easier for backends.
2016-01-20 12:35:31 +01:00
vurtun
4e7c183aa6
Merge branch 'master' of https://github.com/vurtun/gui
2016-01-20 03:15:56 +01:00
vurtun
096cf3d27f
extended to return more state information
2016-01-20 03:15:38 +01:00
richi
c462ee09ac
Text input on iOS and tvOS
...
This commit does implement text input for iOS and tvOS using the native
onscreen keyboard.
2016-01-19 18:24:43 +01:00
richi
5d1fdcdbe2
Backends for Mac OS X, iOS and tvOS
...
This is a bunch of experimental render backends for Mac OS X, iOS and
tvOS.
2016-01-17 16:09:59 +01:00
vurtun
4a49bfe64f
updated opengl demos
2016-01-14 15:25:35 +01:00
vurtun
349017a28e
fixed demo contextual menu height
2016-01-09 18:31:59 +01:00
vurtun
048a671e94
added initial state to tree layout
2016-01-09 16:07:22 +01:00
vurtun
8731c3d89e
updated memory constants
2016-01-09 13:56:56 +01:00
vurtun
8d4284184c
simplified having more than contextual menu
2016-01-08 00:30:40 +01:00
vurtun
04d0b75108
split draw rectangle function
2016-01-07 16:00:25 +01:00
vurtun
86d00cbe6e
added rounding to x11 demo
2016-01-06 18:00:25 +01:00
vurtun
fd51ad4488
fixed text input for X11 & fixed utf8 edit box
2016-01-06 15:08:55 +01:00
vurtun
183013231b
extended demo + fixed some bugs
2016-01-05 17:24:45 +01:00
vurtun
9a52c86548
removed clang -Weverything warnings
2016-01-05 12:54:23 +01:00
vurtun
8945d97eae
updated demo and fixed some small bugs
2016-01-04 21:34:48 +01:00
vurtun
508df9d41d
fixed blocking popup
2016-01-04 01:59:11 +01:00
vurtun
1be6475e5b
fixed #35
2016-01-04 00:19:38 +01:00
vurtun
333d5f33e7
fixed typo #34 no3,4
2016-01-03 23:26:07 +01:00
vurtun
e6a305f020
fixed typo #34 no.2
2016-01-03 23:20:50 +01:00
vurtun
d943a32e18
renamed 'graph' to 'chart' #33
2016-01-03 20:33:56 +01:00
vurtun
138f6b3af5
some cleaning up
2016-01-03 20:23:12 +01:00
vurtun
080b59dcc2
removed sin & cos dependency
2016-01-03 01:47:01 +01:00
vurtun
7c37c06e4c
event-based updates round.2
2016-01-02 14:54:45 +01:00
vurtun
bcabde32ab
update LICENSE year
2016-01-01 09:51:35 +01:00
vurtun
a19590b738
removed win32 demo
2015-12-31 16:13:51 +01:00
vurtun
75f92de581
added another allegro demo
2015-12-31 14:39:29 +01:00
vurtun
20b9d3cd45
massive rewrite
2015-12-30 16:31:08 +01:00
vurtun
daae1b8804
major update no.1
2015-12-17 16:48:35 +01:00
vurtun
a59e45ab6f
fixed color picker slider
2015-12-15 13:31:57 +01:00
vurtun
f43e3ea5e9
uses higher default compiler optimization #30
2015-12-12 15:57:56 +01:00
vurtun
9c3365e1ab
added no dep linux opengl version
2015-12-11 11:58:09 +01:00
vurtun
36d86df9ab
added missing vao freeing function
2015-12-11 11:57:34 +01:00
vurtun
db695a6e62
fixed typo
2015-12-08 23:27:59 +01:00
vurtun
3eeacea7b6
updated example + demo
2015-12-08 16:25:56 +01:00
vurtun
6db11ac7ce
added icon/symbol menus
2015-12-07 13:46:29 +01:00
vurtun
37df97bee1
fixed menu text symbol/icon button
2015-12-06 20:35:18 +01:00
vurtun
80faad49fe
removed debug code
2015-12-04 21:03:56 +01:00
vurtun
f7fdba4335
added password edit field
2015-12-04 01:08:39 +01:00
vurtun
98c5cf9277
fixed 'glyphes' typo
2015-12-03 19:32:46 +01:00
vurtun
89e7043b05
fixed 'modifyable' API typo
2015-12-03 18:54:41 +01:00
vurtun
2b2b33fc0b
added multiline editbox + fixed some bugs
2015-12-01 00:21:34 +01:00
Yasuhiro Matsumoto
50d3324d73
fix Makefile for windows
2015-11-26 23:32:57 +09:00
Yasuhiro Matsumoto
f0ae284c9c
include inttypes.h for PRIu64
2015-11-26 23:32:31 +09:00
Yasuhiro Matsumoto
0863941ab4
Remove compiler warnings
2015-11-26 15:56:05 +09:00
vurtun
bf493a550e
added glfw demo
2015-11-25 18:12:58 +01:00
vurtun
4a9fd633ef
renamed opengl version to sdl
2015-11-25 17:26:23 +01:00
Micha Mettke
69e13ea482
fixed win32 demo
2015-11-25 16:11:01 -08:00
vurtun
3e0ff05f9e
removed unused variables
2015-11-24 19:33:46 +01:00
vurtun
61a56a48c4
added additional more clean demo version
2015-11-24 17:47:52 +01:00
vurtun
a59a5f54d6
fixed zr_spacing
2015-11-23 12:52:21 +01:00
vurtun
19e4080537
changed window header API for less draw calls
2015-11-22 20:03:42 +01:00
vurtun
c3f02270dd
updated demos
2015-11-21 12:20:36 +01:00
vurtun
da8ce2e673
fixed multiple windows with opened popups
2015-11-21 12:19:22 +01:00
vurtun
44156326b9
added text height to text command
2015-11-20 00:20:03 +01:00
vurtun
e68c87ef27
made widgets private + removed tree
2015-11-19 18:36:16 +01:00
vurtun
c4b97faac0
removed unused variables
2015-11-11 16:56:21 +01:00
vurtun
56574a7361
added editbox with enter support
2015-11-11 12:03:17 +01:00
vurtun
b4370cf6b1
added draggable color selector
2015-11-10 16:37:48 +01:00
vurtun
65a865c570
added dragging widget
2015-11-10 15:07:43 +01:00
vurtun
045375f650
added text input to demo
2015-11-09 21:40:35 +01:00
vurtun
b9cfc77fc7
fixed window border clipping rect
2015-11-08 11:02:18 +01:00
vurtun
34991229ed
tweaked splitter text width
2015-11-08 00:27:10 +01:00
vurtun
4c57d8cddc
fixed c++ errors
2015-11-07 23:59:38 +01:00
vurtun
cbb0384b26
added metrics window to demo
2015-11-06 15:50:22 +01:00
vurtun
de0bad0a04
added horizontal and vertical splitter
2015-11-06 12:56:57 +01:00
vurtun
473a9fdc25
added contextual menu to demo
2015-11-06 10:44:53 +01:00
vurtun
9a3c439a30
added spinner widgets to basic widgets
2015-11-06 10:12:30 +01:00
vurtun
a2ccfc6b8a
fixed window flags
2015-11-05 22:34:42 +01:00
vurtun
3820fae3b2
added readme example back into demo
2015-11-05 20:15:16 +01:00
vurtun
f5f87a837d
update win32 demo
2015-11-05 20:05:51 +01:00
vurtun
1aac008546
rewrote demo for better examples
2015-11-05 19:47:04 +01:00
vurtun
62bde3f475
removed private Makefile
2015-11-04 09:41:21 +01:00
vurtun
22c43fb00e
added float spinner
2015-10-30 23:36:50 +01:00
vurtun
f88e92dd43
fixed text overdraw
2015-10-27 12:05:22 +01:00
vurtun
c4a59bfb57
removed tiled layout since it provided duplicated functionality
2015-10-24 16:13:39 +02:00
vurtun
a90df46eb5
Revert "removed tiled layout + added splitter to file browser example"
...
This reverts commit 5b07222968
.
2015-10-24 15:57:26 +02:00
vurtun
5b07222968
removed tiled layout + added splitter to file browser example
2015-10-24 15:51:20 +02:00
vurtun
083152c6b9
fixed text image button + fixed internal font baker alignment
2015-10-21 18:43:31 +02:00
vurtun
b0af454098
added zr_input_unicode as another text input method
2015-10-14 09:28:15 +02:00
vurtun
bd9eb035fd
fixed anti-aliased vertex output
2015-10-13 14:21:48 +02:00
vurtun
bf426606f3
moved space key into text input
2015-10-13 13:03:30 +02:00
Micha Mettke
c28075cce1
added scrolling to win32 demo
2015-10-08 09:51:16 -07:00
vurtun
20824d6dd5
changed global demo make script to Makefile
2015-10-08 10:04:42 +02:00
Micha Mettke
2d35a36352
fixed win32 demo input + window header title bounds calculation
2015-10-06 09:50:20 -07:00
vurtun
cb65e13381
removed unused variable in scrollbarh + moved demo helper macros into demo.c
2015-10-05 23:38:21 +02:00
Micha Mettke
4e80a2d960
added win32 demo + fixed some msvc warnings
2015-09-30 17:00:37 -07:00
vurtun
fb7d6536b3
fixed #14 and fixed #15
2015-09-30 10:19:19 +02:00
vurtun
10aaf0ac31
added tooltips + helper function to peek next widget bounds
2015-09-25 14:06:44 +02:00
vurtun
316fbb3e2d
removed debugging code
2015-09-23 22:46:13 +02:00
vurtun
19443772ba
fixed menu bugs
2015-09-23 22:30:11 +02:00
vurtun
f4f15045eb
removed framerate limit in opengl + nanovg demo for window smoother dragging
2015-09-23 17:14:08 +02:00
vurtun
6db3603267
removed realloc callback in allocator
2015-09-23 14:52:01 +02:00
vurtun
664463de78
removed binaries
2015-09-23 11:18:15 +02:00
vurtun
273e337895
restructured demo
2015-09-23 11:16:03 +02:00
vurtun
273fb3f293
simplified some APIs
2015-09-22 21:08:59 +02:00
vurtun
3a48acfe69
changed menu api
2015-09-22 19:26:39 +02:00
vurtun
8f892ea84f
added license text at the top of file
2015-09-21 20:38:37 +02:00
vurtun
649f2253e1
changed license to zlib (smaller) + added nanovg directory
2015-09-21 17:16:23 +02:00
vurtun
09c687d14d
fixed dynamic buffer allocation
2015-09-20 21:08:32 +02:00
vurtun
dca6f8da67
made tiled layout stackable + fixed scrollbar
2015-09-18 11:21:36 +02:00
vurtun
2186694b04
fixed some deeper bugs & changed prefix
2015-09-17 23:09:49 +02:00
vurtun
5ee29fbe22
transfered node editor example to gist
2015-09-17 12:23:58 +02:00
vurtun
0c893e3686
added scrolling to x11 demo + fixed menu window clipping space
2015-09-16 15:04:26 +02:00
vurtun
c875e59710
added optional font handling
2015-09-15 18:13:43 +02:00
vurtun
fc8969dfd5
added tiled layout for widget and windows
2015-09-09 13:54:20 +02:00
vurtun
01e8fcdcbb
updated screenshot + fixed demo color list
2015-09-07 19:12:47 +02:00
vurtun
e2e1b4b51e
change slider + progressbar style
2015-09-07 18:37:30 +02:00
vurtun
f25790c430
upated nodeditor example
2015-09-06 23:14:15 +02:00
vurtun
efe9265949
added optional anti-aliased vertex buffer output
2015-09-06 19:13:07 +02:00
vurtun
112a5d2541
last commit not done but time to go on
2015-09-04 12:11:12 +02:00
vurtun
ffa28e08ea
added right click & fixed button animation
2015-08-31 15:23:49 +02:00
vurtun
d11614d89e
added some helper function for free space row layouts
2015-08-31 00:14:41 +02:00
vurtun
7403db93f3
removed nanovg directory
2015-08-30 19:43:02 +02:00
vurtun
d3fe5b4f70
added quad and cubic bezier draw command
2015-08-29 21:07:01 +02:00
vurtun
d1e59be97d
added window flag to remove scrollbar fixed combobox/menu
2015-08-29 12:56:40 +02:00
vurtun
02c42176a6
renamed everything + added more widget animations
2015-08-29 11:04:09 +02:00
vurtun
493c16ec34
began simplifying and removing stuff
2015-08-27 19:25:13 +02:00
vurtun
0a6d40b584
fixed bug that caused problems if popup menus and combo boxes are used at the same time
2015-08-21 18:28:18 +02:00
vurtun
8f3280e339
some demo cleanup
2015-08-15 12:00:01 +02:00
vurtun
a582e97326
fixed popup panel blocking
2015-08-14 12:58:20 +02:00
vurtun
8d4b3dca55
fixed undefined uninitialized memory behavior
2015-08-13 20:07:20 +02:00
vurtun
fd5a380a0d
fixed input behavior with overlapping panels after closing
2015-08-13 18:12:25 +02:00
vurtun
6709dc8875
added single depth overlapping menus to panels
2015-08-13 16:13:45 +02:00
vurtun
0a969c289c
added combo boxes and popup panels
2015-08-12 15:53:12 +02:00
vurtun
bfa81e57b1
added panel bound popups
2015-08-10 20:34:47 +02:00
vurtun
b65ab2eb75
updated Readme example + screenshot
2015-08-07 17:09:23 +02:00
vurtun
83de65caa8
next small update for changes please look in Issue #9
2015-08-07 16:53:52 +02:00
vurtun
a661171516
rewrote command buffering for easier multi-panel support
2015-08-06 16:36:28 +02:00
vurtun
f7ec1b8e30
added float spinner + rewrote panel row layout API
2015-08-05 12:48:01 +02:00
vurtun
ccb271e7d9
major update for changes look in the update issue #9
2015-08-02 21:22:26 +02:00
vurtun
4299c3e3b0
changed tab to layout tree
2015-07-30 22:19:06 +02:00
vurtun
b16822bede
refactored panel layout API to support additional layouts + added docs
2015-07-29 22:19:17 +02:00
vurtun
7ad4d90b3f
cleanup + removed tree widget temporarily + finished panel header implementation
2015-07-27 19:56:19 +02:00
vurtun
e109072025
change panel layout function names + enhanced panel header symbol API
2015-07-26 22:18:31 +02:00
vurtun
5e9605bb9b
fixed off by one header border drawing error only seen in the X11 demo
2015-07-22 19:22:36 +02:00
vurtun
0c3879141b
added menu to demo
2015-07-20 17:36:58 +02:00
vurtun
edf97d0cdf
major panel header API rewrite + removed and fixed partically visible widget click updates
2015-07-20 11:18:05 +02:00
vurtun
6f5c990470
added icon to tree nodes + fixed c++ errors
2015-07-18 03:37:42 +02:00
vurtun
c96ae5d7f6
added borderless tabs for tree like layouts in panels
2015-07-16 14:39:01 +02:00
vurtun
e35b3639bc
removed nanov library from demo
2015-07-16 14:08:54 +02:00
vurtun
b14ee62c42
added some docu + fixed nanovg demo
2015-07-16 14:05:40 +02:00
vurtun
85da49d348
added cloning/cutting/deleting/pasting to tree widget
2015-07-16 11:36:56 +02:00
vurtun
e4fa5fad12
added tree widget to panel API
2015-07-16 01:35:21 +02:00
vurtun
a77a6a91c9
fixed a lot of small issues
2015-07-15 11:37:13 +02:00
vurtun
2650b02bbd
cleanup + docu + added alternative to gui_panel_row_template API + fixed gui_panel_spacing for non table row layout
2015-07-14 13:26:53 +02:00
vurtun
25e0a4a0aa
fixed opengl font handling
2015-07-13 13:51:54 +02:00
vurtun
44c89ddab9
added moveable cursor with inserting and removing to the editbox
2015-07-12 16:36:55 +02:00
vurtun
899aaf0fda
remove win32 temporarily
2015-07-08 12:46:42 +02:00
vurtun
77033bb08e
made demos compile under C++
2015-07-08 12:33:07 +02:00
vurtun
e973545e3b
fixed closing/minimize button icon bounding box + fixed opengl text width callback
2015-07-02 13:28:43 +02:00
vurtun
2d79b360f0
devided text input into char and glyph for usability
2015-07-02 11:56:51 +02:00
vurtun
57c55bdf62
defined GUI_ASSERT in the demos + removed some unused variables
2015-06-28 10:28:55 +02:00
vurtun
5cd7218465
limited scrollbar mouse scroll to panels
2015-06-23 19:23:25 +02:00
vurtun
b26ea36656
removed rounding in win32 demo since it looks ugly as hell
2015-06-22 13:04:40 +02:00
vurtun
514edc2b86
fixed bat and win32 demo to compile
2015-06-22 12:52:08 +02:00
vurtun
aebb242e3f
seperated library by into header and source file since changes in the implementation part force a complete recompile
2015-06-20 19:06:36 +02:00
ocornut
6744ffa6ef
fixed win32 demo
2015-06-19 19:54:35 -06:00
vurtun
04ea758313
fixed some typos
2015-06-15 23:46:13 +02:00
vurtun
0085c2a6b2
added mouse wheel scrolling in opengl/nano demo for panel scrollbars
2015-06-10 17:35:46 +02:00
vurtun
0663b3197c
fixed some small issues
2015-06-10 15:09:10 +02:00
vurtun
9a97458ec6
tiny demo table example compression update
2015-06-10 11:25:35 +02:00
vurtun
a37cdb60f1
added user defined panel row widget layout
2015-06-09 17:05:05 +02:00
vurtun
f13126d474
fixed tab padding
2015-06-08 10:55:35 +02:00
vurtun
656c2e0362
added button with text and icon/triangle
2015-06-06 20:13:28 +02:00
vurtun
c3db81e0d5
updated nanovg example
2015-06-05 23:00:51 +02:00
vurtun
06c3c57954
fixed opengl font string width calculation
2015-06-05 22:55:17 +02:00
vurtun
34014b472b
fixed panel header spacing
2015-06-05 22:32:44 +02:00
vurtun
bf18f0bde2
finally fixed font drawing in opengl demo
2015-06-05 20:27:26 +02:00
vurtun
04cf4f9566
added additional docu
2015-06-04 22:37:47 +02:00
vurtun
52dcdb2d1e
added some documentation
2015-06-04 22:17:54 +02:00
vurtun
42c1e3b4e9
added round rectangles to win32 demo
2015-06-03 13:43:32 +02:00
vurtun
527f5df5a4
updated demo
2015-06-03 08:36:50 +02:00
vurtun
243250c5bd
moved to single header library
2015-06-03 00:58:57 +02:00
Micha Mettke
86e2110709
Update win32.c
2015-06-02 13:59:04 +02:00
vurtun
ce3422193e
removed shell widget
2015-05-31 21:57:20 +02:00
vurtun
966b872ca4
updated nanovg demo
2015-05-31 21:51:18 +02:00
vurtun
f902480a11
removed invalid files
2015-05-31 21:50:24 +02:00
vurtun
42e7d8a5cd
added basic widget rounding
2015-05-31 21:49:20 +02:00
vurtun
bb8c8a61da
updated win32 demo
2015-05-31 14:46:02 +02:00
vurtun
c211b8f6e6
fixed xlib example
2015-05-31 14:43:50 +02:00
vurtun
248c67acf9
added nanovg demo
2015-05-31 14:41:46 +02:00
vurtun
ef9570ca81
removed shitty opengl demo
2015-05-31 11:25:10 +02:00
vurtun
eea9452cee
added missing arguments to layout
2015-05-30 21:20:04 +02:00
vurtun
8b90b92cab
updated demos
2015-05-29 15:28:08 +02:00
vurtun
350b294811
fixed panel closing
2015-05-29 14:32:40 +02:00
vurtun
dc8bba66fb
removed a lot of bullshit
2015-05-29 14:18:23 +02:00
vurtun
80bd0259ae
small update
2015-05-24 20:32:22 +02:00
vurtun
6dd8655c55
small update
2015-05-24 16:07:06 +02:00
vurtun
4f13eecbcb
change layout state from boolean to enum
2015-05-23 21:09:38 +02:00
vurtun
b6216ca078
fixed some small things the clang analyzer found
2015-05-23 13:47:06 +02:00
vurtun
14cd68e283
updated screenshots
2015-05-23 00:56:22 +02:00
vurtun
676adcd7f4
extended slider visuals
2015-05-23 00:11:58 +02:00
vurtun
243bc00f71
fixed graph using of the wrong item padding axis
2015-05-22 15:14:26 +02:00
vurtun
1e42945906
revert back to old demo version
2015-05-21 22:10:07 +02:00
vurtun
11cb73ef97
temporarily removed opengl demo until all glitches are removed
2015-05-21 21:10:03 +02:00
vurtun
5fbec2129f
xlib not supported anymore since image blitting is shit with x11
2015-05-21 17:09:22 +02:00
vurtun
d1eb285888
small update
2015-05-21 13:06:29 +02:00
vurtun
5e062d6e25
added temporary configration modification + updated Readme + updated Screenshot
2015-05-20 17:05:28 +02:00
vurtun
8c125eaa12
further extended demo + shelf header are only as wide as the label
2015-05-19 18:49:24 +02:00
vurtun
bef36dad16
fixed menubar + made panel without header possible
2015-05-18 16:14:28 +02:00
vurtun
0e571b6799
added menubar
2015-05-18 15:18:47 +02:00
vurtun
f9319b0d0f
fixed win32 demo and some tings the msvc analyzer found + updated readme
2015-05-18 13:37:16 +02:00
vurtun
760c8d3736
extended tiled layout with horizontal and verticl spliting for panels in slots
2015-05-18 12:42:20 +02:00
vurtun
2c42c38bd6
restructured gui_layout
2015-05-17 21:55:31 +02:00
vurtun
d11e3a040c
fixed seperator behavior for multiple rows
2015-05-17 20:46:09 +02:00
vurtun
0f915e3f4a
fixed some demo isses
2015-05-17 20:19:24 +02:00
vurtun
516816f0bb
added tiled panel layout
2015-05-17 13:38:37 +02:00
vurtun
bad5fa85d3
remove test code
2015-05-16 23:39:07 +02:00
vurtun
b91cd2d840
added foreach loops
2015-05-16 12:26:39 +02:00
vurtun
8e70fc4f5a
updated Readme + removed unused code in the win32 demo
2015-05-14 15:14:15 +02:00
vurtun
615c8c5f64
added option group + demo clean up
2015-05-13 14:47:11 +02:00
vurtun
4083142e71
renamed hook functions
2015-05-12 17:05:12 +02:00
vurtun
43f492c34a
changed stack to use hook instead of panel
2015-05-12 17:01:02 +02:00
vurtun
c9666d1151
added editbox cursor color to config
2015-05-12 15:57:53 +02:00
vurtun
2a5df8e433
removed unused color from demo
2015-05-12 15:48:12 +02:00
vurtun
9ab58e2e3a
win32 update and font handling fix + removed things the msvc analyzer found
2015-05-12 14:14:36 +02:00
vurtun
19ce2c227c
removed rounding since it does not fit well
2015-05-11 11:19:48 +02:00
vurtun
7644774cdb
added panel hook concept
2015-05-10 15:47:54 +02:00
vurtun
30800c95f2
small update
2015-05-10 11:19:28 +02:00
vurtun
6ef3974c68
added another screenshot
2015-05-09 20:26:23 +02:00
vurtun
048438b587
fixed shelf scrolling + added addition screenshot
2015-05-09 19:42:31 +02:00
vurtun
2684857167
fixed panel header
2015-05-09 17:44:27 +02:00
vurtun
65473c94af
remove test code
2015-05-09 14:59:17 +02:00
vurtun
775d2d745a
added demo code + changed opengl demo
2015-05-09 14:26:44 +02:00
vurtun
24380a2dcf
fixed some stuff + created extensive demo
2015-05-09 14:11:55 +02:00
vurtun
5f9b1aef0f
fixed minimized panel footer + replace screenshot
2015-05-07 17:40:29 +02:00
vurtun
84aea7f218
moved scaler to normal window position
2015-05-07 17:14:19 +02:00
vurtun
90d536f7bf
that did not work
2015-05-07 15:52:35 +02:00
vurtun
7d8fe76ea7
back to start
2015-05-07 15:29:13 +02:00
vurtun
ee30d7efd7
removed some things I am not happy with
2015-05-07 15:05:57 +02:00
vurtun
902bdc8e11
added panel pool + introduced output buffer to make multible buffered panels easier
2015-05-07 13:41:55 +02:00
vurtun
027ae073cb
fixed opengl, win32 example
2015-05-04 11:03:15 +02:00
vurtun
1be7b39370
fixed allocator controlled buffer
2015-05-03 12:54:02 +02:00
vurtun
3e051adc12
converted buffer states to flags
2015-05-02 15:41:11 +02:00
vurtun
a29b0ac253
converted lines diagram + histogram into immediate mode representation
2015-05-02 13:30:01 +02:00
vurtun
8c44c62ae7
added command shell widget + fixed some text placing
2015-05-01 23:24:15 +02:00
vurtun
8edea98f75
fixed out of bounds input handling + advanced opengl text rendering
2015-05-01 18:31:42 +02:00
vurtun
6a819cdb41
removed test code
2015-05-01 13:21:35 +02:00
vurtun
d8364f2bb6
added opengl text input
2015-05-01 13:18:19 +02:00
vurtun
e135e1424f
added opengl demo
2015-04-30 16:12:21 +02:00
vurtun
51bb40dcc2
fixed some win32 issues
2015-04-29 15:56:46 +02:00
vurtun
a86e33fe90
small typos fixed
2015-04-28 22:08:07 +02:00
vurtun
80c0881d7c
added win32 demo
2015-04-28 15:32:44 +02:00
vurtun
0db2c191bf
removed test code + removed unused variables
2015-04-28 15:01:50 +02:00
vurtun
ace72d41a9
added basic overlapping panel support
2015-04-28 11:56:12 +02:00
vurtun
1774c74fc2
optimized draw command size
2015-04-27 16:22:56 +02:00
vurtun
5c14ed0a9e
added command buffer clipping
2015-04-27 16:01:40 +02:00
vurtun
1b7edff9c0
fixed typo +
...
made toggle button better visible
2015-04-26 22:38:55 +02:00
vurtun
c39233c86e
update
2015-04-26 13:30:22 +02:00
vurtun
da632a619d
fixed some small typos
2015-04-25 23:39:46 +02:00
vurtun
7109605c20
split panel into persitent and transient state
2015-04-25 15:30:51 +02:00
vurtun
5fcdfe5dc0
added buffering
2015-04-24 15:17:10 +02:00
vurtun
089eaa4b3c
small update
2015-04-20 21:14:58 +02:00
vurtun
8565b10159
fixed input widget bug
2015-04-20 14:19:37 +02:00
vurtun
00d08896f4
removed most of the group/tab/shelf state
2015-04-20 12:46:04 +02:00
vurtun
1cdc9051c2
small cleanup
2015-04-20 11:13:27 +02:00
vurtun
075925a66c
major rewrite
2015-04-19 22:12:37 +02:00
vurtun
f5b4bd73f3
updated Readme
2015-04-17 22:28:00 +02:00
vurtun
322bb21b9c
converted if/elese to switch + fixed some typos
2015-04-17 11:50:47 +02:00
vurtun
a3a25eb0c5
small cleanup
2015-04-16 22:04:34 +02:00
vurtun
41ce335226
basic features work for linux
2015-04-16 20:05:43 +02:00
vurtun
3a225b6fd9
readme fail
2015-04-16 16:02:29 +02:00
vurtun
a5cf6d9b70
fixed some bugs
2015-04-16 13:05:51 +02:00
vurtun
3e387af21a
fixed some small bugs
2015-04-16 11:58:13 +02:00
vurtun
581f8e9200
major render backend rewrite for greater portability
2015-04-15 14:37:19 +02:00
vurtun
f69689b6ce
updated Readme
2015-04-12 15:40:42 +02:00
vurtun
36bec32c56
added ttf file command argument
2015-04-10 21:50:42 +02:00
vurtun
a88a9ced86
removed unused test function
2015-04-10 18:40:48 +02:00
vurtun
be8c85f184
major update font handling update
2015-04-10 18:35:17 +02:00
vurtun
3ec9a0de9f
added align for labels & fixed selecting other panels if one panel is minimized
2015-04-08 11:54:33 +02:00
vurtun
70b27e07b1
panel header is now mandetory
2015-04-07 18:37:06 +02:00
vurtun
8d0aba0dc6
hides scaler on minimize + tweaked clip panel rect
2015-04-07 18:28:29 +02:00
vurtun
0a7b0b44f8
fixed slider step
2015-04-07 18:20:28 +02:00
vurtun
c602c60843
added input field to example
2015-04-05 19:01:19 +02:00
vurtun
767d5436cb
updated demo and added example
2015-04-05 18:52:40 +02:00
vurtun
db82d3c104
changed clip memory management + fixed opengl demo + uses correct MAkefile
2015-04-05 17:19:44 +02:00
vurtun
7c3860f173
compressed button events
2015-04-04 18:32:46 +02:00
vurtun
79950c83c4
fixed typo + used correct boolean type
2015-04-04 18:26:22 +02:00
vurtun
226dbee7cd
lean & mean demo
2015-04-02 20:09:03 +02:00
vurtun
260b7da2cc
added layout tabs
2015-03-31 18:29:45 +02:00
vurtun
4fb9870f33
added panel tabs
2015-03-30 17:31:55 +02:00
vurtun
667b4bcf29
removed need for string length in api
2015-03-30 00:51:07 +02:00
vurtun
4e7f37243c
small changes
2015-03-27 19:07:22 +01:00
vurtun
e60644e4f3
moved font to demo directory
2015-03-27 17:24:54 +01:00
vurtun
3489caac85
moved opengl to demo directory
2015-03-27 17:19:49 +01:00