OpenCores
URL https://opencores.org/ocsvn/thor/thor/trunk

Subversion Repositories thor

[/] [thor/] [trunk/] [software/] [emuThor/] [source/] [frmScreen.h] - Diff between revs 32 and 35

Show entire file | Details | Blame | View Log

Rev 32 Rev 35
Line 2... Line 2...
#include <Windows.h>
#include <Windows.h>
#include <string>
#include <string>
#include "clsSystem.h"
#include "clsSystem.h"
extern clsSystem system1;
extern clsSystem system1;
extern char refscreen;
extern char refscreen;
 
extern bool screenClosed;
 
extern bool dbgScreenClosed;
 
 
namespace emuThor {
namespace emuThor {
 
 
        using namespace System;
        using namespace System;
        using namespace System::ComponentModel;
        using namespace System::ComponentModel;
Line 42... Line 44...
                        if (components)
                        if (components)
                        {
                        {
                                delete components;
                                delete components;
                        }
                        }
                }
                }
 
        public: int which;
        public: unsigned long *pVidMem;
        public: unsigned long *pVidMem;
        public: bool *pVidDirty;
        public: bool *pVidDirty;
        private: System::Windows::Forms::Timer^  timer1;
        private: System::Windows::Forms::Timer^  timer1;
        private: System::Windows::Forms::PictureBox^  pictureBox1;
        private: System::Windows::Forms::PictureBox^  pictureBox1;
        protected:
        protected:
Line 95... Line 98...
                        this->Controls->Add(this->pictureBox1);
                        this->Controls->Add(this->pictureBox1);
                        this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedDialog;
                        this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedDialog;
                        this->MaximizeBox = false;
                        this->MaximizeBox = false;
                        this->Name = L"frmScreen";
                        this->Name = L"frmScreen";
                        this->Text = L"emuFISA64 Test System Screen";
                        this->Text = L"emuFISA64 Test System Screen";
 
                        this->FormClosed += gcnew System::Windows::Forms::FormClosedEventHandler(this, &frmScreen::frmScreen_FormClosed);
                        this->Paint += gcnew System::Windows::Forms::PaintEventHandler(this, &frmScreen::frmScreen_Paint);
                        this->Paint += gcnew System::Windows::Forms::PaintEventHandler(this, &frmScreen::frmScreen_Paint);
                        (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->EndInit();
                        (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->EndInit();
                        this->ResumeLayout(false);
                        this->ResumeLayout(false);
 
 
                }
                }
Line 149... Line 153...
//                                      this->Refresh();
//                                      this->Refresh();
                                 }
                                 }
                         }
                         }
        private: System::Void pictureBox1_Click(System::Object^  sender, System::EventArgs^  e) {
        private: System::Void pictureBox1_Click(System::Object^  sender, System::EventArgs^  e) {
                         }
                         }
 
private: System::Void frmScreen_FormClosed(System::Object^  sender, System::Windows::Forms::FormClosedEventArgs^  e) {
 
                         if (which==0)
 
                                 screenClosed = true;
 
                         else
 
                                 dbgScreenClosed = true;
 
                 }
private: System::Void pictureBox1_Paint(System::Object^  sender, System::Windows::Forms::PaintEventArgs^  e) {
private: System::Void pictureBox1_Paint(System::Object^  sender, System::Windows::Forms::PaintEventArgs^  e) {
                                 char buf[10];
                                 char buf[10];
                                 unsigned int ndx;
                                 unsigned int ndx;
                                 int r,g,b;
                                 int r,g,b;
                                 unsigned int v;
                                 unsigned int v;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.