#include <Mouse.h>
Public Member Functions | |
| virtual int | getXAxis () const |
| X軸の取得. | |
| virtual int | getYAxis () const |
| Y軸の取得. | |
| virtual int | getZAxis () const |
| Z軸の取得. | |
| int | getZResolution () const |
| Z解像度の取得. | |
| virtual float | getCorrectedZAxis () const |
| 補正済みZ軸の取得 | |
| virtual int | getButtonCount () const |
| ボタン数の取得 | |
| virtual bool | buttonPressed (int id) const |
| ボタンが押されているか | |
| virtual bool | buttonDown (int id) const |
| ボタンが下がった | |
| virtual bool | buttonUp (int id) const |
| ボタンが上がった | |
| virtual void | setClickPositionRange (int clickPositionRange) |
| クリック位置範囲の設定 | |
| virtual int | getClickPositionRange () const |
| クリック位置範囲の取得 | |
| virtual void | setDoubleClickTimeRange (int doubleClickTimeRange) |
| ダブルクリック時間範囲の設定 | |
| virtual int | getDoubleClickTimeRange () const |
| ダブルクリック時間範囲の取得 | |
| virtual bool | clicked (int id) const |
| クリックされたか | |
| virtual bool | doubleClicked (int id) const |
| ダブルクリックされたか | |
| virtual bool | doubleDown (int id) const |
| ダブルダウンされたか | |
| virtual String | getName () const |
| 名前の取得 | |
| virtual bool | isAttached () const |
| アタッチされているか | |
| virtual bool | isPolled () const |
| ポーリングが必要か | |
| virtual String | toString () const |
| 文字列への変換 | |
| virtual void | clear () |
| クリア | |
| virtual bool | setCooperativeLevel (bool exclusive, bool foreground) |
| 協調レベルの設定 | |
| virtual bool | isExclusive () const |
| 排他モードか | |
| virtual bool | isForeground () const |
| フォアグラウンドモードか | |
Static Public Attributes | |
| const int | maxButtonCount = 8 |
| 最大ボタン数 | |
Protected Member Functions | |
| Mouse (MouseDevice *device) | |
| コンストラクタ | |
| virtual | ~Mouse () |
| デストラクタ | |
| virtual void | setNextState (const MouseState &state) |
| 次のステート設定 | |
| virtual const MouseState & | getState () |
| ステートの取得 | |
| virtual void | clickStateClear () |
| クリックステートクリア | |
Friends | |
| class | LampInput |
| class | BufferedInput |
Definition at line 37 of file Mouse.h.
|
|
コンストラクタ
Definition at line 32 of file Mouse.cpp. References clickStateClear(). |
|
|
ボタンが下がった
Definition at line 105 of file Mouse.h. References Lamp::MouseState::buttonPressed(). Referenced by setNextState(), and toString(). |
|
|
ボタンが押されているか
Definition at line 96 of file Mouse.h. References Lamp::MouseState::buttonPressed(). Referenced by toString(). |
|
|
ボタンが上がった
Definition at line 114 of file Mouse.h. References Lamp::MouseState::buttonPressed(). Referenced by setNextState(), and toString(). |
|
|
クリックされたか
Definition at line 156 of file Mouse.h. References Assert, and maxButtonCount. Referenced by toString(). |
|
|
ダブルクリックされたか
Definition at line 167 of file Mouse.h. References Assert, and maxButtonCount. Referenced by toString(). |
|
|
ダブルダウンされたか
Definition at line 178 of file Mouse.h. References Assert, and maxButtonCount. Referenced by toString(). |
|
|
ボタン数の取得
Definition at line 89 of file Mouse.h. References Lamp::InputDevice::getButtonCount(). Referenced by setNextState(), and toString(). |
|
|
クリック位置範囲の取得
|
|
|
補正済みZ軸の取得
Definition at line 78 of file Mouse.h. References getZAxis(), and getZResolution(). |
|
|
ダブルクリック時間範囲の取得
|
|
|
名前の取得
Definition at line 189 of file Mouse.h. References Lamp::InputDevice::getProductName(). Referenced by toString(). |
|
|
ステートの取得
|
|
|
X軸の取得.
Definition at line 54 of file Mouse.h. References Lamp::MouseState::getXAxis(). Referenced by setNextState(), and toString(). |
|
|
Y軸の取得.
Definition at line 60 of file Mouse.h. References Lamp::MouseState::getYAxis(). Referenced by setNextState(), and toString(). |
|
|
Z軸の取得.
Definition at line 66 of file Mouse.h. References Lamp::MouseState::getZAxis(). Referenced by getCorrectedZAxis(), and toString(). |
|
|
Z解像度の取得.
Definition at line 72 of file Mouse.h. References Lamp::MouseDevice::getZResolution(). Referenced by getCorrectedZAxis(), and toString(). |
|
|
アタッチされているか
Definition at line 195 of file Mouse.h. References Lamp::InputDevice::isAttached(). Referenced by toString(). |
|
|
排他モードか
Definition at line 231 of file Mouse.h. References Lamp::InputDevice::isExclusive(). |
|
|
フォアグラウンドモードか
Definition at line 237 of file Mouse.h. References Lamp::InputDevice::isForeground(). |
|
|
ポーリングが必要か
Definition at line 201 of file Mouse.h. References Lamp::InputDevice::isPolled(). Referenced by toString(). |
|
|
クリック位置範囲の設定
|
|
||||||||||||
|
協調レベルの設定
Definition at line 223 of file Mouse.h. References Lamp::MouseDevice::setCooperativeLevel(). |
|
|
ダブルクリック時間範囲の設定
|
|
|
次のステート設定
Definition at line 54 of file Mouse.cpp. References buttonDown(), buttonUp(), getButtonCount(), getXAxis(), getYAxis(), Lamp::Point2i::set(), Lamp::Point2i::x, and Lamp::Point2i::y. |
|
|
文字列への変換
Definition at line 110 of file Mouse.cpp. References buttonDown(), buttonPressed(), buttonUp(), clicked(), doubleClicked(), doubleDown(), Lamp::String::format(), getButtonCount(), getName(), getXAxis(), getYAxis(), getZAxis(), getZResolution(), isAttached(), isPolled(), and maxButtonCount. |
1.3.2