Pre-resize fillparent
This commit is contained in:
@@ -35,16 +35,16 @@ namespace GUIEngine {
|
||||
const cString& name = sNAME, VideoEngine::cImage** image = nullptr );
|
||||
virtual ~cButton();
|
||||
|
||||
///Functions
|
||||
/// Functions
|
||||
void Create( cWindow* parent, const signed int id, const GUIHelpers::eAlign& align = sALIGN, const GUIHelpers::eLayout& layout = sLAYOUT,
|
||||
const GUIHelpers::Position& pos = sPOSITION, const GUIHelpers::Size& size = sSIZE, const GUIHelpers::Padding& padding = sPADDING,
|
||||
const cString& name = sNAME, VideoEngine::cImage** image = nullptr );
|
||||
|
||||
virtual void Press();
|
||||
|
||||
//Sets
|
||||
/// Sets
|
||||
|
||||
///Gets
|
||||
/// Gets
|
||||
virtual const GUIHelpers::eType getType() const;
|
||||
|
||||
private:
|
||||
@@ -53,11 +53,11 @@ namespace GUIEngine {
|
||||
void GenerateTexture();
|
||||
|
||||
private:
|
||||
VideoEngine::cImage* mp_texture;// = nullptr
|
||||
VideoEngine::cImage* mp_texturePress;// = nullptr
|
||||
VideoEngine::cImage* mp_texture;/// = nullptr
|
||||
VideoEngine::cImage* mp_texturePress;/// = nullptr
|
||||
|
||||
//Pointer to the image that will be displayed on the button.
|
||||
VideoEngine::cImage** mpp_image;// = nullptr
|
||||
VideoEngine::cImage** mpp_image;/// = nullptr
|
||||
};/// END CLASS DEFINITION cButton
|
||||
}/// END NAMESPACE DEFINITION GUIEngine
|
||||
#endif/// END IFNDEF _CBUTTON_HPP_
|
||||
Reference in New Issue
Block a user