view NewUI/MainMenu.h @ 1952:4ed7d18abe93

pActorBuffs[8] to pActorBuffs[ACTOR_BUFF_SOMETHING_THAT_HALVES_AC]
author Grumpy7
date Fri, 25 Oct 2013 11:14:32 -0700
parents a5637690ffbb
children 5abd8fc8f1c6
line wrap: on
line source

#pragma once
#include "Core/UIControl.h"
#include "..\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;
};