Remove unused Editor member functions

This commit is contained in:
David Capello 2015-07-06 11:16:25 -03:00
parent 204e2a28b7
commit e0ad704af1
3 changed files with 2 additions and 14 deletions

View File

@ -207,9 +207,9 @@ void BrushPreview::show(const gfx::Point& screenPos)
// Cleans the brush cursor from the specified editor.
//
// The mouse position is got from the last call to drawBrushPreview()
// The mouse position is got from the last call to showBrushPreview()
// (m_cursorEditor). So you must to use this routine only if you
// called drawBrushPreview() before.
// called showBrushPreview() before.
void BrushPreview::hide()
{
if (!m_onScreen)

View File

@ -841,16 +841,6 @@ gfx::Point Editor::autoScroll(MouseMessage* msg, AutoScroll dir, bool blit_valid
return mousePos;
}
void Editor::drawBrushPreview(const gfx::Point& pos)
{
m_brushPreview.show(pos);
}
void Editor::clearBrushPreview()
{
m_brushPreview.hide();
}
bool Editor::isCurrentToolAffectedByRightClickMode()
{
tools::Tool* tool = App::instance()->activeTool();

View File

@ -224,8 +224,6 @@ namespace app {
void setStateInternal(const EditorStatePtr& newState);
void updateQuicktool();
void updateContextBarFromModifiers();
void drawBrushPreview(const gfx::Point& pos);
void clearBrushPreview();
bool isCurrentToolAffectedByRightClickMode();
void drawMaskSafe();