git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@212 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-08 09:42:51 +00:00
parent 39fdd51efc
commit b07ee601cd
12 changed files with 89 additions and 89 deletions

View File

@@ -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 */
}