Commit Graph

386 Commits

Author SHA1 Message Date
K. Lange
ac6150e956 decor: Add menu option for minimize 2023-04-16 14:44:41 +09:00
K. Lange
1d782de83a panel: inform compositor of window tray locations 2023-04-16 10:46:11 +09:00
K. Lange
68cb3ee1e3 yutani: Allow panel to inform compositor iconified window position/size 2023-04-16 10:45:55 +09:00
K. Lange
3456075a29 panel: don't focus windows when closing them from the context menu 2023-04-15 08:45:00 +09:00
K. Lange
27d944c5cf decor: consider minimize button when collapsing titles 2023-04-15 08:44:41 +09:00
K. Lange
2a18c192e4 yutani: window minimization, first pass 2023-04-14 20:52:01 +09:00
K. Lange
9a68260647 menu: fixup overflowing rendering of menubars 2023-04-08 22:13:35 +09:00
K. Lange
39b701969b kuroko: fixup menu bindings? 2023-04-08 15:47:00 +09:00
K. Lange
3c2464aa55 text: expose new path painting in Kuroko bindings 2023-04-08 14:33:10 +09:00
K. Lange
6d2df80628 text: Path painting with textures from sprites 2023-04-08 14:32:46 +09:00
K. Lange
fd5070e2d3 yutani: allow mainloop to be set up early so tasks can be scheduled 2023-04-08 14:31:54 +09:00
K. Lange
a99b646430 graphics: be more efficient at tracking mapped texture coordinates 2023-04-08 14:27:47 +09:00
K. Lange
f9b76c20d1 text: adhere to context clipping when painting paths 2023-03-30 17:12:44 +09:00
K. Lange
c7ea083320 text: Contour edges don't have directions, let's make them different 2023-03-30 16:21:47 +09:00
K. Lange
8d27160b9e text: expose stroke-to-contour step
Not super useful right now since these shapes can have weird edges,
but might be useful for doing silly things with transformations,
and in the future we may have methods to simplify the paths to make
them more useful as a "stroke to path" step.
2023-03-30 16:12:48 +09:00
K. Lange
4a4c0a3436 kuroko: bind props for TransformMatrix 2023-03-30 16:03:54 +09:00
K. Lange
d7c64d7e56 graphics: support shear operation on transformation matrices 2023-03-30 14:52:26 +09:00
K. Lange
f9ef88ffc0 kuroko: bind class for transformation matrices 2023-03-30 13:58:28 +09:00
K. Lange
b550ebaf86 text: apply affine transformation matrices to Contours 2023-03-30 13:58:04 +09:00
K. Lange
5c96b9408b text: Cleanup downstream libs, expose new methods in Kuroko 2023-03-30 10:40:27 +09:00
K. Lange
606d7b8bb8 text: Expose vector engine, methods for drawing text to paths 2023-03-30 10:39:32 +09:00
K. Lange
6f6cc71d3f kuroko: bindings for Subregions 2023-03-28 11:05:18 +09:00
K. Lange
0f56a62f3c text: New path stroking algorithm 2023-03-27 17:13:05 +09:00
K. Lange
527de1fe48 kuroko: expose path rasterizing functions directly 2023-03-27 09:20:45 +09:00
K. Lange
06807a20f9 text: Obtain ascender + descender sizes 2023-03-25 17:29:15 +09:00
K. Lange
8d7710c064 yutani: exit mainloop on session-end
This should probably call a callback, but just exiting the loop
is a good start...
2023-03-02 17:40:03 +09:00
K. Lange
64770f3db3 panel: fix signature mismatch on widget_update_volume 2023-03-02 09:51:28 +09:00
K. Lange
275e97739e yutani: replace old _yutani module 2023-02-22 10:44:37 +09:00
K. Lange
14994141c2 yutani: Don't raise new exception when fswait is interrupted 2023-02-20 09:26:42 +09:00
K. Lange
7c0844a908 yutani: Font.width is a method 2023-02-19 20:34:59 +09:00
K. Lange
2ffd929032 yutani: bind more functions 2023-02-16 21:33:44 +09:00
K. Lange
33d38e0182 markup: Fix leaks in container types in markup parser 2023-02-16 12:25:27 +09:00
K. Lange
75cbf09a37 yutani: Support custom menu entries widgets 2023-02-15 23:45:01 +09:00
K. Lange
84817dbb02 yutani: fix incorrect allocation of menu bar objects 2023-02-15 20:29:42 +09:00
K. Lange
70ee297177 yutani: use : in parseArgs for __init__ methods in krk bindings 2023-02-15 20:29:29 +09:00
K. Lange
b003fe060c menu: fix silly old bug with submenu highlighting
When using the keyboard to close a submenu, its entry in the parent
window would remain highlighted when navigating to the next entry
as the menu's child was still set to that submenu's child and we
were not checking if it was still open.
2023-02-15 20:26:59 +09:00
K. Lange
436a772a8c menu: skip separators with keyboard navigation 2023-02-15 20:24:29 +09:00
K. Lange
2f67ed17ae yutani: Don't use __new__ to build wrapper types, it's a pain to subclass with 2023-02-14 22:03:37 +09:00
K. Lange
0b3f6ffab2 yutani: Initial rewritten yutani module for kuroko 2023-02-12 21:42:59 +09:00
K. Lange
f23b9c6d81 kuroko: Pull in latest 1.4.0a1 2023-02-12 14:15:55 +09:00
K. Lange
ed05f07868 panel: Adjust clockface, add counterweight to second hand 2022-11-30 22:25:04 +09:00
K. Lange
b10de37762 panel: Replace clock widget with recreation of classic theme 2022-11-30 06:14:10 +09:00
K. Lange
ace54766fe panel: Allow widgets to request faster update rate for animations 2022-11-29 23:18:19 +09:00
K. Lange
c130570aad panel: fixup inefficient window list redrawing 2022-09-05 21:03:02 +09:00
K. Lange
9942ec3889 graphics: fix bad bounds checks in draw_sprite_alpha* 2022-08-22 21:12:54 +09:00
K. Lange
af69cd6369 text: Allow x-adjusted glyph rendering, for better kerning in caches 2022-08-22 13:36:30 +09:00
K. Lange
5f56820331 markup_text: Implement a glyph cache and expose a more detailed API 2022-08-22 12:29:34 +09:00
K. Lange
d7f73b3970 text: Add methods for rasterizing single glyphs 2022-08-22 12:28:39 +09:00
K. Lange
abe66fb45b yutani: pex read() can return error code 2022-08-21 19:01:05 +09:00
K. Lange
89325bb409 kuroko: add waitpid bindings (temporary; should be in 'os') 2022-08-17 19:31:33 +09:00