/programs/cmm/examples/menu.c |
---|
59,7 → 59,7 |
if (menu.list.cur_y) { |
if (menu.list.cur_y > butv.id) && (menu.list.cur_y < buta.id) category = menu.list.cur_y - butv.id; |
} |
DefineAndDrawWindow(215,100,350,300,0x34,0xFFFFFF,"Window header"); |
DefineAndDrawWindow(215,100,350,300,0x34,0xFFFFFF,"Window header",0); |
GetProcessInfo(#Form, SelfInfo); |
WriteText(10,110,0x80,0,#param); |
DrawCaptButton(butv.x, butv.y, butv.w, butv.h, butv.id, 0xCCCccc, 0x000000, "Vegetables"); |
/programs/cmm/examples/rgb.c |
---|
45,7 → 45,7 |
break; |
case evReDraw: |
system.color.get(); |
DefineAndDrawWindow(screen.width-fw/2,screen.height-fh/2,fw,fh+skin_height,0x33,0xE0DFE3,"Rainbow (rgb test)"); |
DefineAndDrawWindow(screen.width-fw/2,screen.height-fh/2,fw,fh+skin_height,0x33,0xE0DFE3,"Rainbow (rgb test)",0); |
_PutImage(0,0,256,256,#image); |
DrawCaptButton(280,20, 110,30,DRAW1_BTN,system.color.work_button,system.color.work_button_text,"Draw 1"); |
DrawCaptButton(280,60, 110,30,DRAW2_BTN,system.color.work_button,system.color.work_button_text,"Draw 2"); |
/programs/cmm/examples/window.c |
---|
29,7 → 29,7 |
{ |
proc_info Form; |
int i; |
DefineAndDrawWindow(215,100,350,300,0x34,0xFFFFFF,"Window header"); |
DefineAndDrawWindow(215,100,350,300,0x34,0xFFFFFF,"Window header",0); |
GetProcessInfo(#Form, SelfInfo); |
for (i=0; i<io.dir.count; i++) |
{ |