- Main Page
- Classes
- Files

# My Documents/TS2/inc/Button.h File Reference

Various buttons classes. More...

`#include "d3dx9.h"`
`#include "MyDrawSprite.h"`
`#include "Sound.h"`

Include dependency graph for Button.h:

This graph shows which files directly or indirectly include this file:

## Classes
class | CButton
| This class is basic button class. More...
class | C2DButton
| 2D Button class. More...
class | C3DButton
| 3D Button class. More...
## Enumerations
enum | MPE_BUTTON_TYPE { MPE_BUTTON_TYPE_PLAIN, MPE_BUTTON_TYPE_2DSTATIC, MPE_BUTTON_TYPE_2DSWITCH, MPE_BUTTON_TYPE_2DANIM, MPE_BUTTON_TYPE_3DSTATIC, MPE_BUTTON_TYPE_3DANIM }

## Detailed Description

Various buttons classes.

Author:
  Petar Bajic, MPE (C) All Rights Reserved, Homepage: www.mystic-peanut.com

Date:
  January, 16 2007.

## Enumeration Type Documentation

enum MPE_BUTTON_TYPE

Button type enum. All kinds of buttons.

Enumerator:

  MPE_BUTTON_TYPE_PLAIN | button has no texture, just brush drawn rectangle and text
  MPE_BUTTON_TYPE_2DSTATIC | button has one texture, no animation or texture switching
  MPE_BUTTON_TYPE_2DSWITCH | button has two textures, it reacts onMouseOver by switching tex
  MPE_BUTTON_TYPE_2DANIM | button has two textures, it reacts onMOuseOver by softly blengind between textures
  MPE_BUTTON_TYPE_3DSTATIC | button has static 3D model, no animation or reaction to onMouseOver.
  MPE_BUTTON_TYPE_3DANIM | button has full model animation