32#ifndef __BORDER_LAYOUT_H__
33#define __BORDER_LAYOUT_H__
51#define CH_WIDEGT_BORDERLAYOUT 0x20
#define XE_EXPORT
Definition _xeneva.h:46
#define XE_EXTERN
Definition _xeneva.h:50
ChBorderAlignment
Definition border_layout.h:43
@ CH_BORDER_ALIGN_CENTER
Definition border_layout.h:44
@ CH_BORDER_ALIGN_LEFT
Definition border_layout.h:47
@ CH_BORDER_ALIGN_BOTTOM
Definition border_layout.h:46
@ CH_BORDER_ALIGN_TOP
Definition border_layout.h:45
@ CH_BORDER_ALIGN_RIGHT
Definition border_layout.h:48
struct _ChBorderLayout_ ChBorderLayout
XE_EXPORT ChBorderLayout * ChCreateBorderLayout(int x, int y, int w, int h, int hgap, int vgap)
ChCreateBorderLayout – create a new border layout with given parameters.
Definition border_layout.cpp:305
XE_EXPORT void ChBorderLayoutAdd(ChBorderLayout *l, ChWidget *w, ChBorderAlignment align)
ChBorderLayoutAdd – add a widget to the border layout by its alignment.
Definition border_layout.cpp:199
XE_EXPORT void ChBorderLayoutSetDefaults(ChBorderLayout *l, int sideW, int barH)
ChBorderLayoutSetDefaults – set default border geometry.
Definition border_layout.cpp:186
XE_EXPORT void ChBorderLayoutDoLayout(ChBorderLayout *l)
ChBorderLayoutDoLayout – reorganise/refresh sel.
Definition border_layout.cpp:81
XE_EXPORT void ChBorderLayoutResize(ChBorderLayout *l, int x, int y, int w, int h)
ChBorderLayoutResize – resize the border layout with given parameter.
Definition border_layout.cpp:218
XE_EXPORT void ChBorderLayoutSetPreferred(ChBorderLayout *l, ChWidget *w, int pw, int ph)
ChBorderLayoutSetPreferred – set preferred border width and height for widget geometry.
Definition border_layout.cpp:169
int h
Definition layout.c:118
Definition border_layout.h:53
int prefW
Definition border_layout.h:56
ChBorderAlignment align
Definition border_layout.h:55
ChWidget * widget
Definition border_layout.h:54
int prefH
Definition border_layout.h:57
Definition border_layout.h:60
int defSideW
Definition border_layout.h:64
int hgap
Definition border_layout.h:63
ChWidget base
Definition border_layout.h:61
int vgap
Definition border_layout.h:63
list_t * items
Definition border_layout.h:62
int defBarH
Definition border_layout.h:65