author | llornkcor <llornkcor> | 2002-02-03 16:06:52 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-02-03 16:06:52 (UTC) |
commit | bbbccc44398fc92dcbb148def8d30f2e78f71aa5 (patch) (side-by-side diff) | |
tree | 79aa9e9c97de5ceec3fa7149f566aa165c1cbbf3 /core/apps/embeddedkonsole/konsole.cpp | |
parent | b7426bf997b8201667cecb0f66470e257b35ba60 (diff) | |
download | opie-bbbccc44398fc92dcbb148def8d30f2e78f71aa5.zip opie-bbbccc44398fc92dcbb148def8d30f2e78f71aa5.tar.gz opie-bbbccc44398fc92dcbb148def8d30f2e78f71aa5.tar.bz2 |
added Amber on Black color scheme
Diffstat (limited to 'core/apps/embeddedkonsole/konsole.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 12 |
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 @@ -261,2 +261,3 @@ void Konsole::init(const char* _pgm, QStrList & _args) colorMenu->insertItem("Blue on Black"); + colorMenu->insertItem("Amber on Black"); configMenu->insertItem("Colors",colorMenu); @@ -676,2 +677,8 @@ void Konsole::colorMenuSelected(int iD) } + if(iD==-17) {// Black, Gold + background.setRgb(0x00,0x00,0x00); + foreground.setRgb(255,215,0); + cfg.writeEntry("Schema","17"); + colorMenu->setItemChecked(-17,TRUE); + } @@ -770,3 +777,2 @@ void Konsole::setColor() if(scheme != 1) colorMenuSelected( -scheme); - } @@ -776,4 +782,4 @@ void Konsole::scrollMenuSelected(int index) TEWidget* te = getTe(); -Config cfg("Konsole"); - cfg.setGroup("Scrollbar"); + Config cfg("Konsole"); + cfg.setGroup("Scrollbar"); switch( index){ |