new design for OSD icons - page 2 - General Discussion and Assistance - CHDK Forum

new design for OSD icons

  • 15 Replies
  • 4744 Views
Re: new design for OSD icons - updated for 2011
« Reply #10 on: 28 / September / 2011, 21:59:25 »
Advertisements
bumping this topic after 30 months ... here's a patch file that adds the colored OSD icons to the current build ..  the image at the top of the thread show what you will see if you try this .. athough you will likely need to tune the colors for your specific camera by modifying the code ... which is largely why this has never made it into the trunk .. still, the icons are really really nice so please indulge.....  and you get notification of when a USB remote is enabled ...
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: new design for OSD icons
« Reply #11 on: 29 / September / 2011, 06:39:27 »
Thx for bumping  :)

Everyone can try out the colored icons with CHDK-DE.

But there is also a problem. Most of the (newer) cameras needs  special color definitions. Without this definitions the look of the symbols is not so good.

I think Philmoz's idea of a self-made palette is a good way - see here: http://tools.assembla.com/chdk/changeset/1343/branches/philmoz . But it also means a lot of work.

msl
CHDK-DE:  CHDK-DE links

Re: new design for OSD icons
« Reply #12 on: 29 / September / 2011, 09:18:55 »
But there is also a problem. Most of the (newer) cameras needs  special color definitions. Without this definitions the look of the symbols is not so good.

I think Philmoz's idea of a self-made palette is a good way - see here: http://tools.assembla.com/chdk/changeset/1343/branches/philmoz . But it also means a lot of work.
There were a couple of good discussions on the  CHDK IRC channel about this last week.  Philmoz's idea works on one generation of Canon cameras - others (like my G10) need a very different solution.  But without this sort of fix, many camera have a very limited selection of colors in their palettes making colored icons difficut to implement.

 
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: new design for OSD icons
« Reply #13 on: 29 / September / 2011, 15:33:53 »
There were a couple of good discussions on the  CHDK IRC channel about this last week.  Philmoz's idea works on one generation of Canon cameras ...
Ok, this is new for me, thanks for this informations. Then we must use the existing method with the color definitions in the gui moduls.

msl
CHDK-DE:  CHDK-DE links


Re: new design for OSD icons
« Reply #14 on: 29 / September / 2011, 23:06:22 »
Ok, this is new for me, thanks for this informations. Then we must use the existing method with the color definitions in the gui moduls.
That's what the CHDK-DE version does. 

But it does not help with then many cameras that have a limited palette -  with some colors missing entirely and some colors offered in only one shade.

Not sure there is an easy solution - hopefully there will only need to be 2 or 3 unique versions of what philmoz has discoverred.



Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3128
    • Photos
Re: new design for OSD icons
« Reply #15 on: 01 / October / 2011, 22:15:14 »
Added in changeset 1352.

Moved the color definitions for the icon colors to gui_draw.h and updated the code accordingly.

Currently this is compiled conditionally and only enabled for G10, G12, SX30 and IXUS310.
Other cameras will use the old icons.

Add a define for CAM_USE_COLORED_ICONS in platform_camera.h to enable.
Will probably require tweaking the icon color definitions in gui_draw.h for each camera.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)

 

Related Topics