//---------------------------------------------------------------------------

#ifndef ide_mbuttonH
#define ide_mbuttonH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------


#include "font.h"

#include "gui_bmpbutton.h"


class Tide_mbutton_Form : public TForm
{
__published:	// IDE-managed Components
private:	// User declarations
public:		// User declarations

        __fastcall Tide_mbutton_Form(TComponent* Owner);

        //[2012.04.29.일][완료!!!]
        __fastcall ~Tide_mbutton_Form(void);

        //[서브클래싱]
        //{
            void __fastcall WndProc(Messages::TMessage &Message);
        //}

        //[VAR]
        //{
            //[환경변수]
            //{
                //[2007.10.02.화][추가!!!]
                struct  IDE_OPTION   *_ide_option;

            //}

            //[실제 그리는 영역]{------
            Graphics::TBitmap  *_bmp_;
            //}------------------------

            //[내부 컨트롤]
            //{
                //메인 버튼.
                #define  d_main_bmpbtns_count  3
                Tgui_bmpbutton_Form  *_main_bmpbtns[d_main_bmpbtns_count];
                //{
                    #define  d_main_bmpbtn_save        0
                    #define  d_main_bmpbtn_save_all    1
                    #define  d_main_bmpbtn_open        2
                //}
            //}
        //}

        //[FUNCTION]
        //{
            void __fastcall _Border(void);

            void __fastcall _Shape(void);

            void __fastcall _Draw(void);

            //[2009.04.10.금][완료!!!]
            void __fastcall _Enable(bool  pEnable);

        //}

        //[EVENT FUNCTION]
        //{
            void __fastcall _EVENT_SaveButton_Click(void);
            void __fastcall _EVENT_SaveAllButton_Click(void);
            void __fastcall _EVENT_OpenButton_Click(void);
        //}

};
//---------------------------------------------------------------------------
extern PACKAGE Tide_mbutton_Form *ide_mbutton_Form;
//---------------------------------------------------------------------------
#endif
