1
//============================================================================
5
// SS tttttt eeee ll ll aaaa
6
// SSSS tt ee ee ll ll aa
7
// SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emulator"
8
// SS SS tt ee ll ll aa aa
9
// SSSS ttt eeeee llll llll aaaaa
11
// Copyright (c) 1995-2005 by Bradford W. Mott and the Stella team
13
// See the file "license" for information on usage and redistribution of
14
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
16
// $Id: CommandDialog.hxx,v 1.4 2006/01/04 01:24:17 stephena Exp $
18
// Based on code from ScummVM - Scumm Interpreter
19
// Copyright (C) 2002-2004 The ScummVM project
20
//============================================================================
22
#ifndef COMMAND_DIALOG_HXX
23
#define COMMAND_DIALOG_HXX
27
class DialogContainer;
29
#include "OSystem.hxx"
32
class CommandDialog : public Dialog
35
CommandDialog(OSystem* osystem, DialogContainer* parent);
39
virtual void handleKeyDown(int ascii, int keycode, int modifiers);
40
virtual void handleJoyAxis(int stick, int axis, int value);
41
virtual void handleCommand(CommandSender* sender, int cmd, int data, int id);
43
virtual bool wantsEvents() { return true; }
53
kLeftDiffACmd = 'Clda',
54
kLeftDiffBCmd = 'Cldb',
55
kRightDiffACmd = 'Crda',
56
kRightDiffBCmd = 'Crdb',
57
kSaveStateCmd = 'Csst',
58
kStateSlotCmd = 'Ccst',
59
kLoadStateCmd = 'Clst',
60
kSnapshotCmd = 'Csnp',
63
kReloadRomCmd = 'Crom',