mirror of
https://github.com/swaywm/sway.git
synced 2026-03-05 01:40:55 -05:00
Merge c3587a10bd into 845cdb190f
This commit is contained in:
commit
bbac6e298b
10 changed files with 165 additions and 87 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
struct sway_text_node {
|
||||
int width;
|
||||
int max_width;
|
||||
double max_width;
|
||||
int height;
|
||||
int baseline;
|
||||
bool pango_markup;
|
||||
|
|
@ -21,7 +21,7 @@ void sway_text_node_set_color(struct sway_text_node *node, float color[4]);
|
|||
|
||||
void sway_text_node_set_text(struct sway_text_node *node, char *text);
|
||||
|
||||
void sway_text_node_set_max_width(struct sway_text_node *node, int max_width);
|
||||
void sway_text_node_set_max_width(struct sway_text_node *node, double max_width);
|
||||
|
||||
void sway_text_node_set_background(struct sway_text_node *node, float background[4]);
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ struct sway_container {
|
|||
|
||||
char *title; // The view's title (unformatted)
|
||||
char *formatted_title; // The title displayed in the title bar
|
||||
int title_width;
|
||||
double title_width;
|
||||
|
||||
char *title_format;
|
||||
|
||||
|
|
@ -360,6 +360,8 @@ bool container_is_sticky_or_child(struct sway_container *con);
|
|||
*/
|
||||
int container_squash(struct sway_container *con);
|
||||
|
||||
float container_scale_factor(struct sway_container *con);
|
||||
|
||||
void container_arrange_title_bar(struct sway_container *con);
|
||||
|
||||
void container_update(struct sway_container *con);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue