Defines | Enumerations | Functions

Base Class Utilities
[Base Class]

Collaboration diagram for Base Class Utilities:

Defines

#define iupMAX(_a, _b)   ((_a)>(_b)?(_a):(_b))
#define iupROUND(_x)   ((int)((_x)>0? (_x)+0.5: (_x)-0.5))
#define iupCOLOR8TO16(_x)   ((unsigned short)(_x*257))
#define iupCOLOR16TO8(_x)   ((unsigned char)(_x/257))
#define iupBYTECROP(_x)   ((unsigned char)((_x)<0?0:((_x)>255)?255:(_x)))
#define IUP_ALIGN_ABOTTOM   IUP_ALIGN_ARIGHT
#define IUP_ALIGN_ATOP   IUP_ALIGN_ALEFT

Enumerations

enum  { IUP_ALIGN_ALEFT, IUP_ALIGN_ACENTER, IUP_ALIGN_ARIGHT }
enum  { IUP_SB_NONE, IUP_SB_HORIZ, IUP_SB_VERT }

Functions

int iupRound (double x)
int iupBaseGetScrollbar (Ihandle *ih)
char * iupBaseNativeParentGetBgColor (Ihandle *ih)
void iupBaseCallValueChangedCb (Ihandle *ih)

Detailed Description

See iup_classbase.h