/*
  settings.h - ESP3D display data file

  Copyright (c) 2014 Luc Lebosse. All rights reserved.

  This code is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.

  This code 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
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with This code; if not, write to the Free Software
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

//Screen size
#define SCREEN_WIDTH    240
#define SCREEN_HEIGHT   240

//Colors
#define COLOR_BLACK   TFT_BLACK
#define COLOR_WHITE   TFT_WHITE
#define SPLASH_FG   COLOR_WHITE
#define SPLASH_BG   COLOR_BLACK
#define SCREEN_BG   COLOR_BLACK
#define PROGRESS_FG TFT_BLUE
#define SIGNAL_FG   TFT_CYAN
#define SSID_FG TFT_ORANGE
#define IP_FG   COLOR_WHITE
#define STATUS_FG   TFT_YELLOW

//Fonts
#define FONTSIGNAL  2
#define FONTSSID     2
#define FONTIP   4
#define FONTSTATUS   2

//Positions
#define SIGNAL_X SCREEN_WIDTH-34
#define SIGNAL_Y 0
#define SIGNAL_W 46
#define SIGNAL_H 14

#define SIGNAL_ICON_X SCREEN_WIDTH-60
#define SIGNAL_ICON_Y 2
#define SIGNAL_ICON_W 23
#define SIGNAL_ICON_H 10
#define SIGNAL_ICON_W_BAR 4
#define SIGNAL_ICON_SPACER_X 2

#define SSID_AREA_X 0
#define SSID_AREA_Y 0
#define SSID_AREA_W 85
#define SSID_AREA_H 14

#define IP_AREA_X 0
#define IP_AREA_Y (SCREEN_HEIGHT/2) - 8
#define IP_AREA_W SCREEN_WIDTH
#define IP_AREA_H 20

#define STATUS_AREA_X 0
#define STATUS_AREA_Y SCREEN_HEIGHT-16
#define STATUS_AREA_W SCREEN_WIDTH
#define STATUS_AREA_H 16
