Пример #1
0
 public SpriteView(MainWindow mainWindow)
 {
     InitializeComponent();
     m_backgroundColour = 0;
     m_mainWindow       = mainWindow;
     DataContext        = new C128ViewModel();
     m_hiresOrMulti     = new bool[16, 16];
     setAllHires();
 }
Пример #2
0
 public VICBitmap(MainWindow mainWindow)
 {
     InitializeComponent();
     DataContext  = new C128ViewModel();
     m_mainWindow = mainWindow;
     address.Items.Clear();
     for (int i = 0; i < 0xFFFF; i += 0x2000)
     {
         address.Items.Add(string.Format("{0:X4}", i));
     }
     m_startAddress        = 0;
     address.SelectedIndex = 0;
     m_backgroundColour    = 0;
 }
Пример #3
0
 public CharView(MainWindow mainWindow)
 {
     InitializeComponent();
     DataContext  = new C128ViewModel();
     m_mainWindow = mainWindow;
     address.Items.Clear();
     for (int i = 0; i < 0xFFFF; i += 0x800)
     {
         address.Items.Add(string.Format("{0:X4}", i));
     }
     m_hiresOrMulti = new bool[16, 16];
     setAllHires();
     m_startAddress = 0;
 }