blob: e797e51e42c21b27bbe6b71ce80f2b72c9b596f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef ROFI_HBOX_H
#define ROFI_HBOX_H
#include "widget.h"
/**
* @defgroup box box
* @ingroup widgets
*
* @{
*/
typedef struct _box box;
typedef enum
{
BOX_HORIZONTAL,
BOX_VERTICAL
} boxType;
box * box_create ( boxType type, short x, short y, short w, short h );
void box_add ( box *box, widget *child, gboolean expand, gboolean end );
int box_get_fixed_pixels ( box *box );
void box_set_padding ( box * box, unsigned int padding );
/*@}*/
#endif // ROFI_HBOX_H
|