mirror of https://github.com/stella-emu/stella.git
dirty fix for #355
This commit is contained in:
parent
858d6991ca
commit
21b8fa133f
|
@ -1068,17 +1068,17 @@ void FrameBuffer::VideoModeList::setZoom(uInt32 zoom)
|
||||||
*** Scrollbar colors ***
|
*** Scrollbar colors ***
|
||||||
kScrollColor Normal scrollbar color
|
kScrollColor Normal scrollbar color
|
||||||
kScrollColorHi Highlighted scrollbar color
|
kScrollColorHi Highlighted scrollbar color
|
||||||
|
*** Debugger colors ***
|
||||||
|
kDbgChangedColor Background color for changed cells
|
||||||
|
kDbgChangedTextColor Text color for changed cells
|
||||||
|
kDbgColorHi Highlighted color in debugger data cells
|
||||||
|
kDbgColorRed Red color in debugger
|
||||||
*** Slider colors ***
|
*** Slider colors ***
|
||||||
kSliderColor Enabled slider
|
kSliderColor Enabled slider
|
||||||
kSliderColorHi Focussed slider
|
kSliderColorHi Focussed slider
|
||||||
kSliderBGColor Enabled slider background
|
kSliderBGColor Enabled slider background
|
||||||
kSliderBGColorHi Focussed slider background
|
kSliderBGColorHi Focussed slider background
|
||||||
kSliderBGColorLo Disabled slider background
|
kSliderBGColorLo Disabled slider background
|
||||||
*** Debugger colors ***
|
|
||||||
kDbgChangedColor Background color for changed cells
|
|
||||||
kDbgChangedTextColor Text color for changed cells
|
|
||||||
kDbgColorHi Highlighted color in debugger data cells
|
|
||||||
kDbgColorRed Red color in debugger
|
|
||||||
*** Other colors ***
|
*** Other colors ***
|
||||||
kColorInfo TIA output position color
|
kColorInfo TIA output position color
|
||||||
kColorTitleBar Title bar color
|
kColorTitleBar Title bar color
|
||||||
|
@ -1094,8 +1094,8 @@ uInt32 FrameBuffer::ourGUIColors[3][kNumColors-256] = {
|
||||||
0xac3410, 0xd55941, 0x686868, 0xdccfa5, 0xf0f0cf, 0xf0f0cf, // buttons
|
0xac3410, 0xd55941, 0x686868, 0xdccfa5, 0xf0f0cf, 0xf0f0cf, // buttons
|
||||||
0xac3410, // checkbox
|
0xac3410, // checkbox
|
||||||
0xac3410, 0xd55941, // scrollbar
|
0xac3410, 0xd55941, // scrollbar
|
||||||
0xac3410, 0xd55941, 0xdccfa5, 0xf0f0cf, 0xa38c61, // slider
|
|
||||||
0xc80000, 0x00ff00, 0xc8c8ff, 0xc80000, // debugger
|
0xc80000, 0x00ff00, 0xc8c8ff, 0xc80000, // debugger
|
||||||
|
0xac3410, 0xd55941, 0xdccfa5, 0xf0f0cf, 0xa38c61, // slider
|
||||||
0xffffff, 0xac3410, 0xf0f0cf, 0x686868, 0xdccfa5 // other
|
0xffffff, 0xac3410, 0xf0f0cf, 0x686868, 0xdccfa5 // other
|
||||||
},
|
},
|
||||||
// Classic
|
// Classic
|
||||||
|
@ -1105,8 +1105,8 @@ uInt32 FrameBuffer::ourGUIColors[3][kNumColors-256] = {
|
||||||
0x000000, 0x000000, 0x686868, 0x00ff00, 0x20a020, 0x00ff00, // buttons
|
0x000000, 0x000000, 0x686868, 0x00ff00, 0x20a020, 0x00ff00, // buttons
|
||||||
0x20a020, // checkbox
|
0x20a020, // checkbox
|
||||||
0x20a020, 0x00ff00, // scrollbar
|
0x20a020, 0x00ff00, // scrollbar
|
||||||
0x20a020, 0x00ff00, 0x404040, 0x686868, 0x404040, // slider
|
|
||||||
0xc80000, 0x00ff00, 0xc8c8ff, 0xc80000, // debugger
|
0xc80000, 0x00ff00, 0xc8c8ff, 0xc80000, // debugger
|
||||||
|
0x20a020, 0x00ff00, 0x404040, 0x686868, 0x404040, // slider
|
||||||
0x00ff00, 0x20a020, 0x000000, 0x686868, 0x404040 // other
|
0x00ff00, 0x20a020, 0x000000, 0x686868, 0x404040 // other
|
||||||
},
|
},
|
||||||
// Light
|
// Light
|
||||||
|
@ -1116,8 +1116,8 @@ uInt32 FrameBuffer::ourGUIColors[3][kNumColors-256] = {
|
||||||
0xe1e1e1, 0xe5f1fb, 0x808080, 0x0078d7, 0x000000, 0x000000, // buttons
|
0xe1e1e1, 0xe5f1fb, 0x808080, 0x0078d7, 0x000000, 0x000000, // buttons
|
||||||
0x333333, // checkbox
|
0x333333, // checkbox
|
||||||
0xc0c0c0, 0x808080, // scrollbar
|
0xc0c0c0, 0x808080, // scrollbar
|
||||||
0x333333, 0x0078d7, 0xc0c0c0, 0xffffff, 0xc0c0c0, // slider 0xBDDEF9| 0xe1e1e1 | 0xffffff
|
|
||||||
0xffc0c0, 0x000000, 0xe00000, 0xc00000, // debugger
|
0xffc0c0, 0x000000, 0xe00000, 0xc00000, // debugger
|
||||||
|
0x333333, 0x0078d7, 0xc0c0c0, 0xffffff, 0xc0c0c0, // slider 0xBDDEF9| 0xe1e1e1 | 0xffffff
|
||||||
0xffffff, 0x333333, 0xf0f0f0, 0x808080, 0xc0c0c0 // other
|
0xffffff, 0x333333, 0xf0f0f0, 0x808080, 0xc0c0c0 // other
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -46,37 +46,46 @@ enum class MessagePosition {
|
||||||
// the future, if necessary
|
// the future, if necessary
|
||||||
using ColorId = uInt32;
|
using ColorId = uInt32;
|
||||||
static constexpr ColorId
|
static constexpr ColorId
|
||||||
|
// *** Base colors ***
|
||||||
kColor = 256,
|
kColor = 256,
|
||||||
kBGColor = 257,
|
kBGColor = 257,
|
||||||
kBGColorLo = 258,
|
kBGColorLo = 258,
|
||||||
kBGColorHi = 259,
|
kBGColorHi = 259,
|
||||||
kShadowColor = 260,
|
kShadowColor = 260,
|
||||||
|
// *** Text colors ***
|
||||||
kTextColor = 261,
|
kTextColor = 261,
|
||||||
kTextColorHi = 262,
|
kTextColorHi = 262,
|
||||||
kTextColorEm = 263,
|
kTextColorEm = 263,
|
||||||
kTextColorInv = 264,
|
kTextColorInv = 264,
|
||||||
|
// *** UI elements(dialog and widgets) ***
|
||||||
kDlgColor = 265,
|
kDlgColor = 265,
|
||||||
kWidColor = 266,
|
kWidColor = 266,
|
||||||
kWidColorHi = 267,
|
kWidColorHi = 267,
|
||||||
kWidFrameColor = 268,
|
kWidFrameColor = 268,
|
||||||
|
// *** Button colors ***
|
||||||
kBtnColor = 269,
|
kBtnColor = 269,
|
||||||
kBtnColorHi = 270,
|
kBtnColorHi = 270,
|
||||||
kBtnBorderColor = 271,
|
kBtnBorderColor = 271,
|
||||||
kBtnBorderColorHi = 272,
|
kBtnBorderColorHi = 272,
|
||||||
kBtnTextColor = 273,
|
kBtnTextColor = 273,
|
||||||
kBtnTextColorHi = 274,
|
kBtnTextColorHi = 274,
|
||||||
|
// *** Checkbox colors ***
|
||||||
kCheckColor = 275,
|
kCheckColor = 275,
|
||||||
|
// *** Scrollbar colors ***
|
||||||
kScrollColor = 276,
|
kScrollColor = 276,
|
||||||
kScrollColorHi = 277,
|
kScrollColorHi = 277,
|
||||||
kSliderColor = 278,
|
// *** Debugger colors ***
|
||||||
kSliderColorHi = 279,
|
kDbgChangedColor = 278,
|
||||||
kSliderBGColor = 280,
|
kDbgChangedTextColor = 279,
|
||||||
kSliderBGColorHi = 281,
|
kDbgColorHi = 280,
|
||||||
kSliderBGColorLo = 282,
|
kDbgColorRed = 281, // Note: this must be < 0x11e (286)! (see PromptWidget::putcharIntern)
|
||||||
kDbgChangedColor = 283,
|
// *** Slider colors ***
|
||||||
kDbgChangedTextColor = 284,
|
kSliderColor = 282,
|
||||||
kDbgColorHi = 285,
|
kSliderColorHi = 283,
|
||||||
kDbgColorRed = 286,
|
kSliderBGColor = 284,
|
||||||
|
kSliderBGColorHi = 285,
|
||||||
|
kSliderBGColorLo = 286,
|
||||||
|
// *** Other colors ***
|
||||||
kColorInfo = 287,
|
kColorInfo = 287,
|
||||||
kColorTitleBar = 288,
|
kColorTitleBar = 288,
|
||||||
kColorTitleText = 289,
|
kColorTitleText = 289,
|
||||||
|
|
Loading…
Reference in New Issue