Module CorsixTH.CorsixTH.Lua.dialogs.resizable

Class for resizable windows.

If resizable is set to true, the user can resize by clicking and dragging any of the corners.

Functions

UIResizable:hitTestCorners (x, y) Tests if any of the four corners of the window border is hit


Functions

UIResizable:hitTestCorners (x, y)
Tests if any of the four corners of the window border is hit

Parameters:

  • x the x coordinate to test
  • y the y coordinate to test

Returns:

    (boolean or string) false if not hit, else a string to denote which corner was hit (can be "ul", "ur", "ll" or "lr")
generated by LDoc TESTING Last updated 2015-01-01 12:00:00