| Viewing Single Post From: Sprockets | |
|---|---|
| Alan | Mar 8 2007, 11:18 AM |
|
Administrator
![]() ![]() ![]() ![]() ![]()
|
Sprockets: Is the base class for all readable objects. Inherits from: nothing Function List: public: Sprockets(std::string _NameMain,int _TypeMain); Sprockets(std::string _NameMain,int _TypeMain, int _x, int _y,int _z); virtual ~Sprockets(); virtual void CallBackFromSuper(); virtual void LoadTexture(); virtual void SDL_GL_SurfaceToTexture(SDL_Surface * surface); virtual void CreateTexture(SDL_Surface * _baseSurface,SDL_Surface * _image); int NearestPowerOfTwo(int i); void SetLocation(int _x,int _y); int GetLocationX(); int GetLocationY(); std::string GetName(); int GetLocationZ (); EpeeEngineError GetLastError(); void SetLastError(EpeeEngineError _error); void ClearError(); virtual void SetHeightWidth(unsigned int _Height,unsigned int _Width); unsigned int GetHeight(); unsigned int GetWidth (); bool SetDraw(bool _Draw); bool GetDraw(); int GetType(); bool SetScalingFactor(double _ScalingX,double _ScalingY); bool SetScalingFactorY(double _ScalingY); bool SetScalingFactorX(double _ScalingX); double GetScalingFactorX(); double GetScalingFactorY(); bool SetRotation(double _Degrees ); double GetRotation(); bool SetAntiAliased(bool _AntiAliased ); bool GetAntiAliased(); int GetCurrentVectorPostion(); virtual Sprockets * WasClicked(int _mouselocationX, int _mouselocationY); void DisableClick(); void EnableClick(); bool GetIsClickEnabled(); void DisableAndTurnOffDraw(); void EnableAndTurnOnDraw(); void SetDontMoveOnClick(bool _flag); bool GetDontMoveOnClick(); bool WasLastSprocketClicked(); void ShowOutLine(); void HideOutLine(); bool GetOutLine(); protected: bool GetBlit(); virtual SDL_Surface * SetSurface(); virtual SDL_Surface * GetSprocketSurface(); SDL_Rect * GetRect(); bool SetCurrentArrayPostion(int _newPostion); void SetType(int _type); void SetBlit(bool _blit); virtual void SetModifySurFace(SDL_Surface * _ModifySurface); SDL_Surface * GetModifySurFace(); |
![]() |
|
| Sprockets · Documentation | |




![]](http://209.85.48.16/static/1/pip_r.png)

