gadget that slides More...
Public Types | |
enum | Button { None = 0 , MINUS , PLUS } |
For acquiring the status of plus/minus (buttons that can be pressed to adjust values) More... | |
Public Types inherited from Yukar.Engine.ButtonGadget | |
enum | State { None , ShowMove , Show , DisableMove , Disable , HideMove , Hide } |
Display state More... | |
Public Member Functions | |
SliderGadget (VirtualPad inController) | |
override void | update () |
override void | draw () |
override bool | isRange (SharpKmyMath.Vector2 inPos) |
Button | getTouchButton () |
Public Member Functions inherited from Yukar.Engine.ButtonGadget | |
AnimData | GetAnimShow () |
ButtonGadget (VirtualPad inController) | |
void | setShowAnim (AnimData inData) |
void | setDisableAnim (AnimData inData) |
void | setHideAnim (AnimData inData) |
virtual void | setHitRange (SharpKmyMath.Vector4 inRange) |
virtual void | setHitMargin (SharpKmyMath.Vector2 inMargin) |
bool | isShow (State inState=State.None) |
bool | isHide (State inState=State.None) |
bool | isDisable (State inState=State.None) |
void | show (float inTime) |
void | disable (float inTime) |
void | hide (float inTime) |
virtual void | update () |
virtual void | draw () |
virtual bool | isRange (SharpKmyMath.Vector2 inPos) |
virtual bool | isTouch () |
Properties | |
GadgetImage.Parts | PartsCenter [get, set] |
bool | IsVertical [get, set] |
Properties inherited from Yukar.Engine.ButtonGadget | |
GadgetImage.Parts | Parts [get, set] |
SharpKmyMath.Vector3 | Pos [get] |
SharpKmyMath.Vector4 | Color [get, set] |
Additional Inherited Members | |
Static Public Attributes inherited from Yukar.Engine.ButtonGadget | |
static readonly SharpKmyMath.Vector4 | None = new SharpKmyMath.Vector4(-1000, -1000, -1000, -1000) |
Protected Attributes inherited from Yukar.Engine.ButtonGadget | |
VirtualPad | mController = null |
GadgetImage.Parts | mParts = GadgetImage.Parts.None |
AnimData | mAnimNow = new AnimData() |
AnimData | mAnimShow = new AnimData() |
AnimData | mAnimHide = new AnimData() |
AnimData | mAnimDisable = new AnimData() |
SharpKmyMath.Vector4 | mHitRange = None |
SharpKmyMath.Vector2 | mHitMargin = new SharpKmyMath.Vector2(0, 0) |
SharpKmyMath.Vector4 | mColor = None |
AnimData | mMoveSrc = new AnimData() |
AnimData | mMoveDst = new AnimData() |
Touch.Point | mTouchPoint = null |
State | mState = State.None |
gadget that slides
Yukar.Engine.SliderGadget.SliderGadget | ( | VirtualPad | inController | ) |
|
virtual |
Reimplemented from Yukar.Engine.ButtonGadget.
Button Yukar.Engine.SliderGadget.getTouchButton | ( | ) |
|
virtual |
Reimplemented from Yukar.Engine.ButtonGadget.
|
virtual |
Reimplemented from Yukar.Engine.ButtonGadget.
|
getset |
|
getset |