函数名 |
PX_Object * PX_Object_RadioBoxCreate(px_memorypool *mp, PX_Object *Parent,px_int x,px_int y,px_int Width,px_int Height,const char text[],PX_FontModule *fm); |
功能 |
创建单选框 |
mp |
内存池 |
Parent |
父对象 |
x,y |
平面坐标 |
width,height |
宽度,高度 |
text |
单选框文本 |
fm |
字模 |
|
如果创建成功返回对象指针,否者返回PX_NULL |
函数名 |
px_bool PX_Object_RadioBoxGetCheck(PX_Object *Object); |
功能 |
取得单选框的选中状态 |
Object |
对象指针 |
|
如果选中返回PX_TRUE,否者PX_FALSE |
函数名 |
px_void PX_Object_RadioBoxSetBackgroundColor(PX_Object *Object,px_color clr); |
功能 |
设置单选框背景颜色 |
Object |
对象指针 |
clr |
颜色 |
|
|
函数名 |
px_void PX_Object_RadioBoxSetBorderColor(PX_Object *Object,px_color clr); |
功能 |
设置单选框边框颜色 |
Object |
对象指针 |
clr |
颜色 |
|
|
函数名 |
px_void PX_Object_RadioBoxSetPushColor(PX_Object *Object,px_color clr); |
功能 |
设置单选框按下颜色 |
Object |
对象指针 |
clr |
颜色 |
|
|
函数名 |
px_void PX_Object_RadioBoxSetCursorColor(PX_Object *Object,px_color clr); |
功能 |
设置单选框指针颜色 |
Object |
对象指针 |
clr |
颜色 |
|
|
函数名 |
px_void PX_Object_RadioBoxSetText(PX_Object *Object,const px_char text[]); |
功能 |
设置单选框文本 |
Object |
对象指针 |
text |
文本 |
|
|
函数名 |
px_void PX_Object_RadioBoxSetTextColor(PX_Object *Object,px_color clr); |
功能 |
设置单选框文本颜色 |
Object |
对象指针 |
clr |
文本颜色 |
|
|
函数名 |
px_void PX_Object_RadioBoxSetCheck(PX_Object *Object,px_bool check); |
功能 |
设置单选框选中状态 |
Object |
对象指针 |
check |
选中状态 |
|
|