summaryrefslogtreecommitdiff
path: root/core/apps/embeddedkonsole/konsole.h
authorllornkcor <llornkcor>2002-07-07 15:42:29 (UTC)
committer llornkcor <llornkcor>2002-07-07 15:42:29 (UTC)
commit1d6f229e63930e7af2b691a4715dd94649257048 (patch) (side-by-side diff)
tree2189c3cf19019ad38a45847efdef572ed06d5a2d /core/apps/embeddedkonsole/konsole.h
parentb61380e31f6fa19acb20c5c603441d9ff64e344e (diff)
downloadopie-1d6f229e63930e7af2b691a4715dd94649257048.zip
opie-1d6f229e63930e7af2b691a4715dd94649257048.tar.gz
opie-1d6f229e63930e7af2b691a4715dd94649257048.tar.bz2
fixed bug in transparent color schemebeing shown properly, and added custom color. Still a bug when using the 'more' option, cant figure out, I think its in colorpopupmenu
Diffstat (limited to 'core/apps/embeddedkonsole/konsole.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/konsole.h b/core/apps/embeddedkonsole/konsole.h
index 40edaec..0bf3fb3 100644
--- a/core/apps/embeddedkonsole/konsole.h
+++ b/core/apps/embeddedkonsole/konsole.h
@@ -32,6 +32,7 @@
#include <qtabwidget.h>
#include <qpe/qpetoolbar.h>
#include <qcombobox.h>
+#include <qcolor.h>
#include "MyPty.h"
#include "TEWidget.h"
@@ -62,6 +63,7 @@ private slots:
void fontChanged(int);
void configMenuSelected(int );
void colorMenuSelected(int);
+ void colorMenuIsSelected(int);
void enterCommand(int);
void hitEnter();
void hitSpace();
@@ -76,6 +78,8 @@ private slots:
void scrollMenuSelected(int);
void editCommandListMenuSelected(int);
void parseCommandLine();
+ void changeForegroundColor(const QColor &);
+ void changeBackgroundColor(const QColor &);
private:
void init(const char* _pgm, QStrList & _args);
void initSession(const char* _pgm, QStrList & _args);
@@ -85,7 +89,9 @@ private:
QSize calcSize(int columns, int lines);
TEWidget* getTe();
QStringList commands;
-
+ QLabel * msgLabel;
+ QColor foreground, background;
+bool fromMenu;
private:
class VTFont
{