Skip to content

Rotate UIWidget #2380

Open
Open
@eruvanos

Description

@eruvanos

Enhancement request:

Allow rotation of widgets.

What would it help with?

Having animation for GUIs is the logical next step. Such animations often contain some rotation of widgets.
Also playful menus sometimes rotate the buttons to present them in a game specific style.

Known issues:

  • Rect does not support rotation
  • Rect: In bounce checks do not support rotation
  • Rotating the content of a widget messes up the required space, so layouts are not able to deal with them

First Brainstorming

UIWidgets keep non rotated rect, but the inside content_rect can be rotated.
In this case it will shrink to stay within bounce of the rect (inc border and padding)
Such implementation will also not interfere with the layouts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementguiRelated to arcade GUI (sub module arcade.gui)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions