Commit graph

158 commits

Author SHA1 Message Date
hippoz
2ca13c6334
we don't need to relayout on each scroll 2023-04-26 23:41:18 +03:00
hippoz
7f7a6684e4
remove update_layout from text-node, as it doesn't seem to be needed 2023-04-26 16:44:51 +03:00
hippoz
d636de027b
fix duplicate scroll events 2023-04-26 16:26:17 +03:00
hippoz
dc83e09f43
improve performance by caching the index of the last component node 2023-04-25 17:50:44 +03:00
hippoz
8e28a79e88
greatly improve performance by caching text size 2023-04-25 17:50:05 +03:00
hippoz
996d6fb520
add a bunch of buttons to the test application for testing performance 2023-04-25 15:11:05 +03:00
hippoz
802d611650
fix node_by_point not properly considering window_rel 2023-04-25 15:10:48 +03:00
hippoz
338e3f2d58
support growing target for scrollable node 2023-04-25 15:10:27 +03:00
hippoz
d8601f23f5
improve text input and add caret 2023-04-25 14:39:37 +03:00
hippoz
3b534ad231
actually, let's not stop invalidating the root node on configure_notify 2023-04-15 21:37:49 +03:00
hippoz
9302ac91b7
very basic text input 2023-04-15 21:29:10 +03:00
hippoz
601a0c3f06
improve animation 2023-04-13 18:34:16 +03:00
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