(svn r21497) -Codechange: prepare the viewport selection mechanism for selecting diagonally

This commit is contained in:
rubidium
2010-12-13 15:09:59 +00:00
parent 1f9ba6ee93
commit 99b0a9538e
4 changed files with 182 additions and 83 deletions

View File

@@ -616,6 +616,15 @@ static void ResetLandscapeConfirmationCallback(Window *w, bool confirmed)
}
}
/**
* Checks whether we are currently dragging diagonally.
* @returns True iff we are selecting a diagonal rectangle for an action that supports it, otherwise false.
*/
bool IsDraggingDiagonal()
{
return false;
}
struct ScenarioEditorLandscapeGenerationWindow : Window {
ScenarioEditorLandscapeGenerationWindow(const WindowDesc *desc, WindowNumber window_number) : Window()
{