> I propose some #defines for providing this:
> #define <libname>_VERSION_CVS (marks CVS versions)
> #define <libname>_VERSION_2_0_2       (next planned official release)

I'd rather use

#define <libname>_VERSION (0x020002) 

i.e. something numeric that can be compared. 

#ifdef <libname>_VERSION_2_0_2 or  <libname>_VERSION_2_0_3 or ...

doesn't sound like a good idea.

> > [15:54] <al3x> it would return the all available modes (for given
> > width/height), and i could select easily the best of them
> > [15:54] <al3x> sorry, i must leave now, comming back in a hour

No modelist please. The current way (asking for something and getting a
clearly defined "best match") is much better.

Most graphics cards can do _any_ mode nowadays and for displaying DVD or
similar, something like 704x488 isn't unusual.

Thus "ask what you want and you get something that can do _more_ if at all
possible and the closest thing that can do less if not" is the nicest
Interface I can think of.

As the rules by which these "_more_" decisions are taken are clearly
defined, other modes that would also do can easily be probed.

CU, Andy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]>             =

Reply via email to