myeeprom.h splitted into dataconstants.h and datastructs.h
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
#ifndef _LCD_H_
|
||||
#define _LCD_H_
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#define LCD_W 128
|
||||
#define LCD_H 64
|
||||
#define BOX_WIDTH 23
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
#include "view_mavlink.h"
|
||||
|
||||
#define VIEW_MAVLINK_2ND_COLUMN (LCD_W-6*FW-3-MENUS_SCROLLBAR_WIDTH)
|
||||
|
||||
|
||||
uint8_t MAVLINK_menu = MENU_INFO;
|
||||
|
||||
/*! \brief Top Mavlink Menu definition
|
||||
* \details Registers button events and handles that info. Buttons select menus,
|
||||
* these are launched from the MAVLINK_menu switch statement. Setup menu is
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#ifndef _VIEW_MAVLINK_H_
|
||||
#define _VIEW_MAVLINK_H_
|
||||
|
||||
#include "menus.h"
|
||||
#include "opentx.h"
|
||||
#include "telemetry/mavlink.h"
|
||||
#include "targets/common_avr/serial_driver.h"
|
||||
@@ -76,6 +75,6 @@ enum menuMavlinkSetupItems {
|
||||
};
|
||||
|
||||
//! \brief Menu index varible, initialized on info menu.
|
||||
uint8_t MAVLINK_menu = MENU_INFO;
|
||||
extern uint8_t MAVLINK_menu;
|
||||
|
||||
#endif // _VIEW_MAVLINK_H_
|
||||
|
||||
@@ -178,7 +178,7 @@ class BitmapBuffer: public BitmapBufferBase<uint16_t>
|
||||
|
||||
void drawFontPattern(coord_t x, coord_t y, const uint8_t * font, const uint16_t * spec, int index, LcdFlags flags);
|
||||
|
||||
void drawSizedText(coord_t x, coord_t y, const pm_char * s, uint8_t len, LcdFlags flags);
|
||||
void drawSizedText(coord_t x, coord_t y, const char * s, uint8_t len, LcdFlags flags);
|
||||
|
||||
template<class T>
|
||||
void drawBitmap(coord_t x, coord_t y, const T * bmp, coord_t srcx=0, coord_t srcy=0, coord_t w=0, coord_t h=0, float scale=0)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#ifndef _THEME_H_
|
||||
#define _THEME_H_
|
||||
|
||||
#include "bitmapbuffer.h"
|
||||
class BitmapBuffer;
|
||||
|
||||
#define MAX_THEME_OPTIONS 5
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#ifndef _WIDGETS_CONTAINER_H_
|
||||
#define _WIDGETS_CONTAINER_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "widget.h"
|
||||
|
||||
class WidgetsContainerInterface
|
||||
|
||||
Reference in New Issue
Block a user