Back to index

nux  3.0.0
WidgetMetrics.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2010 Inalogic® Inc.
00003  *
00004  * This program is free software: you can redistribute it and/or modify it
00005  * under the terms of the GNU Lesser General Public License, as
00006  * published by the  Free Software Foundation; either version 2.1 or 3.0
00007  * of the License.
00008  *
00009  * This program is distributed in the hope that it will be useful, but
00010  * WITHOUT ANY WARRANTY; without even the implied warranties of
00011  * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
00012  * PURPOSE.  See the applicable version of the GNU Lesser General Public
00013  * License for more details.
00014  *
00015  * You should have received a copy of both the GNU Lesser General Public
00016  * License along with this program. If not, see <http://www.gnu.org/licenses/>
00017  *
00018  * Authored by: Jay Taoko <jaytaoko@inalogic.com>
00019  *
00020  */
00021 
00022 
00023 #ifndef WIDGETMETRICS_H
00024 #define WIDGETMETRICS_H
00025 
00026 namespace nux
00027 {
00028 
00029   extern const Color COLOR_BLACK ;
00030   extern const Color COLOR_RED;
00031   extern const Color COLOR_GREEN;;
00032   extern const Color COLOR_BLUE;
00033   extern const Color COLOR_WHITE;
00034 
00035 
00036   extern const Color COLOR_BACKGROUND_PRIMARY;
00037   extern const Color COLOR_BACKGROUND_SECONDARY;
00038   extern const Color COLOR_FOREGROUND_PRIMARY;
00039   extern const Color COLOR_FOREGROUND_SECONDARY;
00040 
00041 
00042   extern const Color COLOR_SELECTION_SECONDARY;
00043 
00044 // Text color
00045   extern const Color COLOR_TEXTEDIT_BACKGROUNG;
00046   extern const Color COLOR_TEXTSTATIC_BACKGROUNG;
00047 
00048 // General background color
00049   extern const Color  COLOR_WIDGET_BACKGROUND;
00050   extern const Color  COLOR_WIDGET_MOUSEOVER;
00051   extern const Color  COLOR_WINDOW_BACKGROUND;
00052 
00053 // Widget control background color
00054   extern const Color  COLOR_PRIMARY_LEFT;
00055   extern const Color  COLOR_PRIMARY_RIGHT;
00056 
00057 // ScrollBar color
00058   extern const Color COLOR_SCROLLBAR_TRACK;
00059   extern const Color COLOR_SCROLLBAR_SLIDER;
00060 
00061   extern const Color COLOR_DARK_0;
00062   extern const Color COLOR_LIGHT_0;
00063 
00064 
00065   extern const int   AREA_MIN_WIDTH;
00066   extern const int   AREA_MAX_WIDTH;
00067   extern const int   AREA_MIN_HEIGHT;
00068   extern const int   AREA_MAX_HEIGHT;
00069 
00070   extern const int   DEFAULT_WIDGET_HEIGHT;
00071   extern const int   PRACTICAL_WIDGET_HEIGHT;
00072   extern const int   DEFAULT_WIDGET_WIDTH;
00073   extern const int   PRACTICAL_WIDGET_WIDTH;
00074   extern const int   DEFAULT_TEXT_X_MARGIN;
00075   extern const int   DEFAULT_TEXT_Y_MARGIN;
00076   extern const float DEFAULT_REPEAT_DELAY;
00077 
00078 
00079 
00080 }
00081 
00082 #endif // WIDGETMETRICS_H