00001 #ifndef WINPARTS_DEFINITIONS 00002 #define WINPARTS_DEFINITIONS 00003 00004 /*****************************************************************************\ 00005 * * 00006 * Name : windows parts definitions * 00007 * Author : Chris Koeritz * 00008 * * 00009 * Purpose: * 00010 * * 00011 * Provides a few names and macros used within the window parts libraries. * 00012 * * 00013 ******************************************************************************* 00014 * Copyright (c) 1991-$now By Author. This program is free software; you can * 00015 * redistribute it and/or modify it under the terms of the GNU General Public * 00016 * License as published by the Free Software Foundation; either version 2 of * 00017 * the License or (at your option) any later version. This is online at: * 00018 * http://www.fsf.org/copyleft/gpl.html * 00019 * Please send any updates to: fred@gruntose.com * 00020 \*****************************************************************************/ 00021 00022 #include "color.h" 00023 00024 #include <basis/portable.h> 00025 00026 namespace colors { 00027 00028 const color WHITE(255, 255, 255); 00029 //hmmm: this definition needs to be fixed. 00030 00031 const color BLACK(0, 0, 0); 00032 00033 } 00034 00035 #define c_angle geometric::double_angle 00036 #define c_point geometric::cartesian_point 00037 #define c_rectangle geometric::cartesian_rectangle 00038 #define c_line geometric::line<double> 00039 #define c_rectangle_warper geometric::rectangle_warper<double> 00040 00041 GC create_exclusive_or_GC(window_handle w); 00042 // creates a graphics context that causes objects to be drawn using 00043 // exclusive or (where an object drawn twice disappears). 00044 00045 #endif 00046
1.5.1