mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
theme: Implement window.label.text.justify
Crosses off 6.12.1 Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
parent
140c245880
commit
8b8e37c268
3 changed files with 51 additions and 2 deletions
|
|
@ -10,6 +10,12 @@
|
|||
#include <stdio.h>
|
||||
#include <wlr/render/wlr_renderer.h>
|
||||
|
||||
enum lab_justification {
|
||||
LAB_JUSTIFY_LEFT,
|
||||
LAB_JUSTIFY_CENTER,
|
||||
LAB_JUSTIFY_RIGHT,
|
||||
};
|
||||
|
||||
struct theme {
|
||||
int border_width;
|
||||
int padding_height;
|
||||
|
|
@ -22,6 +28,7 @@ struct theme {
|
|||
|
||||
float window_active_label_text_color[4];
|
||||
float window_inactive_label_text_color[4];
|
||||
enum lab_justification window_label_text_justify;
|
||||
|
||||
/* buttons */
|
||||
float window_active_button_iconify_unpressed_image_color[4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue