SCI: stub for kDrawControl K_CONTROL_PERCENTAGE

svn-id: r45032
This commit is contained in:
Martin Kiewitz 2009-10-13 17:50:27 +00:00
parent f9c6e77abe
commit b4a537137b

View File

@ -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);
}