format
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@212 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
39fdd51efc
commit
b07ee601cd
12 changed files with 90 additions and 90 deletions
|
|
@ -10,8 +10,8 @@ static int create(MwWidget handle) {
|
|||
}
|
||||
|
||||
static void draw(MwWidget handle) {
|
||||
MwRect r;
|
||||
MwLLColor base = MwParseColor(handle, MwGetText(handle, MwNbackground));
|
||||
MwRect r;
|
||||
MwLLColor base = MwParseColor(handle, MwGetText(handle, MwNbackground));
|
||||
|
||||
r.x = 0;
|
||||
r.y = 0;
|
||||
|
|
@ -20,7 +20,7 @@ static void draw(MwWidget handle) {
|
|||
|
||||
MwDrawFrame(handle, &r, base, (handle->pressed || MwGetInteger(handle, MwNchecked)) ? 1 : 0);
|
||||
MwDrawRect(handle, &r, base);
|
||||
if(handle->pressed || MwGetInteger(handle, MwNchecked)){
|
||||
if(handle->pressed || MwGetInteger(handle, MwNchecked)) {
|
||||
/* TODO: write check mark */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue