• Home
  • Blog
  • C# / Unity
  • C++ / Unreal Engine
  • Python strategy games
  • Python arcade games
  • Python other
  • Machine Learning
  • C
  • Scratch
  • Coding and electronics
  • How I learnt to code
  • Project Euler
  • Feedback
  James L.'s coding

James's blog

what I've been doing.

Contributions to Vizia

1/9/2022

0 Comments

 
Picture
I have recently made several contributions to Vizia, an open source desktop UI framework built in Rust, which aims to be easy to set up and declarative (meaning that the developer can declare that a value will always be equal to a variable, so when the variable changes, the UI automatically updates). My changes related mostly to the keyboard navigation, making the later integration of the AccessKit screen reader API easier. I've listed some of my changes below:
  • Focus improvements - this PR added support for styling the focused widgets with an outline.
  • Trigger buttons with keyboard navigation - which allowed the user to activate a button that was focused by pressing space. I discussed with geom3trik (the main developer) about if this should use the existing mouse down event or a new, more general TriggerDown event.
  • Add lock focus to subtree - prevents the user from navigating to outside a dialogue menu, similar to the behaviour with the new HTML <dialog> element.
  • Add arrow key support for Slider - this allows users to change the value in the slider with the arrow keys, with a configurable speed.
  • Improvements to debug tree (i key) - added a debug utility for displaying the tree of widgets.
  • Textbox improvements - added support for double clicking to select a word, and fixed some faulty behaviour when dragging to select a range of text. I discussed the desired behaviour with geom3trik and improved it appropriately before merging.
0 Comments
    Advert:

    Author

    I am doing lots of projects every projects all the time and I can't put them all on the website so I've made a blog.

    Archives

    April 2023
    September 2022
    August 2022
    April 2022
    March 2022
    February 2022
    January 2022
    November 2021
    October 2021
    August 2021
    July 2021
    June 2021
    April 2021
    March 2021
    June 2020
    May 2020
    April 2020
    March 2020
    September 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    November 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017

    Categories

    All

Proudly powered by Weebly
  • Home
  • Blog
  • C# / Unity
  • C++ / Unreal Engine
  • Python strategy games
  • Python arcade games
  • Python other
  • Machine Learning
  • C
  • Scratch
  • Coding and electronics
  • How I learnt to code
  • Project Euler
  • Feedback