メインページ | クラス階層 | 構成 | ファイル一覧 | 構成メンバ | ファイルメンバ

クラス MouseEvent

マウスイベントクラス

MouseEventに対する継承グラフ

Event Object すべてのメンバ一覧

Public メソッド

 MouseEvent (int type, Control *target, int x, int y)

コンストラクタとデストラクタ

MouseEvent::MouseEvent  ) 
 

MouseEvent::MouseEvent int  type,
Control source,
int  x,
int  y
 

コンストラクタ.

x, y はメインウィンドウの内部領域の左上に対する相対座標である。 絶対座標(ax,ay)は以下のように取得する。

  • ax = x + getMainWindow()->getRect()->x + INSETS_LEFT;
  • ay = y + getMainWindow()->getRect()->y + INSETS_TOP;
引数:
type type イベントタイプ
source イベント発生元
x X座標(絶対座標)
y Y座標(絶対座標)

MouseEvent::~MouseEvent  )  [virtual]
 

デストラクタ


変数

unsigned int MouseEvent::button
 

ボタン種別

int MouseEvent::x
 

X座標.

int MouseEvent::y
 

Y座標.


このクラスの説明は次のファイルから生成されました:
BayGUI APIに対してMon Feb 21 12:42:25 2005に生成されました。  doxygen 1.4.1