view TaskManager/Test/test_render/Pad.h @ 174:559b48b69b76

getScale()、getTapestry から、span->length に適切なテクスチャの選択に成功
author gongo@localhost.localdomain
date Fri, 12 Dec 2008 12:23:20 +0900
parents 861271089c43
children d61fded0729e
line wrap: on
line source

#ifndef INCLUDED_PAD
#define INCLUDED_PAD

#ifndef INCLUDED_BUTTON
#  include "Button.h"
#endif

class Pad {
public:
    Button count;
    Button cross;
    Button circle;
    Button square;
    Button triangle;
    Button l1;
    Button r1;
    Button l2;
    Button r2;
    Button start;
    Button select;
    Button l3;
    Button r3;
    Button up;
    Button down;
    Button right;
    Button left;
    Button escape;
    Button space;

    virtual ~Pad(void) {}
    virtual void check(void) = 0;
    virtual void close(void) {}
};

#endif