/////////////////////////////////////////////////////////////////////////////
// Name:        TiPerformanceDialog.h
// Purpose:     
// Author:      Vince Harron
// Modified by: 
// Created:     10/18/05 15:36:04
// RCS-ID:      
// Copyright:   2005 Sony Online Entertainment
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _TIPERFORMANCEDIALOG_H_
#define _TIPERFORMANCEDIALOG_H_

#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "TiPerformanceDialog.cpp"
#endif

/*!
 * Includes
 */

////@begin includes
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_MYDIALOG 10045
#define SYMBOL_PERFORMANCEDIALOG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_PERFORMANCEDIALOG_TITLE _("Dialog")
#define SYMBOL_PERFORMANCEDIALOG_IDNAME ID_MYDIALOG
#define SYMBOL_PERFORMANCEDIALOG_SIZE wxSize(400, 300)
#define SYMBOL_PERFORMANCEDIALOG_POSITION wxDefaultPosition
#define ID_OUTPUTTEXT 10000
////@end control identifiers

/*!
 * Compatibility
 */

#ifndef wxCLOSE_BOX
#define wxCLOSE_BOX 0x1000
#endif
#ifndef wxFIXED_MINSIZE
#define wxFIXED_MINSIZE 0
#endif

/*!
 * PerformanceDialog class declaration
 */

class PerformanceDialog: public wxDialog
{    
    DECLARE_DYNAMIC_CLASS( PerformanceDialog )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    PerformanceDialog( );
    PerformanceDialog( wxWindow* parent, wxWindowID id = SYMBOL_PERFORMANCEDIALOG_IDNAME, const wxString& caption = SYMBOL_PERFORMANCEDIALOG_TITLE, const wxPoint& pos = SYMBOL_PERFORMANCEDIALOG_POSITION, const wxSize& size = SYMBOL_PERFORMANCEDIALOG_SIZE, long style = SYMBOL_PERFORMANCEDIALOG_STYLE );

    /// Creation
    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_PERFORMANCEDIALOG_IDNAME, const wxString& caption = SYMBOL_PERFORMANCEDIALOG_TITLE, const wxPoint& pos = SYMBOL_PERFORMANCEDIALOG_POSITION, const wxSize& size = SYMBOL_PERFORMANCEDIALOG_SIZE, long style = SYMBOL_PERFORMANCEDIALOG_STYLE );

    /// Creates the controls and sizers
    void CreateControls();

////@begin PerformanceDialog event handler declarations
////@end PerformanceDialog event handler declarations

////@begin PerformanceDialog member function declarations
    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end PerformanceDialog member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin PerformanceDialog member variables
    wxTextCtrl* mpOutput;
////@end PerformanceDialog member variables
};

#endif
    // _TIPERFORMANCEDIALOG_H_
