Skip to content

Commit

Permalink
change structure
Browse files Browse the repository at this point in the history
change folder structure for libray include in arduino ide
  • Loading branch information
Jomelo committed Jul 29, 2016
1 parent 0dad327 commit e5558a0
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
File renamed without changes.
10 changes: 10 additions & 0 deletions LCDMenuLib/library.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name=LCDMenuLib
version=2.1.3
author=Nils Feldkaemper <[email protected]>
maintainer=Nils Feldkaemper <[email protected]>
sentence=A library with you can generate a menu`s based on the nested set model with multi layers
paragraph=Supports serial monitor, liquidcrystal, i2c, graphic displays (u8glib), ...
category=Display
url=https://github.com/Jomelo/LCDMenuLib
architectures=avr
includes=LCDMenuLib.h
File renamed without changes.
22 changes: 7 additions & 15 deletions LCDMenuLib/LCDMenuLib.h → LCDMenuLib/src/LCDMenuLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef LCDMenuLib_h
# define LCDMenuLib_h

# define _LCDML_VERSION "LCDML v2.1.0"
# define _LCDML_VERSION "LCDML v2.1.3"

/* config */
# define _LCDML_DISP_cfg_cursor_deep 6 // save the last position of the cursor until layer xx
Expand Down Expand Up @@ -91,11 +91,7 @@
private:
/* Menu Objects */
LCDMenu *rootMenu;
LCDMenu *curMenu;




LCDMenu *curMenu;
/* Saves the string position from menu elments in flash memory */
const char * const *flash_table;
/* display cols */
Expand Down Expand Up @@ -123,9 +119,7 @@
/* scroll the menu */
void doScroll();
/* go to a menu element */
void goMenu(LCDMenu &m);


void goMenu(LCDMenu &m);
/* works with jump to element on globale function */
uint8_t selectElementDirect(LCDMenu &p_m, uint8_t p_search);
/* how many childs exists on next layer */
Expand All @@ -152,10 +146,10 @@
void goRoot();
/* move to the parent menu */
void goBack();

/* update display content */
void display_update();
/* clear display content */
void display_clear();

/* jump to menu element */
void jumpToElement(uint8_t element);
/* go in a menu element */
Expand All @@ -172,11 +166,9 @@
uint8_t getCursorPos();
/* get the corrent cursor position */
uint8_t getCursorPosAbs();

uint8_t getChilds();

/* get childs of an element */
uint8_t getChilds();
};

#endif


File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e5558a0

Please sign in to comment.