Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional primitives/widgets #14

Open
6 of 13 tasks
bugadani opened this issue Mar 24, 2021 · 0 comments
Open
6 of 13 tasks

Additional primitives/widgets #14

bugadani opened this issue Mar 24, 2021 · 0 comments

Comments

@bugadani
Copy link
Owner

bugadani commented Mar 24, 2021

  • 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)
@bugadani bugadani changed the title Additional primitives Additional primitives/widgets Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant