Logo
Public Types | Public Member Functions | Properties | List of all members
Yukar.Engine.SliderGadget Class Reference

gadget that slides More...

Inheritance diagram for Yukar.Engine.SliderGadget:
Yukar.Engine.ButtonGadget

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
 

Detailed Description

gadget that slides

Member Enumeration Documentation

◆ Button

For acquiring the status of plus/minus (buttons that can be pressed to adjust values)

Enumerator
None 
MINUS 
PLUS 

Constructor & Destructor Documentation

◆ SliderGadget()

Yukar.Engine.SliderGadget.SliderGadget ( VirtualPad  inController)

Member Function Documentation

◆ draw()

override void Yukar.Engine.SliderGadget.draw ( )
virtual

Reimplemented from Yukar.Engine.ButtonGadget.

◆ getTouchButton()

Button Yukar.Engine.SliderGadget.getTouchButton ( )

◆ isRange()

override bool Yukar.Engine.SliderGadget.isRange ( SharpKmyMath.Vector2  inPos)
virtual

Reimplemented from Yukar.Engine.ButtonGadget.

◆ update()

override void Yukar.Engine.SliderGadget.update ( )
virtual

Reimplemented from Yukar.Engine.ButtonGadget.

Property Documentation

◆ IsVertical

bool Yukar.Engine.SliderGadget.IsVertical
getset

◆ PartsCenter

GadgetImage.Parts Yukar.Engine.SliderGadget.PartsCenter
getset