Commit graph

173 commits

Author SHA1 Message Date
hippoz
d3d12b6e08
improve terms 2023-09-01 19:22:11 +03:00
hippoz
e659e6f3e2
layout optimizations 2023-09-01 05:05:35 +03:00
hippoz
ec15ed6f9f
add better centering to box layout 2023-08-31 23:27:48 +03:00
hippoz
023c876641
update single header distribution 2023-05-24 23:03:05 +03:00
hippoz
ce685968b2
add small example program 2023-05-24 23:02:58 +03:00
hippoz
98288a60cd
add gitignore for example program 2023-05-24 23:02:00 +03:00
hippoz
ae80e1776f
fix text node extent invalidation 2023-05-24 23:00:17 +03:00
hippoz
f4fcca122b
allow for centering on box layout 2023-05-24 22:59:25 +03:00
hippoz
8b56dcd3dd
add convenience function to box layout to set all margins 2023-05-24 21:11:00 +03:00
hippoz
fd482ff455
add single-header bundler 2023-05-24 19:02:03 +03:00
hippoz
2a07dc1061
fix delete key for text editing 2023-05-21 20:10:47 +03:00
hippoz
1d7c2c6f92
add proper text editing functionality 2023-05-20 18:30:40 +03:00
hippoz
7901afc47c
fix text node size handing and add wrapping support 2023-05-20 18:30:21 +03:00
hippoz
091bb0a57b
improve performance by a large margin by using a hash table for dispatch targets 2023-04-29 05:35:09 +03:00
hippoz
1e2e11cd2b
overhaul and improve performance of computed extents 2023-04-27 00:39:31 +03:00
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