use more precise types
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
34fe130307
commit
ef85ed92b7
6
draw.h
6
draw.h
|
@ -90,10 +90,10 @@ typedef struct
|
|||
{
|
||||
xcb_pixmap_t pixmap;
|
||||
xcb_visualtype_t *visual;
|
||||
int width;
|
||||
int height;
|
||||
uint16_t width;
|
||||
uint16_t height;
|
||||
int phys_screen;
|
||||
int depth;
|
||||
uint8_t depth;
|
||||
cairo_t *cr;
|
||||
cairo_surface_t *surface;
|
||||
PangoLayout *layout;
|
||||
|
|
|
@ -87,7 +87,7 @@ typedef struct
|
|||
/** Wibox name */
|
||||
char *name;
|
||||
/** Box width and height */
|
||||
int width, height;
|
||||
uint16_t width, height;
|
||||
/** Box position */
|
||||
position_t position;
|
||||
/** Alignment */
|
||||
|
|
|
@ -45,9 +45,9 @@ extern awesome_t globalconf;
|
|||
void
|
||||
simplewindow_init(simple_window_t *sw,
|
||||
int phys_screen,
|
||||
int x, int y,
|
||||
unsigned int w, unsigned int h,
|
||||
unsigned int border_width,
|
||||
int16_t x, int16_t y,
|
||||
uint16_t w, uint16_t h,
|
||||
uint16_t border_width,
|
||||
position_t position,
|
||||
const xcolor_t *fg, const xcolor_t *bg)
|
||||
{
|
||||
|
|
|
@ -40,7 +40,7 @@ typedef struct simple_window_t
|
|||
struct
|
||||
{
|
||||
/** The window border width */
|
||||
int width;
|
||||
uint16_t width;
|
||||
/** The window border color */
|
||||
xcolor_t color;
|
||||
} border;
|
||||
|
@ -51,7 +51,7 @@ typedef struct simple_window_t
|
|||
} simple_window_t;
|
||||
|
||||
void simplewindow_init(simple_window_t *s,
|
||||
int, int, int, unsigned int, unsigned int, unsigned int,
|
||||
int, int16_t, int16_t, uint16_t, uint16_t, uint16_t,
|
||||
position_t, const xcolor_t *, const xcolor_t *);
|
||||
|
||||
void simplewindow_wipe(simple_window_t *);
|
||||
|
|
Loading…
Reference in New Issue