Added being able to set position via JSON. Text now always wraps on newlines.
This commit is contained in:
@@ -13,7 +13,7 @@ protected:
|
||||
SDL_Rect m_rect;
|
||||
|
||||
public:
|
||||
Widget(int width, int height);
|
||||
Widget(int x, int y, int width, int height);
|
||||
virtual ~Widget();
|
||||
|
||||
// Method which updates the internal surface with the latest image
|
||||
|
||||
Reference in New Issue
Block a user