vurtun
e015c447ec
Added defines to prevent symbol collision with stb
...
If you already have stb_rect_pack.h and stb_truetype.h inside your
project zahnrad will cause symbol collisions since it will import
the implementation a second time.
To prevent this from happening I added two defines which can be set
to 1 to disable the implementation generation of both stb_truetype.h
as well as stb_rect_pack.h in zahnrad.
2016-01-21 00:41:02 +01:00
vurtun
c98153b59a
removed need to pass string id to combobox
2016-01-20 19:36:40 +01:00
Micha Mettke
14a38dde61
Merge pull request #44 from richi/master
...
Show and hide onscreen keyboard
2016-01-20 13:49:57 +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
richi
ba9ca057f2
Merge remote-tracking branch 'vurtun/master'
2016-01-20 11:00:32 +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
Micha Mettke
a2e741d540
Merge pull request #43 from richi/master
...
Text input on iOS and tvOS
2016-01-20 02:15:40 +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
vurtun
d32d2f9ea3
loose 80 character column width limit
2016-01-19 15:25:38 +01:00
vurtun
36c97af82d
removed progressbar rounding to prevent drawing bug
2016-01-18 11:05:29 +01:00
Micha Mettke
091df6ed73
Merge pull request #42 from richi/master
...
Backends for Mac OS X, iOS and tvOS
2016-01-17 16:57:07 +01:00
richi
52a936d98b
Small bug fix in zr_free_window
...
win->next can be zero and win->prev probably as well.
2016-01-17 16:42:29 +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
9f067e37c2
added helper to verify zr_layout_push and zr_layout_pop
2016-01-16 22:08:08 +01:00
vurtun
5a82e1acac
provided 'zr_draw_symbol' with own style structure for better readability
2016-01-16 21:56:23 +01:00
vurtun
02a8a682db
fixed list window list removing
2016-01-16 21:30:56 +01:00
vurtun
a8ea26e9f4
updated contributing.md
2016-01-15 13:17:37 +01:00
vurtun
53ed2563a8
added touch padding to button + toggles + fixed non-active edit box scrolling
2016-01-15 13:10:38 +01:00
vurtun
4a49bfe64f
updated opengl demos
2016-01-14 15:25:35 +01:00
vurtun
0c9b5ba1c7
devided AA into line and shape AA
2016-01-14 14:58:38 +01:00
vurtun
127124c7b9
fixed #40
2016-01-14 13:24:24 +01:00
vurtun
d21af11d9d
fixed window drawing without header
2016-01-13 19:58:20 +01:00
vurtun
e40e7de0d9
fixed border of minimized windows
2016-01-13 19:33:32 +01:00
vurtun
6ee7b26aec
removed delayed frame for window minimizing/maximizing
2016-01-13 18:57:04 +01:00
vurtun
daead24a67
fixed changing window activation even if contextual menu is active
2016-01-13 16:59:21 +01:00
vurtun
d0e3f73044
fixed property dragging
2016-01-13 16:43:52 +01:00
vurtun
6ee942d56b
fixed selectable for button up
2016-01-13 16:30:35 +01:00
vurtun
4740f8871f
changed button clicks to fire on button up instead of down
2016-01-13 16:20:58 +01:00
vurtun
686da73ce8
added some features
2016-01-13 14:32:53 +01:00
vurtun
dd5929f3c3
added contributing.md
2016-01-13 00:34:05 +01:00
vurtun
ef050d650c
fixed some x86 gcc warnings
2016-01-12 22:53:09 +01:00
vurtun
1ef41a3335
converted double and 64-values to 32-bit values
2016-01-12 22:42:00 +01:00
vurtun
6df415f5e0
fixed zr_size size
2016-01-12 22:01:17 +01:00
vurtun
ebe91cef38
delayed window activationover one frame to prevent unwanted clicking behavior
2016-01-12 12:09:21 +01:00
vurtun
48e21814e4
fixed #37
2016-01-12 11:44:29 +01:00
vurtun
6c74f153b5
hopefully fixed #36 and fixed clickable non-visible tree header
2016-01-12 01:02:57 +01:00
vurtun
ef17e54c88
zr_checkbox now returns 1 if toggled
2016-01-10 18:13:49 +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
70598bc887
updated contextual in example/demo
2016-01-09 13:59:34 +01:00
vurtun
8731c3d89e
updated memory constants
2016-01-09 13:56:56 +01:00
vurtun
6731c4763b
2nd try to get tooltip to stop overlapping nonblocking popups
2016-01-08 14:16:37 +01:00
vurtun
598692ac00
update Readme
2016-01-08 14:15:56 +01:00
vurtun
8d4284184c
simplified having more than contextual menu
2016-01-08 00:30:40 +01:00
vurtun
0a0ac13b57
fixed typo
2016-01-07 19:25:59 +01:00
vurtun
04d0b75108
split draw rectangle function
2016-01-07 16:00:25 +01:00
vurtun
27fb9d8189
added docu for own sqrt/sin/cos functions
2016-01-07 15:10:25 +01:00