John Lindgren
07a83c19f0
config: Add support for font slant and weight
2022-09-15 21:48:05 +01:00
Consolatis
15a5b710db
alt-tab preview: restore functionality after move to scene-graph
2022-08-28 20:40:36 +02:00
Consolatis
fb36463c34
common/graphic-helpers: Add cairo helpers
2022-08-20 22:16:52 +01:00
Consolatis
8c8583ef94
common/graphic-helpers: Add multi_rect
2022-08-20 22:16:52 +01:00
Johan Malm
429df42a8f
menu: render submenu arrows
2022-08-12 11:16:17 +02:00
Johan Malm
6a750d465e
font: remove unused font_buffer_update()
2022-08-12 11:16:17 +02:00
Joshua Ashton
6c2bbb42ea
common: Add helpers for raising/lowering FD limit
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2022-07-17 00:59:23 +00:00
Consolatis
d309df6f87
src/common/font.c: Add font_width()
2022-06-15 16:14:02 +01:00
Consolatis
5d79911244
Add scaled_font_buffer implementation
2022-06-14 22:03:08 +01:00
Consolatis
c3f07aacf0
Add abstract scaled_scene_buffer implementation
2022-06-14 22:03:08 +01:00
Consolatis
f3a685155d
common/font: Add scale argument
2022-06-14 22:03:08 +01:00
Consolatis
efd9155513
Chase wlroots: children are now only availabe in tree nodes
...
Chases wlroots 71f8a48d380701de1e3331d53d470bd76f5f643b
wlr_scene: Move children list from wlr_scene_node to wlr_scene_tree
2022-06-07 07:13:37 +01:00
Consolatis
163179dda1
Chase wlroots: wlr_scene_surface
...
To update the wlroots subproject use
meson subprojects update wlroots
2022-05-26 06:48:00 +01:00
Johan Malm
5b34c81768
Fix trivial coding style breaches
2022-04-04 20:53:36 +01:00
Consolatis
5862b65f89
Convert SSD to scene nodes
2022-02-23 21:47:01 +00:00
Consolatis
044388a5cd
Prepare to move from wlr_texture to lab_data_buffer
2022-02-23 21:47:01 +00:00
Johan Malm
e227de1346
Add SPDX identifiers
2021-11-13 21:56:53 +00:00
Johan Malm
74f01af5db
buf.h: update documentation
2021-10-13 21:30:44 +01:00
Johan Malm
a668f6f73d
font: font_texture_create() support font size argument
2021-08-20 20:20:49 +01:00
Johan Malm
5ecf0e1e7e
Make font_texture_create() more generic
...
Move font_texture_create() to font.c so it can be used for purposes other
than rendering the menu, for example server side decoration.
Refactor menu.c and menu.h to use this more generic font_texture_create()
2021-08-07 08:35:46 +01:00
Johan Malm
82e47ac1f5
Remove src/common/log.c
...
Use wlr_log() instead
2021-07-23 21:15:55 +01:00
Johan Malm
20fd8f59a7
Remove info() and die()
2021-07-22 21:30:17 +01:00
Johan Malm
afe666fd6e
action: expand shell variables before execvp()
...
Expanding shell variables, including tilde, enables the following type
of keybind:
<keyboard>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>bash ~/mute-script.sh</command>
</action>
</keybind>
</keyboard>
Fixes issue #32
2021-06-30 19:56:31 +01:00
Johan Malm
9f61a819fc
Add zfree
2021-02-21 21:59:53 +00:00
Johan Malm
9eac349046
rc.xml: move nodename() to nodename.c
2021-02-16 21:04:49 +00:00
Johan Malm
a97428020e
rc.xml: split out rstrip() to string-helpers.c
2021-02-16 21:03:38 +00:00
Johan Malm
58fdf9776f
Move pango_cairo_font_map_set_default() to font.c
2020-10-31 15:41:06 +00:00
Johan Malm
e99e1003d0
string-helpers.h: fix typo in header guard
...
Reported-by: Jan Beich (@jbeich)
2020-10-28 20:41:46 +00:00
Johan Malm
aab7b71520
log: add die() for convenience
2020-10-23 20:23:56 +01:00
Johan Malm
7e55e2cd09
Add string-helpers.c
2020-10-09 19:46:59 +01:00
Johan Malm
581f4ea0c3
s/BUG_ON/assert/
2020-09-28 20:53:59 +01:00
Johan Malm
2a17df0f8b
Add log.c with info() and warn()
2020-08-12 19:37:44 +01:00
Johan Malm
f003abf608
Simplify and merge {config,theme}-dir.c
2020-08-10 17:24:17 +01:00
Johan Malm
649437e336
include/: tidy up header files
2020-08-07 20:21:14 +01:00
Johan Malm
6627a47305
s/xbm_read_file()/grab_file/()
2020-08-06 15:01:08 +01:00
Johan Malm
2297e43cc0
Base rc.title_height on font vertical extents
2020-08-05 20:14:17 +01:00
Johan Malm
4d1363dcae
include/: refactor header files more
2020-08-03 20:56:38 +01:00
Johan Malm
53266a0d5a
include/: refactor header files
2020-07-31 21:31:03 +01:00