Commit graph

146 commits

Author SHA1 Message Date
hippoz
9aac4865dc
reuse pango layouts for text nodes 2023-04-13 04:57:54 +03:00
hippoz
68211499e8
proper invalidation on Expose xcb event 2023-04-13 04:36:53 +03:00
hippoz
793918f86f
fix animation timeout 2023-04-13 04:11:15 +03:00
hippoz
7b75cdb768
fix animations target and compiler warnings 2023-04-13 03:47:38 +03:00
hippoz
88aa8f8202
add info about prof.c 2023-04-13 00:28:29 +03:00
hippoz
699091f9e1
raven 2.0 2023-04-13 00:27:08 +03:00
hippoz
d5212ea574
remove unneeded debug logs 2022-11-10 20:19:04 +02:00
hippoz
6e16ab35cd
fix scrolling affecting all widgets 2022-11-10 20:18:28 +02:00
hippoz
3fa1647fc9
add application event loop "wake-up" 2022-11-10 20:17:37 +02:00
hippoz
e76e2b43a1
add dirty hack for documentlayout 2022-10-29 13:08:00 +03:00
hippoz
ce47b21e02
fix include paths 2022-10-29 00:10:42 +03:00
hippoz
55b19a3834
allow using custom class for window in application 2022-10-28 23:58:07 +03:00
hippoz
9b2655beb2
fix relayout subtree logic 2022-10-28 23:24:07 +03:00
hippoz
abbedd9db1
fix documentlayout by requiring fixed width of target 2022-10-28 19:46:33 +03:00
hippoz
fc59ad6e10
add "inherit_secondary_dimension" to listlayout 2022-10-28 02:45:39 +03:00
hippoz
a2120328f1
somewhat limit scrolling extents 2022-10-28 02:35:42 +03:00
hippoz
dfa13dc46d
add "ListLayout" and remove columnlayout and rowlayout 2022-10-28 02:26:31 +03:00
hippoz
cd96edba8b
slightly reduce button padding 2022-10-26 22:15:47 +03:00
hippoz
e6be3bb378
add basic multi-window support 2022-10-26 22:13:07 +03:00
hippoz
035522591f
hopefully improve behavior when widgets overlap 2022-10-19 00:23:25 +03:00
hippoz
854e7d1d74
remove debug logging 2022-10-19 00:18:03 +03:00
hippoz
8c437b1d80
improve ui colors 2022-10-18 23:51:43 +03:00
hippoz
c3a5cce4f9
fix example program repainting 2022-10-18 23:32:05 +03:00
hippoz
f0acf9522d
silly boxlayout automatic sizing 2022-10-18 23:28:48 +03:00
hippoz
13047e73a7
don't reflow on listview elements update 2022-10-17 11:34:57 +03:00
hippoz
4f85dafa28
fix listview selection bug 2022-10-17 07:39:25 +03:00
hippoz
e178428742
add basic TextInput class with support for minimal text editing 2022-10-16 22:52:23 +03:00
hippoz
9ef5cbab9b
change name of box.contains_point and contains_box 2022-10-16 14:38:06 +03:00
hippoz
7cd8169622
fix redundant reflow on application start, might break on some x implementations 2022-10-15 22:54:54 +03:00
hippoz
748bd60194
re-add default batch to window 2022-10-15 22:41:13 +03:00
hippoz
dd894d1024
much improved paint and reflow scheduling 2022-10-15 21:35:00 +03:00
hippoz
002318c213
improve growing behavior of widgets 2022-10-15 14:51:58 +03:00
hippoz
805c9ff194
fix name of row and column layout 2022-10-15 00:55:54 +03:00
hippoz
f22979c7cc
add list view and other improvements 2022-10-15 00:54:46 +03:00
hippoz
407a86de79
improve button enum 2022-10-01 17:08:15 +03:00
hippoz
a4e5d47690
improve style naming 2022-09-28 12:41:52 +03:00
hippoz
e8f095bfc4
improve boxlayout growing 2022-08-29 15:22:17 +03:00
hippoz
43eec85adc
add a way to pre-render svgs to fix duplication of surfaces 2022-07-31 23:14:16 +03:00
hippoz
d07340217c
fix logging header file and stop throwing exceptions 2022-07-30 17:01:59 +03:00
hippoz
c02f286f01
fix boxlayout adding extra spacing 2022-07-29 03:02:54 +03:00
hippoz
55b8353d6d
remove on_click from button and add it to the Widget class 2022-07-28 18:54:29 +03:00
hippoz
909f911260
add margin and spacing to boxlayout 2022-07-28 18:54:06 +03:00
hippoz
a7051174a9
add SvgWidget 2022-07-27 03:26:58 +03:00
hippoz
4d7cb99fb1
add on_after_layout 2022-07-27 03:26:51 +03:00
hippoz
cc1d49c435
add microtask system and temporary logging system 2022-07-27 02:32:33 +03:00
hippoz
9f52cad7e9
dont accept events if we did not init yet 2022-07-26 17:26:18 +03:00
hippoz
913240c33b
increase scroll step 2022-07-26 17:26:02 +03:00
hippoz
b6c6f1e78c
fix batch system 2022-07-26 04:47:17 +03:00
hippoz
3c5c5b6b51
add batch in add_child 2022-07-26 04:47:03 +03:00
hippoz
360952c25d
add label text align option 2022-07-26 02:44:09 +03:00