mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
font: use PangoStyle enum
This commit is contained in:
parent
94ead35227
commit
58d22d05e2
3 changed files with 6 additions and 17 deletions
|
|
@ -5,16 +5,10 @@
|
|||
|
||||
struct lab_data_buffer;
|
||||
|
||||
enum font_slant {
|
||||
FONT_SLANT_NORMAL = 0,
|
||||
FONT_SLANT_ITALIC,
|
||||
FONT_SLANT_OBLIQUE
|
||||
};
|
||||
|
||||
struct font {
|
||||
char *name;
|
||||
int size;
|
||||
enum font_slant slant;
|
||||
PangoStyle slant;
|
||||
PangoWeight weight;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue