Commit Graph

341 Commits

Author SHA1 Message Date
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