~ubuntu-branches/debian/sid/stella/sid

« back to all changes in this revision

Viewing changes to src/debugger/gui/CartCTYWidget.hxx

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2013-06-28 09:53:13 UTC
  • mfrom: (1.3.6)
  • Revision ID: package-import@ubuntu.com-20130628095313-j8jkkgxpvx1t18ym
Tags: 3.9-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//============================================================================
 
2
//
 
3
//   SSSS    tt          lll  lll       
 
4
//  SS  SS   tt           ll   ll        
 
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
 
10
//
 
11
// Copyright (c) 1995-2013 by Bradford W. Mott, Stephen Anthony
 
12
// and the Stella Team
 
13
//
 
14
// See the file "License.txt" for information on usage and redistribution of
 
15
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
 
16
//
 
17
// $Id: CartCTYWidget.hxx 2743 2013-05-29 16:27:12Z stephena $
 
18
//============================================================================
 
19
 
 
20
#ifndef CARTRIDGECTY_WIDGET_HXX
 
21
#define CARTRIDGECTY_WIDGET_HXX
 
22
 
 
23
class CartridgeCTY;
 
24
class PopUpWidget;
 
25
 
 
26
#include "CartDebugWidget.hxx"
 
27
 
 
28
class CartridgeCTYWidget : public CartDebugWidget
 
29
{
 
30
  public:
 
31
    CartridgeCTYWidget(GuiObject* boss, const GUI::Font& font,
 
32
                       int x, int y, int w, int h,
 
33
                       CartridgeCTY& cart);
 
34
    virtual ~CartridgeCTYWidget() { }
 
35
 
 
36
    void loadConfig();
 
37
    void handleCommand(CommandSender* sender, int cmd, int data, int id);
 
38
 
 
39
    string bankState();
 
40
 
 
41
  private:
 
42
    CartridgeCTY& myCart;
 
43
    PopUpWidget* myBank;
 
44
 
 
45
    enum { kBankChanged = 'bkCH' };
 
46
};
 
47
 
 
48
#endif