-rw-r--r-- | noncore/apps/opie-console/emulation_handler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.cpp b/noncore/apps/opie-console/emulation_handler.cpp index bb3dd28..b2b107e 100644 --- a/noncore/apps/opie-console/emulation_handler.cpp +++ b/noncore/apps/opie-console/emulation_handler.cpp | |||
@@ -118,34 +118,33 @@ QColor EmulationHandler::foreColor(int col) { | |||
118 | /* we need to switch it */ | 118 | /* we need to switch it */ |
119 | switch( col ) { | 119 | switch( col ) { |
120 | default: | 120 | default: |
121 | case Profile::White: | 121 | case Profile::White: |
122 | /* color is black */ | 122 | /* color is black */ |
123 | co = Qt::white; | 123 | co = Qt::white; |
124 | break; | 124 | break; |
125 | case Profile::Black: | 125 | case Profile::Black: |
126 | co = Qt::black; | 126 | co = Qt::black; |
127 | break; | 127 | break; |
128 | case Profile::Green: | 128 | case Profile::Green: |
129 | qWarning("Foreground green"); | 129 | qWarning("Foreground green"); |
130 | co = Qt::green; | 130 | co = Qt::green; |
131 | break; | 131 | break; |
132 | case Profile::Orange: | 132 | case Profile::Orange: |
133 | qWarning("Foreground orange"); | 133 | qWarning("Foreground orange"); |
134 | // FIXME needs better color here | 134 | co.setRgb( 231, 184, 98 ); |
135 | co = Qt::darkYellow; | ||
136 | break; | 135 | break; |
137 | } | 136 | } |
138 | 137 | ||
139 | return co; | 138 | return co; |
140 | } | 139 | } |
141 | QColor EmulationHandler::backColor(int col ) { | 140 | QColor EmulationHandler::backColor(int col ) { |
142 | QColor co; | 141 | QColor co; |
143 | /* we need to switch it */ | 142 | /* we need to switch it */ |
144 | switch( col ) { | 143 | switch( col ) { |
145 | default: | 144 | default: |
146 | case Profile::White: | 145 | case Profile::White: |
147 | /* color is white */ | 146 | /* color is white */ |
148 | co = Qt::black; | 147 | co = Qt::black; |
149 | break; | 148 | break; |
150 | case Profile::Black: | 149 | case Profile::Black: |
151 | co = Qt::white; | 150 | co = Qt::white; |