summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-02-03 16:06:52 (UTC)
committer llornkcor <llornkcor>2002-02-03 16:06:52 (UTC)
commitbbbccc44398fc92dcbb148def8d30f2e78f71aa5 (patch) (side-by-side diff)
tree79aa9e9c97de5ceec3fa7149f566aa165c1cbbf3
parentb7426bf997b8201667cecb0f66470e257b35ba60 (diff)
downloadopie-bbbccc44398fc92dcbb148def8d30f2e78f71aa5.zip
opie-bbbccc44398fc92dcbb148def8d30f2e78f71aa5.tar.gz
opie-bbbccc44398fc92dcbb148def8d30f2e78f71aa5.tar.bz2
added Amber on Black color scheme
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index e2d4886..23c12f8 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -260,4 +260,5 @@ void Konsole::init(const char* _pgm, QStrList & _args)
colorMenu->insertItem("White on Cyan");
colorMenu->insertItem("Blue on Black");
+ colorMenu->insertItem("Amber on Black");
configMenu->insertItem("Colors",colorMenu);
@@ -675,4 +676,10 @@ void Konsole::colorMenuSelected(int iD)
colorMenu->setItemChecked(-16,TRUE);
}
+ if(iD==-17) {// Black, Gold
+ background.setRgb(0x00,0x00,0x00);
+ foreground.setRgb(255,215,0);
+ cfg.writeEntry("Schema","17");
+ colorMenu->setItemChecked(-17,TRUE);
+ }
for (i = 0; i < TABLE_COLORS; i++) {
@@ -769,5 +776,4 @@ void Konsole::setColor()
int scheme = cfg.readNumEntry("Schema",1);
if(scheme != 1) colorMenuSelected( -scheme);
-
}
@@ -775,6 +781,6 @@ void Konsole::scrollMenuSelected(int index)
{
TEWidget* te = getTe();
-Config cfg("Konsole");
- cfg.setGroup("Scrollbar");
+ Config cfg("Konsole");
+ cfg.setGroup("Scrollbar");
switch( index){
case -21: