Skip to content

Additional primitives/widgets #14

@bugadani

Description

@bugadani
  • Scroll[Listener?] (Scroll widget #17)
    Reacts to pointer and scroll events, translates child widgets along the set axis. Sets clipping rectangle.
    Scroll offset should be r/w
    Optional over-scroll handlers?
  • CheckBox, RadioButton (Toggle switch #21)
  • Slider, scrollbar (Slider widget #27)
    Multiple types: point selector, interval selector, fixed width interval selector (i.e. scrollbar)
  • Text input (Editable text box #50)
    This should probably be an even listener similar to button - set state (based on selection) and have no inherent graphics. Alternative is a complex textbox with cursor. Moving the cursor using pointer events will be fun.
    e-g backend implements using embedded-text, Some way of streaming input or the ability to inject tokens externally embedded-graphics/embedded-text#60 could help.
  • Tabs/pages - kinda-sorta possible using Visibility and Toggle buttons
  • Layer container
    Has implications on rendering
  • Canvas widget - draw embedded-graphics primitives

Longer term possibilities:

  • Switch
    Not quite a Toggle because it might need to handle drag events to be fancy. Figure out how to bubble up toggle requests?
  • Templated list
    This might be a tricky one.
  • Image
  • Cascading menu
  • Window (resizeable, movable - closable?)
  • Resizeable panels (draggable separator)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions