diff options
author | Martin Kiewitz | 2009-10-13 17:50:27 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-13 17:50:27 +0000 |
commit | b4a537137b4ea46feede518d2842840277cbfdcd (patch) | |
tree | b6f84d69d0673fd0f319401866a6eb4c55c2dc1d /engines/sci/engine | |
parent | f9c6e77abe560879de1fb44dd3e10c7f4241fe11 (diff) | |
download | scummvm-rg350-b4a537137b4ea46feede518d2842840277cbfdcd.tar.gz scummvm-rg350-b4a537137b4ea46feede518d2842840277cbfdcd.tar.bz2 scummvm-rg350-b4a537137b4ea46feede518d2842840277cbfdcd.zip |
SCI: stub for kDrawControl K_CONTROL_PERCENTAGE
svn-id: r45032
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index f1b3b3e116..f807efadc2 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -988,13 +988,13 @@ reg_t kPalette(EngineState *s, int argc, reg_t *argv) { // Control types and flags enum { - K_CONTROL_BUTTON = 1, - K_CONTROL_TEXT = 2, - K_CONTROL_TEXTEDIT = 3, - K_CONTROL_ICON = 4, - K_CONTROL_LIST = 6, - K_CONTROL_LIST_ALIAS = 7, - K_CONTROL_BOX = 10 + K_CONTROL_BUTTON = 1, + K_CONTROL_TEXT = 2, + K_CONTROL_TEXTEDIT = 3, + K_CONTROL_ICON = 4, + K_CONTROL_LIST = 6, + K_CONTROL_LIST_ALIAS = 7, + K_CONTROL_PERCENTAGE = 10 }; static void disableCertainButtons(SegManager *segMan, Common::String gameName, reg_t obj) { @@ -1141,6 +1141,10 @@ void _k_GenericDrawControl(EngineState *s, reg_t controlObject, bool hilite) { delete[] listStrings; return; + case K_CONTROL_PERCENTAGE: + // TODO: Implement this + return; + default: error("unsupported control type %d", type); } |