git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@180 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-06 10:37:08 +00:00
parent 055fddbd3a
commit 1a28f5bcda
13 changed files with 352 additions and 10 deletions

View File

@@ -106,9 +106,10 @@ static void draw(MwWidget handle) {
MwDrawRect(handle, &r, base);
BEGIN_MENU_LOOP;
(void)in_area;
if(m->sub[i]->wsub != NULL) {
MwDrawFrame(handle, &r, base, 0);
} else if(in_area && handle->pressed) {
MwDrawFrame(handle, &r, base, 0);
}
MwDrawText(handle, &p, m->sub[i]->name + incr, 1, text);