2010-07-14 16:22:02 +02:00
|
|
|
/*
|
2011-01-29 13:04:15 +01:00
|
|
|
Copyright 2010-2011 Grégory Soutadé
|
2010-07-14 16:22:02 +02:00
|
|
|
|
2010-08-26 21:28:15 +02:00
|
|
|
This file is part of KissCount.
|
2010-07-14 16:22:02 +02:00
|
|
|
|
2010-08-26 21:28:15 +02:00
|
|
|
KissCount is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
2010-07-14 16:22:02 +02:00
|
|
|
|
2010-08-26 21:28:15 +02:00
|
|
|
KissCount is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
2010-07-14 16:22:02 +02:00
|
|
|
|
2010-08-26 21:28:15 +02:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with KissCount. If not, see <http://www.gnu.org/licenses/>.
|
2010-07-14 16:22:02 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef VIEW_H
|
|
|
|
#define VIEW_H
|
|
|
|
|
2011-08-20 11:43:12 +02:00
|
|
|
#include <wx/colour.h>
|
|
|
|
|
2011-08-16 18:22:35 +02:00
|
|
|
namespace view {
|
|
|
|
const wxColour OWN_CYAN(0x99, 0xCC, 0xFF);
|
|
|
|
const wxColour OWN_YELLOW(0xFF, 0xFF, 0x99);
|
|
|
|
const wxColour OWN_GREEN(0x3D, 0xEB, 0x3D);
|
|
|
|
const wxString DEFAULT_FONT_NAME(wxT("Liberation Sans"));
|
|
|
|
const int DEFAULT_FONT_SIZE = 12;
|
|
|
|
|
|
|
|
#define DEFAULT_FONT(font_name) wxFont font_name(view::DEFAULT_FONT_SIZE, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, view::DEFAULT_FONT_NAME);
|
|
|
|
};
|
2010-07-14 16:22:02 +02:00
|
|
|
|
2011-03-06 17:20:42 +01:00
|
|
|
#define DELETE_ICON RESSOURCES_ROOT "icons/process-stop.png"
|
|
|
|
#define CHECKED_ICON RESSOURCES_ROOT "icons/tick-icon.png"
|
|
|
|
#define ACCOUNT_ICON RESSOURCES_ROOT "icons/administrator-icon.png"
|
|
|
|
#define STATS_ICON RESSOURCES_ROOT "icons/chart-icon.png"
|
|
|
|
#define SEARCH_ICON RESSOURCES_ROOT "icons/Search-icon.png"
|
|
|
|
#define PREFS_ICON RESSOURCES_ROOT "icons/options-icon.png"
|
2011-03-23 20:35:29 +01:00
|
|
|
#define IMPORT_ICON RESSOURCES_ROOT "icons/import-icon.png"
|
2011-07-03 07:56:48 +02:00
|
|
|
#define EXPORT_ICON RESSOURCES_ROOT "icons/export-icon.png"
|
2011-03-06 17:20:42 +01:00
|
|
|
#define CHANGE_USER_ICON RESSOURCES_ROOT "icons/Clients-icon.png"
|
|
|
|
#define ABOUT_ICON RESSOURCES_ROOT "icons/windows-users-icon.png"
|
|
|
|
#define QUIT_ICON RESSOURCES_ROOT "icons/system-log-out.png"
|
|
|
|
|
|
|
|
#define LANG_ROOT RESSOURCES_ROOT "po/"
|
2010-07-14 16:22:02 +02:00
|
|
|
|
2011-08-20 14:02:47 +02:00
|
|
|
#include "KissPanel.hpp"
|
2010-12-15 19:13:16 +01:00
|
|
|
|
2010-07-14 16:22:02 +02:00
|
|
|
#endif
|