前のページ次のページ上に戻るホーム SophiaFramework 2.2
SFBControl
SFBControl インターフェイスのラッパークラスです。
#include <SFBControl.hpp>
class SFBControl : public SFBBase;
typedef SFBControl&          SFBControlRef;
typedef SFBControl*          SFBControlPtr;
typedef SFBControl**         SFBControlHandle;
typedef const SFBControl     ConstSFBControl;
typedef const SFBControl&    ConstSFBControlRef;
typedef const SFBControl*    ConstSFBControlPtr;
typedef const SFBControl**   ConstSFBControlHandle;

継承図

SFBControl クラスの継承図

参照

BREW API IControl

メンバ

パブリック関数
public
AddRef (SFBBase から継承) インターフェイスの参照カウントをインクリメントします。
public
GetProperties コントロール固有のプロパティまたはフラグを返します。
public
GetRect コントロールの矩形を取得します。
public
HandleEvent コントロールのイベント処理機能を提供します。 この関数はすべてのコントロールで実装する必要があります。
public
IsActive コントロールのアクティブ状態を返します。
public
Redraw コントロールの内容を再描画します。
public
Release (SFBBase から継承) インターフェイスの参照カウントをデクリメントします。
public
Reset コントロールの内容をリセットし、アクティブ状態をすぐに解除します。
public
SetActive コントロールのアクティブ状態を設定/解除します。
public
SetProperties コントロール固有のプロパティまたはフラグを設定します。
public
SetRect コントロールの矩形を設定します。

SFBControl::GetProperties
コントロール固有のプロパティまたはフラグを返します。
[ public ]
UInt32 GetProperties(Void);

参照

SFBControl::SetProperties


SFBControl::GetRect
コントロールの矩形を取得します。
[ public ]
Void GetRect(
    SFURectPtr pRect   
);
[ public ]
SFURect GetRect(Void);

参照

BREW API ICONTROL_GetRect | SFBControl::SetRect


SFBControl::HandleEvent
コントロールのイベント処理機能を提供します。 この関数はすべてのコントロールで実装する必要があります。
[ public ]
Bool HandleEvent(
    AEEEvent evt   
    UInt16 wp      
    UInt32 dwp     
);

参照

BREW API ICONTROL_HandleEvent


SFBControl::IsActive
コントロールのアクティブ状態を返します。
[ public ]
Bool IsActive(Void);

参照

BREW API ICONTROL_IsActive


SFBControl::Redraw
コントロールの内容を再描画します。
[ public ]
Bool Redraw(Void);

参照

BREW API ICONTROL_Redraw | SFBControl::SetActive


SFBControl::Reset
コントロールの内容をリセットし、アクティブ状態をすぐに解除します。
[ public ]
Void Reset(Void);

戻り値

コントロールの内容をリセットし、アクティブ状態をすぐに解除します。 この関数は一度の呼び出しでテキストコントロールまたはメニューコントロールに関連するメモリーをすべて解放したり、メニュー項目をすべて削除したりするのに便利です。

参照

BREW API ICONTROL_Reset | SFBControl::SetActive


SFBControl::SetActive
コントロールのアクティブ状態を設定/解除します。
[ public ]
Void SetActive(
    Bool bActive = TRUE   
);

参照

BREW API ICONTROL_SetActive


SFBControl::SetProperties
コントロール固有のプロパティまたはフラグを設定します。
[ public ]
Void SetProperties(
    UInt32 props   
);

参照

BREW API ICONTROL_SetProperties | SFBControl::GetProperties


SFBControl::SetRect
コントロールの矩形を設定します。
[ public ]
Void SetRect(
    ConstSFURectRef rect   
);

参照

BREW API ICONTROL_SetRect | AEERect | SFBControl::GetRect