deanbrowne / j4me

Automatically exported from code.google.com/p/j4me
1 stars 1 forks source link

Font, Font color and Background colour as component members #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Because font, font color and background color are used in many components 
and could be customised in many way. I propose to move existing Font and 
Font Color members (and delegates method) to the Component class.

I propose also to add a background color member at the component level

see SVN diff as attachment

Original issue reported on code.google.com by jmherme...@gmail.com on 11 Feb 2008 at 5:55

Attachments:

GoogleCodeExporter commented 9 years ago
the Background processing was missing in the previous patch.

I had a paintBackground method in the Component. 

By default, it will fill the component area with it's own background color.

see the enclosed,  SVN diff 

Original comment by jmherme...@gmail.com on 13 Feb 2008 at 10:12

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by deanbro...@gmail.com on 26 Feb 2008 at 1:52

GoogleCodeExporter commented 9 years ago

Original comment by deanbro...@gmail.com on 8 Mar 2008 at 12:04