add font weight and font slant enumerations
Dana Jansens danakj@orodu.net
1 files changed,
14 insertions(+),
0 deletions(-)
jump to
M
render/render.h
→
render/render.h
@@ -84,6 +84,20 @@ RR_JUSTIFY_CENTER,
RR_JUSTIFY_RIGHT } RrJustify; +typedef enum { + RR_FONTWEIGHT_LIGHT, + RR_FONTWEIGHT_NORMAL, + RR_FONTWEIGHT_SEMIBOLD, + RR_FONTWEIGHT_BOLD, + RR_FONTWEIGHT_ULTRABOLD +} RrFontWeight; + +typedef enum { + RR_FONTSLANT_NORMAL, + RR_FONTSLANT_ITALIC, + RR_FONTSLANT_OBLIQUE +} RrFontSlant; + struct _RrSurface { RrSurfaceColorType grad; RrReliefType relief;