Diffstat (limited to 'noncore/apps/opie-console/emulation_widget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/emulation_widget.h | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/emulation_widget.h b/noncore/apps/opie-console/emulation_widget.h index 56ea15f..e185534 100644 --- a/noncore/apps/opie-console/emulation_widget.h +++ b/noncore/apps/opie-console/emulation_widget.h | |||
@@ -13,2 +13,3 @@ | |||
13 | 13 | ||
14 | |||
14 | /** | 15 | /** |
@@ -42,3 +43,3 @@ public: | |||
42 | */ | 43 | */ |
43 | virtual void setImage( QArray<Character> const newimg, int columns, int lines ) {}; | 44 | virtual void setImage( QArray<Character> const newimg, int columns, int lines ); |
44 | 45 | ||
@@ -48,3 +49,3 @@ public: | |||
48 | */ | 49 | */ |
49 | virtual void reloadConfig( const Profile& config ) {}; | 50 | virtual void reloadConfig( const Profile& config ); |
50 | 51 | ||
@@ -66,3 +67,9 @@ protected: | |||
66 | */ | 67 | */ |
67 | virtual void calcGeometry() {}; | 68 | virtual void calcGeometry(); |
69 | |||
70 | |||
71 | /** | ||
72 | * @param const ColorEntry* table, the new color table | ||
73 | */ | ||
74 | void setColorTable( const ColorEntry table[] ); | ||
68 | 75 | ||
@@ -79,2 +86,27 @@ protected: | |||
79 | 86 | ||
87 | protected: | ||
88 | |||
89 | enum ScrollLocation | ||
90 | { | ||
91 | SCRNONE, | ||
92 | SCRLEFT, | ||
93 | SCRIGHT | ||
94 | }; | ||
95 | |||
96 | int f_height; | ||
97 | int f_width; | ||
98 | int f_ascent; | ||
99 | int m_blX; | ||
100 | int m_blY; | ||
101 | int m_brX; | ||
102 | |||
103 | int m_bY; | ||
104 | int m_bX; | ||
105 | QScrollBar* m_scrollbar; | ||
106 | |||
107 | ScrollLocation scrollLoc; | ||
108 | |||
109 | ColorEntry* color_table; | ||
110 | |||
111 | bool blinking; | ||
80 | }; | 112 | }; |