author | zecke <zecke> | 2002-10-14 22:58:11 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-14 22:58:11 (UTC) |
commit | d7290c6b24266303abd95e7f38c0fecae395f355 (patch) (unidiff) | |
tree | f8202b056d9ae8de1cfa818de60ff2929c520f90 /noncore/apps/opie-console/emulation_handler.h | |
parent | f5d1ce4b3887e0f09704abad5b9414c9cd90be4b (diff) | |
download | opie-d7290c6b24266303abd95e7f38c0fecae395f355.zip opie-d7290c6b24266303abd95e7f38c0fecae395f355.tar.gz opie-d7290c6b24266303abd95e7f38c0fecae395f355.tar.bz2 |
A small console emulation layer...
And some configuration stuff
fonts are working colors are not fully working
BackGround and ForeGround both are black :(
Diffstat (limited to 'noncore/apps/opie-console/emulation_handler.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/emulation_handler.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.h b/noncore/apps/opie-console/emulation_handler.h index 58b94bc..9af7680 100644 --- a/noncore/apps/opie-console/emulation_handler.h +++ b/noncore/apps/opie-console/emulation_handler.h | |||
@@ -4,2 +4,3 @@ | |||
4 | #include <qobject.h> | 4 | #include <qobject.h> |
5 | #include <qcolor.h> | ||
5 | #include <qcstring.h> | 6 | #include <qcstring.h> |
@@ -28,2 +29,3 @@ class TEWidget; | |||
28 | class TEmulation; | 29 | class TEmulation; |
30 | class QFont; | ||
29 | class EmulationHandler : public QObject { | 31 | class EmulationHandler : public QObject { |
@@ -45,2 +47,3 @@ public: | |||
45 | QWidget* widget(); | 47 | QWidget* widget(); |
48 | void setColor( const QColor& fore, const QColor& back ); | ||
46 | signals: | 49 | signals: |
@@ -49,2 +52,3 @@ signals: | |||
49 | 52 | ||
53 | |||
50 | public slots: | 54 | public slots: |
@@ -54,2 +58,6 @@ private slots: | |||
54 | void recvEmulation( const char*, int len ); | 58 | void recvEmulation( const char*, int len ); |
59 | private: | ||
60 | QFont font( int ); | ||
61 | QColor foreColor(int ); | ||
62 | QColor backColor(int ); | ||
55 | 63 | ||