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