dolphin/Source/Core/DolphinWX/Src/InfoWindow.h
2009-04-25 18:55:05 +00:00

86 lines
1.8 KiB
C++

// Copyright (C) 2003-2008 Dolphin Project.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 2.0.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License 2.0 for more details.
// A copy of the GPL 2.0 should have been included with the program.
// If not, see http://www.gnu.org/licenses/
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#ifndef __INFOWINDOW_H__
#define __INFOWINDOW_H__
#include <wx/wx.h>
#include <wx/sizer.h>
#include <wx/filepicker.h>
#include <wx/statbmp.h>
#include <wx/imaglist.h>
#include <wx/treectrl.h>
#include <wx/gbsizer.h>
#include <wx/notebook.h>
#include <wx/mimetype.h>
#include <wx/colour.h>
#include <wx/listbox.h>
#include <string>
#include "Filesystem.h"
#include "IniFile.h"
class wxInfoWindow : public wxFrame
{
public:
wxInfoWindow(wxFrame* parent, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize);
virtual ~wxInfoWindow();
protected:
// Event Table
DECLARE_EVENT_TABLE();
// --- GUI Controls ---
wxNotebook *m_Notebook_Main;
wxPanel *m_Tab_Log;
wxButton *m_Button_Close;
wxTextCtrl *m_TextCtrl_Log;
// GUI IDs
enum
{
ID_NOTEBOOK_MAIN,
ID_TAB_LOG,
ID_BUTTON_CLOSE,
ID_TEXTCTRL_LOG
};
void Init_ChildControls();
// --- Wx Events Handlers ---
// $ Window
void OnEvent_Window_Resize(wxSizeEvent& event);
void OnEvent_Window_Close(wxCloseEvent& event);
// $ Close Button
void OnEvent_ButtonClose_Press(wxCommandEvent& event);
};
#endif