-rw-r--r-- | noncore/apps/opie-console/widget_layer.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/opie-console/widget_layer.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/widget_layer.cpp b/noncore/apps/opie-console/widget_layer.cpp index 3584d32..c00871f 100644 --- a/noncore/apps/opie-console/widget_layer.cpp +++ b/noncore/apps/opie-console/widget_layer.cpp | |||
@@ -157,12 +157,14 @@ void WidgetLayer::setSelection( const QString& text ) | |||
157 | } | 157 | } |
158 | 158 | ||
159 | 159 | ||
160 | ///////// | 160 | ///////// |
161 | // special font characters | 161 | // special font characters |
162 | ///////// | 162 | ///////// |
163 | unsigned short vt100_graphics[32] = | 163 | unsigned short vt100_graphics[32] = |
164 | { // 0/8 1/9 2/10 3/11 4/12 5/13 6/14 7/15 | 164 | { // 0/8 1/9 2/10 3/11 4/12 5/13 6/14 7/15 |
165 | 0x0020, 0x25C6, 0x2592, 0x2409, 0x240c, 0x240d, 0x240a, 0x00b0, | 165 | 0x0020, 0x25C6, 0x2592, 0x2409, 0x240c, 0x240d, 0x240a, 0x00b0, |
166 | 0x00b1, 0x2424, 0x240b, 0x2518, 0x2510, 0x250c, 0x2514, 0x253c, | 166 | 0x00b1, 0x2424, 0x240b, 0x2518, 0x2510, 0x250c, 0x2514, 0x253c, |
167 | 0xF800, 0xF801, 0x2500, 0xF803, 0xF804, 0x251c, 0x2524, 0x2534, | 167 | 0xF800, 0xF801, 0x2500, 0xF803, 0xF804, 0x251c, 0x2524, 0x2534, |
168 | 0x252c, 0x2502, 0x2264, 0x2265, 0x03C0, 0x2260, 0x00A3, 0x00b7 | 168 | 0x252c, 0x2502, 0x2264, 0x2265, 0x03C0, 0x2260, 0x00A3, 0x00b7 |
169 | }; | ||
170 | |||
diff --git a/noncore/apps/opie-console/widget_layer.h b/noncore/apps/opie-console/widget_layer.h index 2ca0f88..014d507 100644 --- a/noncore/apps/opie-console/widget_layer.h +++ b/noncore/apps/opie-console/widget_layer.h | |||
@@ -25,25 +25,25 @@ | |||
25 | // opie-console includes | 25 | // opie-console includes |
26 | #include "session.h" | 26 | #include "session.h" |
27 | #include "common.h" | 27 | #include "common.h" |
28 | #include "profile.h" | 28 | #include "profile.h" |
29 | /* | 29 | /* |
30 | * given a pseudo location ( column, line ), | 30 | * given a pseudo location ( column, line ), |
31 | * returns the actual index, in the QArray<Character> | 31 | * returns the actual index, in the QArray<Character> |
32 | */ | 32 | */ |
33 | #define loc(X,Y) ((Y)*m_columns+(X)) | 33 | #define loc(X,Y) ((Y)*m_columns+(X)) |
34 | 34 | ||
35 | 35 | ||
36 | 36 | ||
37 | unsigned short vt100_graphics[32]; | 37 | extern unsigned short vt100_graphics[32]; |
38 | 38 | ||
39 | class WidgetLayer : public QFrame | 39 | class WidgetLayer : public QFrame |
40 | { Q_OBJECT | 40 | { Q_OBJECT |
41 | 41 | ||
42 | public: | 42 | public: |
43 | 43 | ||
44 | /** | 44 | /** |
45 | * constructor | 45 | * constructor |
46 | * @param const Profile &config, the configuration for this widget | 46 | * @param const Profile &config, the configuration for this widget |
47 | * @param QWidget *parent, the parent widget | 47 | * @param QWidget *parent, the parent widget |
48 | * @param const char *name, the name of the widget, defaults to "" | 48 | * @param const char *name, the name of the widget, defaults to "" |
49 | */ | 49 | */ |