mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Removed a deprecated function from NinePatchComponent.
This commit is contained in:
parent
b0bd77eb7f
commit
755df0b10d
|
@ -22,7 +22,6 @@ ButtonComponent::ButtonComponent(
|
|||
mEnabled(true),
|
||||
mTextColorFocused(0xFFFFFFFF), mTextColorUnfocused(0x777777FF)
|
||||
{
|
||||
mBox.setIsScalable(true);
|
||||
setPressedFunc(func);
|
||||
setText(text, helpText);
|
||||
updateImage();
|
||||
|
|
|
@ -22,8 +22,7 @@ NinePatchComponent::NinePatchComponent(
|
|||
mEdgeColor(edgeColor),
|
||||
mCenterColor(centerColor),
|
||||
mPath(path),
|
||||
mVertices(nullptr),
|
||||
mIsScalable(false)
|
||||
mVertices(nullptr)
|
||||
{
|
||||
if (!mPath.empty())
|
||||
buildVertices();
|
||||
|
|
|
@ -50,7 +50,6 @@ public:
|
|||
const std::string& element, unsigned int properties) override;
|
||||
|
||||
inline const Vector2f& getCornerSize() const { return mCornerSize; };
|
||||
void setIsScalable(bool scalable) { mIsScalable = scalable; };
|
||||
inline void setCornerSize(const Vector2f& size)
|
||||
{
|
||||
mCornerSize = size;
|
||||
|
@ -68,7 +67,6 @@ private:
|
|||
unsigned int mEdgeColor;
|
||||
unsigned int mCenterColor;
|
||||
std::shared_ptr<TextureResource> mTexture;
|
||||
bool mIsScalable;
|
||||
};
|
||||
|
||||
#endif // ES_CORE_COMPONENTS_NINE_PATCH_COMPONENT_H
|
||||
|
|
Loading…
Reference in a new issue