#include <Spin.hpp>

Inheritance diagram for ewol::widget::Spin:
ewol::widget::SpinBase ewol::widget::Sizer ewol::widget::ContainerN ewol::Widget ewol::Object ememory::EnableSharedFromThis< Object > eproperty::Interface ememory::EnableSharedFromThisBase

Public Member Functions

 DECLARE_WIDGET_FACTORY (Spin, "Spin")
 
virtual ~Spin ()
 
- Public Member Functions inherited from ewol::widget::SpinBase
 UN_DECLARE_FACTORY (SpinBase)
 
virtual ~SpinBase ()
 
virtual bool loadXML (const exml::Element &_node) override
 
- Public Member Functions inherited from ewol::widget::Sizer
 DECLARE_WIDGET_FACTORY (Sizer, "Sizer")
 
virtual ~Sizer ()
 
void onChangeSize () override
 
void calculateMinMaxSize () override
 
int32_t subWidgetAdd (ewol::WidgetShared _newWidget) override
 
int32_t subWidgetAddStart (ewol::WidgetShared _newWidget) override
 
void subWidgetRemove (ewol::WidgetShared _newWidget) override
 
void subWidgetUnLink (ewol::WidgetShared _newWidget) override
 
- Public Member Functions inherited from ewol::widget::ContainerN
virtual ~ContainerN ()
 
virtual void subWidgetRemoveAll ()
 
virtual void subWidgetRemoveAllDelayed ()
 
virtual void subWidgetReplace (ewol::WidgetShared _oldWidget, ewol::WidgetShared _newWidget)
 
int32_t subWidgetAddBack (ewol::WidgetShared _newWidget)
 
int32_t subWidgetAddEnd (ewol::WidgetShared _newWidget)
 
int32_t subWidgetAddFront (ewol::WidgetShared _newWidget)
 
void systemDraw (const ewol::DrawProperty &_displayProp) override
 
void onRegenerateDisplay () override
 
ewol::WidgetShared getWidgetAtPos (const vec2 &_pos) override
 
ewol::ObjectShared getSubObjectNamed (const std::string &_objectName) override
 
void setOffset (const vec2 &_newVal) override
 
void requestDestroyFromChild (const ewol::ObjectShared &_child) override
 
- Public Member Functions inherited from ewol::Widget
virtual ~Widget ()
 
virtual vec2 relativePosition (const vec2 &_pos)
 
virtual void calculateSize ()
 
virtual vec2 getSize ()
 
virtual void setSize (const vec2 &_value)
 
virtual vec2 getCalculateMinSize ()
 
virtual vec2 getCalculateMaxSize ()
 
virtual const vec2getOffset ()
 
virtual void setZoom (float _newVal)
 
virtual float getZoom ()
 
virtual void changeZoom (float _range)
 
virtual void setOrigin (const vec2 &_pos)
 
virtual vec2 getOrigin ()
 
void setNoMinSize ()
 
virtual void checkMinSize ()
 
void setNoMaxSize ()
 
virtual void checkMaxSize ()
 
const bvec2canFill ()
 
virtual bool getFocus ()
 
virtual bool setFocus ()
 
virtual bool rmFocus ()
 
virtual void keepFocus ()
 
virtual int32_t getMouseLimit ()
 
virtual void setMouseLimit (int32_t _numberState)
 
virtual bool getKeyboardRepeate ()
 
virtual bool systemEventInput (ewol::event::InputSystem &_event)
 
virtual bool systemEventEntry (ewol::event::EntrySystem &_event)
 
virtual void onEventClipboard (enum gale::context::clipBoard::clipboardListe _clipboardID)
 
virtual bool onEventShortCut (const gale::key::Special &_special, char32_t _unicodeValue, enum gale::key::keyboard _kbMove, bool _isDown)
 
virtual void grabCursor ()
 
virtual void unGrabCursor ()
 
virtual bool getGrabStatus ()
 
virtual void setCursor (enum gale::context::cursor _newCursor)
 
virtual enum gale::context::cursor getCursor ()
 
void requestUpdateSize ()
 
ewol::widget::ManagergetWidgetManager ()
 
ememory::SharedPtr< ewol::widget::WindowsgetWindows ()
 
void setAnnimationType (enum ewol::Widget::annimationMode _mode, const std::string &_type)
 
void setAnnimationTime (enum ewol::Widget::annimationMode _mode, float _time)
 
bool startAnnimation (enum ewol::Widget::annimationMode _mode)
 
bool stopAnnimation ()
 
- Public Member Functions inherited from ewol::Object
 DECLARE_FACTORY (Object)
 
virtual ~Object ()
 
bool objectHasBeenCorectlyInit ()
 
virtual void destroy ()
 
bool isDestroyed () const
 
virtual void setParent (const ewol::ObjectShared &_newParent)
 
virtual void removeParent ()
 
const char *const getObjectType () const
 
std::string getTypeDescription () const
 
bool isTypeCompatible (const std::string &_type) const
 
bool getStatic ()
 
int32_t getId ()
 
bool propertySetOnWidgetNamed (const std::string &_objectName, const std::string &_config, const std::string &_value)
 
virtual bool storeXML (exml::Element &_node) const
 
void setStatusResource (bool _val)
 
bool getStatusResource () const
 
- Public Member Functions inherited from ememory::EnableSharedFromThis< Object >
ememory::SharedPtr< EMEMORY_TYPE > sharedFromThis ()
 
const ememory::SharedPtr< EMEMORY_TYPE > sharedFromThis () const
 
ememory::WeakPtr< EMEMORY_TYPE > weakFromThis ()
 
const ememory::WeakPtr< EMEMORY_TYPE > weakFromThis () const
 

Public Attributes

esignal::Signal< int64_t > signalValue
 
esignal::Signal< double > signalValueDouble
 
eproperty::Value< int64_t > propertyValue
 
eproperty::Value< int64_t > propertyMin
 
eproperty::Value< int64_t > propertyMax
 
eproperty::Value< int64_t > propertyIncrement
 
eproperty::Value< int8_t > propertyMantis
 
- Public Attributes inherited from ewol::widget::SpinBase
eproperty::Value< std::string > propertyShape
 
eproperty::List< enum ewol::widget::spinPositionpropertySpinMode
 
- Public Attributes inherited from ewol::widget::Sizer
eproperty::List< enum displayModepropertyMode
 
eproperty::Value< gale::Dimension > propertyBorderSize
 
eproperty::List< enum animationpropertyAnimation
 
eproperty::Value< float > propertyAnimationTime
 
- Public Attributes inherited from ewol::widget::ContainerN
eproperty::Value< bvec2propertyLockExpand
 
- Public Attributes inherited from ewol::Widget
eproperty::Value< gale::Dimension > propertyMinSize
 
eproperty::Value< gale::Dimension > propertyMaxSize
 
eproperty::Value< bvec2propertyExpand
 
eproperty::Value< bvec2propertyFill
 
eproperty::Value< bool > propertyHide
 
eproperty::List< enum ewol::gravitypropertyGravity
 
eproperty::Value< bool > propertyCanFocus
 
esignal::Signal< std::string > signalShortcut
 
esignal::Signal signalAnnimationStart
 
esignal::Signal< float > signalAnnimationRatio
 
esignal::Signal signalAnnimationStop
 
- Public Attributes inherited from ewol::Object
eproperty::Value< std::string > propertyName
 
- Public Attributes inherited from eproperty::Interface
eproperty::InterfaceData properties
 

Protected Member Functions

 Spin ()
 
virtual void checkValue (int64_t _value)
 
virtual void updateGui ()
 
void onCallbackUp ()
 
void onCallbackDown ()
 
virtual void onChangePropertyValue ()
 
virtual void onChangePropertyMin ()
 
virtual void onChangePropertyMax ()
 
virtual void onChangePropertyIncrement ()
 
virtual void onChangePropertyMantis ()
 
- Protected Member Functions inherited from ewol::widget::SpinBase
 SpinBase ()
 
void init () override
 
virtual void onChangePropertySpinMode ()
 
virtual void onChangePropertyShape ()
 
- Protected Member Functions inherited from ewol::widget::Sizer
 Sizer ()
 
virtual void onChangePropertyMode ()
 
virtual void onChangePropertyBorderSize ()
 
- Protected Member Functions inherited from ewol::widget::ContainerN
 ContainerN ()
 
virtual bvec2 canExpand () override
 
virtual void onChangePropertyLockExpand ()
 
- Protected Member Functions inherited from ewol::Widget
 Widget ()
 
virtual void onGetFocus ()
 
virtual void onLostFocus ()
 
virtual void setKeyboardRepeate (bool _state)
 
virtual void showKeyboard ()
 
virtual void hideKeyboard ()
 
virtual bool onEventInput (const ewol::event::Input &_event)
 
virtual bool onEventEntry (const ewol::event::Entry &_event)
 
virtual void shortCutAdd (const std::string &_descriptiveString, const std::string &_message="")
 
virtual void shortCutClean ()
 
virtual void shortCutRemove (const std::string &_message)
 
virtual void markToRedraw ()
 
virtual bool needRedraw ()
 
virtual void onDraw ()
 
void addAnnimationType (enum ewol::Widget::annimationMode _mode, const char *_type)
 
virtual bool onStartAnnimation (enum ewol::Widget::annimationMode _mode)
 
virtual void onStopAnnimation ()
 
virtual void onChangePropertyCanFocus ()
 
virtual void onChangePropertyGravity ()
 
virtual void onChangePropertyHide ()
 
virtual void onChangePropertyFill ()
 
virtual void onChangePropertyExpand ()
 
virtual void onChangePropertyMaxSize ()
 
virtual void onChangePropertyMinSize ()
 
- Protected Member Functions inherited from ewol::Object
 Object ()
 
virtual void autoDestroy ()
 
void addObjectType (const char *_type)
 

Protected Attributes

esignal::Connection m_connectionEntry
 
esignal::Connection m_connectionButtonUp
 
esignal::Connection m_connectionButtonDown
 
- Protected Attributes inherited from ewol::widget::SpinBase
ememory::SharedPtr< ewol::resource::ConfigFilem_config
 
int32_t m_confIdEntryShaper
 
int32_t m_confIdUpShaper
 
int32_t m_confIdDownShaper
 
int32_t m_confIdUpData
 
int32_t m_confIdDownData
 
ewol::widget::EntryShared m_widgetEntry
 
ewol::widget::ButtonShared m_widgetButtonDown
 
ewol::widget::ButtonShared m_widgetButtonUp
 
- Protected Attributes inherited from ewol::widget::ContainerN
std::list< ewol::WidgetSharedm_subWidget
 
bvec2 m_subExpend
 
- Protected Attributes inherited from ewol::Widget
vec2 m_size
 
vec2 m_minSize
 
vec2 m_maxSize
 
vec2 m_offset
 
float m_zoom
 
vec2 m_origin
 
bool m_needRegenerateDisplay
 
enum annimationMode m_annimationMode
 
float m_annimationratio
 
eproperty::List< int32_t > propertyAnnimationTypeStart
 
eproperty::Range< float > propertyAnnimationTimeStart
 
eproperty::List< int32_t > propertyAnnimationTypeStop
 
eproperty::Range< float > propertyAnnimationTimeStop
 
- Protected Attributes inherited from ewol::Object
ewol::ObjectWeak m_parent
 
bool m_destroy
 
bool m_static
 

Additional Inherited Members

- Public Types inherited from ewol::widget::Sizer
enum  displayMode { modeVert, modeHori }
 
enum  animation {
  animationNone, animationTop, animationbuttom, animationLeft,
  animationRight
}
 
- Static Public Member Functions inherited from ewol::Object
static ewol::object::ManagergetObjectManager ()
 
static ewol::ContextgetContext ()
 
static ewol::ObjectShared getObjectNamed (const std::string &_objectName)
 
- Protected Types inherited from ewol::Widget
enum  annimationMode { annimationModeEnableAdd, annimationModeEnableRemove, annimationModeDisable }
 

Detailed Description

a composed Spin is a Spin with an inside composed with the specify XML element ==> this permit to generate standard element simple

Constructor & Destructor Documentation

§ Spin()

ewol::widget::Spin::Spin ( )
protected

Constructor.

Parameters
[in]_modemode to display the spin
[in]_shaperNameShaper file properties

§ ~Spin()

virtual ewol::widget::Spin::~Spin ( )
virtual

Destructor.

Member Data Documentation

§ propertyIncrement

eproperty::Value<int64_t> ewol::widget::Spin::propertyIncrement

Increment value.

§ propertyMantis

eproperty::Value<int8_t> ewol::widget::Spin::propertyMantis

number of value under '.' value

§ propertyMax

eproperty::Value<int64_t> ewol::widget::Spin::propertyMax

Maximum value.

§ propertyMin

eproperty::Value<int64_t> ewol::widget::Spin::propertyMin

Minimum value.

§ propertyValue

eproperty::Value<int64_t> ewol::widget::Spin::propertyValue

Current value of the Spin.


The documentation for this class was generated from the following file:
  • framework/atria-soft/ewol/ewol/widget/Spin.hpp