[openbeos] Re: New icons
- From: DarkWyrm <bpmagic@xxxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Thu, 30 Jan 2003 18:02:19 -0500
<snip>
>It *both* has the string based ui_color() and the old one, but with new
>values.
>
>rgb_color ui_color(color_which which);
>rgb_color ui_color(const char* name);
Ah. My mistake. Perhaps I should refrain from opening my big fat mouth when
I'm not feeling well, like today. My bad.
>The string based version is unneed IMO
>but the int one should be kept compatible with Dano if possible.
>
>>
>> >François.
>> >P.S. how would I #ifdef such a thing ? can't #ifdef on enums
>> Probably #ifdef the whole enum definition would be the only way to go
>> AFAIK.
>
>enum isn't a preprocessor directive, it doesn't even see it.
I know that. What I had originally meant was something like this:
#ifdef R5
enum {
B_A_COLOR=0,
B_ANOTHER_COLOR,
HONEY_B_COLOR
} color_which;
#endif
#ifdef DANO
enum {
B_DANO_COLOR_1,
B_DANO_COLOR_2
} color_which;
#endif
I guess now that's a moot point now, though. Like Erik said, it'll be ironed
out. I'll try to find a different way to break things. :D
--DarkWyrm
- References:
- [openbeos] Re: New icons
- From: Erik Jaesler
- [openbeos] Re: New icons
- From: François Revol
Other related posts:
- » [openbeos] New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- » [openbeos] Re: New icons
- [openbeos] Re: New icons
- From: Erik Jaesler
- [openbeos] Re: New icons
- From: François Revol