Hi, nice work!!

- As seen in my attachment, the top first button on the right side is unreadable. Should we rearrange the buttons?
ixus240 is the second CHDK port with touch screen interface, it is based on ixus310 done by philmoz. I don't know how what solved that on ixus310, but you could edit OSD objects position using
CFGEdit .
- The buttons inside the preview windows are unreadable when the image is too bright. But they are drawn with draw_filled_round_rect_thick(). Where is the "filled"?
I think that it is the expected behavior:
include/stdlib.h:#define MAKE_COLOR(bg, fg) ((color)((((char)(bg))<<8)|((char)(fg))))
ixus240_elph320hs/kbd.c:
443: color c1 = MAKE_COLOR(COLOR_TRANSPARENT, COLOR_WHITE);
444: color c2 = MAKE_COLOR(COLOR_TRANSPARENT, COLOR_GREEN);
455: color cl = c1;
456: if (guiMode && (keymap[i].hackkey == KEY_PRINT)) cl = c2;
457: if (keymap[i].conf_val && *keymap[i].conf_val) cl = c2;
459: draw_filled_round_rect_thick(x1, y1, x2, y2, cl, 3);
I agree with you, maybe different colors should be used. Something like screenshot posted
here?
- buttons like "Max Dist" toggle the RAW on/off. Is this by intention?
Sorry, I don't know about this.
- Pressing on "Debug" also toggles RAW on/off, but the wiki article about porting suggests to use the debug OSD to fill the modemap. How do I get to this debug OSD?
You can use
set_capture_mode_canon script command to identify the modes. For you camera it is easier if you run the command using chkptp
To identify capture mode 32796 you the following commands and see how camera reacts.
$chdkptp -i -c
connected: Canon PowerShot xxxxxxx
con> rec
con 1> =set_capture_mode_canon(32796)
I applied your patch to my repo.