view GUI/NewUI/MainMenu.h @ 2531:f6de3e15d4a5

for light in indoor
author Ritor1
date Sun, 23 Nov 2014 15:30:17 +0600
parents 0ff6a9e9bf7f
children
line wrap: on
line source

#pragma once
#include "Core/UIControl.h"
#include "..\..\Engine/Graphics/Render.h"


class MainMenuWindow: public UIControl
{
  public:
    static MainMenuWindow *Create();

    bool Initialize();

    // UIControl
    virtual void Show() override;
    
    // UIControl
    virtual bool Focused() override;
    
    // UIControl
    virtual bool OnKey(int key) override;
    // UIControl
    virtual bool OnMouseLeftClick(int x, int y) override;
    // UIControl
    virtual bool OnMouseRightClick(int x, int y) override;
    // UIControl
    //virtual bool OnMouseEnter() override;
    // UIControl
    //virtual bool OnMouseLeave() override;

  private:
	RGBTexture *background_texture;
};