47
47
delete paint_layer_;
50
void TextureArea::Draw(GraphicsEngine &graphics_engine, bool force_draw)
50
void TextureArea::Draw(GraphicsEngine &graphics_engine, bool /* force_draw */)
52
52
// Ability to rotate the widget around its center
53
53
graphics_engine.PushModelViewMatrix(Matrix4::TRANSLATE(-GetBaseX() - GetBaseWidth() / 2, -GetBaseY() - GetBaseHeight() / 2, 0));
68
68
graphics_engine.PopModelViewMatrix();
71
void TextureArea::DrawContent(GraphicsEngine &graphics_engine, bool force_draw)
71
void TextureArea::DrawContent(GraphicsEngine & /* graphics_engine */, bool /* force_draw */)
76
void TextureArea::PostDraw(GraphicsEngine &graphics_engine, bool force_draw)
76
void TextureArea::PostDraw(GraphicsEngine & /* graphics_engine */, bool /* force_draw */)
150
void TextureArea::RecvMouseDown(int x, int y, long button_flags, long key_flags)
150
void TextureArea::RecvMouseDown(int x, int y, long /* button_flags */, long /* key_flags */)
152
152
sigMouseDown.emit(x, y);
156
void TextureArea::RecvMouseClick(int x, int y, long button_flags, long key_flags)
156
void TextureArea::RecvMouseClick(int /* x */, int /* y */, long /* button_flags */, long /* key_flags */)
161
void TextureArea::RecvMouseUp(int x, int y, long button_flags, long key_flags)
161
void TextureArea::RecvMouseUp(int /* x */, int /* y */, long /* button_flags */, long /* key_flags */)
166
void TextureArea::RecvMouseEnter(int x, int y, long button_flags, long key_flags)
171
void TextureArea::RecvMouseLeave(int x, int y, long button_flags, long key_flags)
176
void TextureArea::RecvMouseDrag(int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags)
166
void TextureArea::RecvMouseEnter(int /* x */, int /* y */, long /* button_flags */, long /* key_flags */)
171
void TextureArea::RecvMouseLeave(int /* x */, int /* y */, long /* button_flags */, long /* key_flags */)
176
void TextureArea::RecvMouseDrag(int x, int y, int /* dx */, int /* dy */, unsigned long /* button_flags */, unsigned long /* key_flags */)
178
178
sigMouseDrag.emit(x, y);