Woopsi 1.0 GUI Framework for Nintendo DS Homebrew

- Main Page
- Classes
- Files

- File List

# keyboardeventargs.h

    00001 #include "eventargs.h"
    00002
    00003 #ifndef _KEYBOARDEVENTARGS_H_
    00004 #define _KEYBOARDEVENTARGS_H_
    00005
    00006 namespace WoopsiUI {
    00007
    00008         class WoopsiKey;
    00009         class WoopsiKeyboard;
    00010
    00015         class KeyboardEventArgs : public EventArgs<WoopsiKeyboard*> {
    00016         public:
    00017
    00024                 KeyboardEventArgs(WoopsiKeyboard* source, WoopsiKey* key) : EventArgs<WoopsiKeyboard*>(source) {
    00025                         _key = key;
    00026                 };
    00027
    00032                 inline const WoopsiKey* getKey() const { return _key; };
    00033
    00034         private:
    00035                 WoopsiKey* _key;
    00036         };
    00037 }
    00038
    00039 #endif