mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
SCI: stub for kDrawControl K_CONTROL_PERCENTAGE
svn-id: r45032
This commit is contained in:
parent
f9c6e77abe
commit
b4a537137b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user