udelay between command and data write seems to get rid of the display glitches on...
[kugel-rb.git] / utils / newparser / skin_structs.h
blob4fc333c5000e0b934674511abc754eb5b380442f
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: tag_table.c 26346 2010-05-28 02:30:27Z jdgordon $
10 * Copyright (C) 2010 Jonathan Gordon
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #include <stdio.h>
23 #include <stdlib.h>
24 #include <stdbool.h>
25 #include <string.h>
26 #include <ctype.h>
28 #include "skin_parser.h"
29 #include "tag_table.h"
30 #ifndef SKIN_STRUCTS_H_
31 #define SKIN_STRUCTS_H_
32 struct skin
37 struct progressbar {
38 enum skin_token_type type;
39 struct viewport *vp;
40 /* regular pb */
41 short x;
42 /* >=0: explicitly set in the tag -> y-coord within the viewport
43 <0 : not set in the tag -> negated 1-based line number within
44 the viewport. y-coord will be computed based on the font height */
45 short y;
46 short width;
47 short height;
48 bool follow_lang_direction;
49 /*progressbar image*/
50 // struct bitmap bm;
51 bool have_bitmap_pb;
54 struct line {
55 unsigned update_mode;
56 bool eat_line_ending;
59 struct subline {
60 int timeout;
61 int current_line;
62 unsigned long last_change_tick;
65 struct conditional {
66 int last_value;
70 #endif