| 979 | } |
| 980 | |
| 981 | void Editor::setCustomizationDelegate(EditorCustomizationDelegate* delegate) |
| 982 | { |
| 983 | if (m_customizationDelegate) |
| 984 | m_customizationDelegate->dispose(); |
| 985 | |
| 986 | m_customizationDelegate = delegate; |
| 987 | } |
| 988 | |
| 989 | // Returns the visible area of the active sprite. |
| 990 | Rect Editor::getVisibleSpriteBounds() |