Remove unused Component::Component overloads
This commit is contained in:
parent
8c387a5a00
commit
c23eba1921
@ -8,23 +8,6 @@
|
||||
|
||||
using namespace ui;
|
||||
|
||||
Component::Component(Window* parent_state):
|
||||
parentstate_(parent_state),
|
||||
_parent(NULL),
|
||||
drawn(false),
|
||||
textPosition(0, 0),
|
||||
textSize(0, 0),
|
||||
iconPosition(0, 0),
|
||||
menu(NULL),
|
||||
Position(Point(0,0)),
|
||||
Size(Point(0,0)),
|
||||
Enabled(true),
|
||||
Visible(true),
|
||||
DoesTextInput(false)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Component::Component(Point position, Point size):
|
||||
parentstate_(0),
|
||||
_parent(NULL),
|
||||
@ -42,23 +25,6 @@ Component::Component(Point position, Point size):
|
||||
|
||||
}
|
||||
|
||||
Component::Component():
|
||||
parentstate_(NULL),
|
||||
_parent(NULL),
|
||||
drawn(false),
|
||||
textPosition(0, 0),
|
||||
textSize(0, 0),
|
||||
iconPosition(0, 0),
|
||||
menu(NULL),
|
||||
Position(Point(0,0)),
|
||||
Size(Point(0,0)),
|
||||
Enabled(true),
|
||||
Visible(true),
|
||||
DoesTextInput(false)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void Component::Refresh()
|
||||
{
|
||||
drawn = false;
|
||||
|
@ -29,9 +29,7 @@ namespace ui
|
||||
Graphics * GetGraphics();
|
||||
|
||||
public:
|
||||
Component(Window* parent_state);
|
||||
Component(Point position, Point size);
|
||||
Component();
|
||||
virtual ~Component();
|
||||
|
||||
void* UserData;
|
||||
|
@ -15,7 +15,8 @@ namespace ui
|
||||
* See sys::Component
|
||||
*/
|
||||
|
||||
class Component;
|
||||
class Component;
|
||||
|
||||
class Panel : public Component
|
||||
{
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user