Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

ExpressionTester.h

/*
* This file is part of HexEditor plugin for Code::Blocks Studio
* Copyright (C) 2008-2009 Bartlomiej Swiecki
*
* HexEditor plugin 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; either version 3 of the License, or
* (at your option) any later version.
*
* HexEditor pluging 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 for more details.
*
* You should have received a copy of the GNU General Public License
* along with HexEditor. If not, see <http://www.gnu.org/licenses/>.
*
* $Revision: 6104 $
* $Id: ExpressionTester.h 6104 2010-01-23 12:56:12Z mortenmacfly $
* $HeadURL: svn+ssh://jenslody@svn.berlios.de/svnroot/repos/codeblocks/trunk/src/plugins/contrib/HexEditor/ExpressionTester.h $
*/

#ifndef EXPRESSIONTESTER_H
#define EXPRESSIONTESTER_H

//(*Headers(ExpressionTester)
#include <wx/sizer.h>
#include <wx/button.h>
#include "scrollingdialog.h"
#include <wx/stattext.h>
#include <wx/textctrl.h>
//*)

#include "FileContentBase.h"

00036 class ExpressionTester: public wxScrollingDialog
{
      public:

            ExpressionTester( wxWindow* parent, FileContentBase* content, FileContentBase::OffsetT current );
            virtual ~ExpressionTester();

      private:

            //(*Declarations(ExpressionTester)
            wxButton* Button4;
            wxButton* Button1;
            wxStaticText* m_Parsing;
            wxButton* Button2;
            wxButton* Button3;
            wxStaticText* StaticText1;
            wxTextCtrl* m_Expr;
            wxStaticText* StaticText3;
            wxTextCtrl* m_Dump;
            wxStaticText* StaticText4;
            wxStaticText* StaticText2;
            wxStaticText* m_Result;
            //*)

            //(*Identifiers(ExpressionTester)
            static const long ID_STATICTEXT1;
            static const long ID_TEXTCTRL1;
            static const long ID_BUTTON3;
            static const long ID_STATICTEXT2;
            static const long ID_STATICTEXT3;
            static const long ID_STATICTEXT4;
            static const long ID_STATICTEXT5;
            static const long ID_STATICTEXT6;
            static const long ID_TEXTCTRL2;
            static const long ID_BUTTON4;
            static const long ID_BUTTON2;
            static const long ID_BUTTON1;
            //*)

            //(*Handlers(ExpressionTester)
            void OnButton1Click(wxCommandEvent& event);
            void OnButton2Click(wxCommandEvent& event);
            void OnButton3Click(wxCommandEvent& event);
            void OnButton4Click(wxCommandEvent& event);
            //*)

            FileContentBase* m_Content;
            FileContentBase::OffsetT m_Current;

            void BuildContent(wxWindow* parent);

            DECLARE_EVENT_TABLE()
};

#endif

Generated by  Doxygen 1.6.0   Back to index