diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-14 18:51:24 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-14 18:51:24 (GMT) |
| commit | 2c9295007a287dc01ff63fcf7b3da141f7474e37 (patch) | |
| tree | e8065e920ca45686a40e41fd46513e13d46f47b0 /src/interface.old/Component.cpp | |
| parent | fc2f52099c0bbb2412046252bf7b5e4113bbe8e4 (diff) | |
| download | powder-2c9295007a287dc01ff63fcf7b3da141f7474e37.zip powder-2c9295007a287dc01ff63fcf7b3da141f7474e37.tar.gz | |
Various things, also IEF UI
Diffstat (limited to 'src/interface.old/Component.cpp')
| -rw-r--r-- | src/interface.old/Component.cpp | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/src/interface.old/Component.cpp b/src/interface.old/Component.cpp new file mode 100644 index 0000000..48a329b --- /dev/null +++ b/src/interface.old/Component.cpp @@ -0,0 +1,89 @@ +/* + * Component.cpp + * + * Created on: Jan 8, 2012 + * Author: Simon + */ + +#include "interface/Component.h" + +namespace ui { + +Component::Component(int x, int y, int width, int height): + X(x), + Y(y), + Width(width), + Height(height), + Enabled(true), + Visible(true) +{ +} + +Component::~Component() +{ +} + +void Component::Draw(void* userdata) +{ +} + +void Component::Tick(float dt) +{ +} + +void Component::OnKeyPress(int key, bool shift, bool ctrl, bool alt) +{ +} + +void Component::OnKeyRelease(int key, bool shift, bool ctrl, bool alt) +{ +} + +void Component::OnMouseEnter(int localx, int localy, int dx, int dy) +{ +} + +void Component::OnMouseLeave(int localx, int localy, int dx, int dy) +{ +} + +void Component::OnMouseClick(int localx, int localy, unsigned int button) +{ +} + +void Component::OnMouseUnclick(int localx, int localy, unsigned int button) +{ +} + +void Component::OnMouseDown(int localx, int localy, unsigned int button) +{ +} + +void Component::OnMouseHover(int localx, int localy) +{ +} + +void Component::OnMouseMoved(int localx, int localy, int dx, int dy) +{ +} + +void Component::OnMouseMovedInside(int localx, int localy, int dx, int dy) +{ +} + +void Component::OnMouseUp(int localx, int localy, unsigned int button) +{ +} + +void Component::OnMouseWheel(int localx, int localy, int d) +{ +} + +void Component::OnMouseWheelInside(int localx, int localy, int d) +{ +} + +void Component::OnMouseWheelFocused(int localx, int localy, int d) +{ +} +} /* namespace ui */ |
