00001 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ 00002 /* _______ ______ ______ __ */ 00003 /* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ / ____(_)___ / ___ /) / ____/___ ____/ /__ */ 00004 /* [fsCl565] / /_ / / __ \\__ \|/ / / / __ \/ __ / _ \ */ 00005 /* rev. 2 / __/ / / /_/ /__/ / / /___/ /_/ / /_/ / __/ */ 00006 /* 5th Feb 2007 /_/ /_/ ,___/____/ \____/\____/\__,_/\___/ */ 00007 /* [ ] stable /_/ (c) 2006-7 Filip STOKLAS (FipS) */ 00008 /* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ http://HOLE.4FipS.com/fips_code.php */ 00009 /* */ 00010 /* This code is free for personal and commercial use. You may redistribute */ 00011 /* it by any means. If you use the code for your own projects please give */ 00012 /* me credit. Please send a bug report. Don't alter or remove this header! */ 00013 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ 00014 #ifndef FS_RAS_FSCL565_H 00015 #define FS_RAS_FSCL565_H 00016 //--------------------------------------------------------------------------- 00017 #if defined(FS_INCLUDE_USERDEFS) // inject user definition file on request 00018 # include <fs/fsUserDefs.h> 00019 #endif 00020 //--------------------------------------------------------------------------- 00021 namespace fs { namespace ras { 00022 //--------------------------------------------------------------------------- 00024 class Cl565_t 00025 { 00026 public: 00027 00028 Cl565_t() {} 00029 explicit Cl565_t(unsigned char rgb) : rgb(rgb) {} 00030 00031 bool operator == (const Cl565_t &RHS) const 00032 { return rgb == RHS.rgb; } 00033 00034 public: // direct access is allowed 00035 00036 unsigned short rgb; 00037 }; 00038 //--------------------------------------------------------------------------- 00039 }} // namespace fs::ras 00040 //--------------------------------------------------------------------------- 00041 #endif // FS_RAS_FSCL565_H