Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2136 | - | 1 | /***************************************************************************** |
2 | * Copyright (C) 2013 Oliver Gemesi * |
||
3 | * * |
||
4 | * This program is free software; you can redistribute it and/or modify * |
||
5 | * it under the terms of the GNU General Public License as published by * |
||
6 | * the Free Software Foundation; either version 2 of the License. * |
||
7 | * * |
||
8 | * This program is distributed in the hope that it will be useful, * |
||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
11 | * GNU General Public License for more details. * |
||
12 | * * |
||
13 | * You should have received a copy of the GNU General Public License * |
||
14 | * along with this program; if not, write to the * |
||
15 | * Free Software Foundation, Inc., * |
||
16 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
17 | *****************************************************************************/ |
||
18 | |||
19 | //############################################################################ |
||
20 | //# HISTORY scrollbox.h |
||
21 | //# |
||
22 | //# 17.05.2013 OG |
||
23 | //# - del: defines KEY_xyz_LONG verschoben nach HAL_HW3_9.h |
||
24 | //# |
||
25 | //# 28.04.2013 OG |
||
26 | //# - add: ScrollBox_Push() |
||
27 | //# - chg: ScrollBox_Push_P() (keine Rueckgabe mehr) |
||
28 | //# - add: include <stdarg.h> |
||
29 | //# |
||
30 | //# 20.04.2013 OG - NEU |
||
31 | //############################################################################ |
||
32 | |||
33 | #ifndef _SCROLLBOX_H |
||
34 | #define _SCROLLBOX_H |
||
35 | |||
36 | #include <stdarg.h> // Notwendig! (OG) |
||
37 | |||
38 | |||
39 | uint8_t ScrollBox_Create( uint8_t maxlines ); |
||
40 | void ScrollBox_Destroy( void ); |
||
41 | void ScrollBox_PushLine( void ); |
||
42 | void ScrollBox_Push_P( uint8_t mode, const char *format, ... ); |
||
43 | void ScrollBox_Push( uint8_t mode, const char *format, ... ); |
||
44 | void ScrollBox_SetKey( uint8_t key, const char *keytext ); |
||
45 | void ScrollBox_Refresh( void ); |
||
46 | uint8_t ScrollBox_Show( void ); |
||
47 | //void ScrollBox_Debug( void ); |
||
48 | |||
49 | #endif |