mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 04:19:12 +00:00
Remove unused Editor member functions
This commit is contained in:
parent
204e2a28b7
commit
e0ad704af1
@ -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)
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user