home *** CD-ROM | disk | FTP | other *** search
-
- // abstract.h.quality
-
- // Dreamscape - C++ class library for RISC OS
- // Copyright (c) 1996 Mark Seaborn <mseaborn@argonet.co.uk>
- //
- // This library is free software; you can redistribute it and/or
- // modify it under the terms of the GNU Library General Public
- // License as published by the Free Software Foundation; either
- // version 2 of the License, or (at your option) any later version.
- // See the Dreamscape documentation for more information.
-
- #ifndef dreamscape_quality_H
- #define dreamscape_quality_H
-
- class Quality {
- unsigned code;
-
- public:
- Quality(): code(normal) {}
- Quality(unsigned c): code(c) {}
- ~Quality() {}
-
- operator unsigned() const { return code; }
- Quality &operator=(unsigned c) { code = c; return *this; }
-
- enum { anti_aliased = 0x9000000,
- normal = 0x7000000,
- simple = 0x5000000,
- outline = 0x3000000 };
- };
-
- #endif
-