From 1d6f229e63930e7af2b691a4715dd94649257048 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sun, 07 Jul 2002 15:42:29 +0000 Subject: 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 --- (limited to 'core/apps/embeddedkonsole/konsole.h') 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 #include #include +#include #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 { -- cgit v0.9.0.2