[Horus] Layout cosmetics

This commit is contained in:
Andre Bernet
2016-05-06 23:28:45 +02:00
parent 6349ff9496
commit 3b445321fc
3 changed files with 4 additions and 9 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
#include <stdio.h> #include <stdio.h>
#include "opentx.h" #include "opentx.h"
#define EXPO_ONE_2ND_COLUMN 110 #define EXPO_ONE_2ND_COLUMN 115
int expoFn(int x) int expoFn(int x)
{ {
+1 -1
View File
@@ -178,7 +178,7 @@ bool menuModelMixOne(evt_t event)
putsChn(50, 3+FH, md2->destCh+1, MENU_TITLE_COLOR); putsChn(50, 3+FH, md2->destCh+1, MENU_TITLE_COLOR);
// The separation line between 2 columns // The separation line between 2 columns
lcdDrawSolidVerticalLine(MENU_COLUMN2_X-20, DEFAULT_SCROLLBAR_Y-FH, DEFAULT_SCROLLBAR_H+5, TEXT_COLOR); lcdDrawSolidVerticalLine(MENU_COLUMN2_X-10, DEFAULT_SCROLLBAR_Y-FH, DEFAULT_SCROLLBAR_H+5, TEXT_COLOR);
int8_t sub = menuVerticalPosition; int8_t sub = menuVerticalPosition;
int8_t editMode = s_editMode; int8_t editMode = s_editMode;
+2 -7
View File
@@ -23,15 +23,10 @@
#include "../../keys.h" #include "../../keys.h"
#if defined(TRANSLATIONS_FR) #define MENU_COLUMNS 2
#define MENU_COLUMNS 1
#define COLUMN_X 0
#else
#define MENU_COLUMNS 2
#endif
#define MENU_COLUMN2_X 280 #define MENU_COLUMN2_X 280
#define MIXES_2ND_COLUMN 100 #define MIXES_2ND_COLUMN 140
#define COLUMN_HEADER_X 150 #define COLUMN_HEADER_X 150
typedef evt_t & check_event_t; typedef evt_t & check_event_t;