New Quark - GraphicalModule (GM) : a new collection of widgets

Hello everyone :musical_note: !
Here’s a small update of the Graphical Module.


First, a new class I was impatient to use for quite some time : GMCurveEnvView:

Basically, an EnView that provides handles to modify the curvature of its segments. One can also add points with CTRL + LMB, or remove points using RMB.


Then, GMKeyboard, a widget that represents a piano keyboard:

and can be configured in several fashions. Keys emit visual feedback when interacted with, it supports both sustain and non-sustain mode, and can easily be controlled from an external MIDI source as documented in the buit-in examples.


Lastly, GMRoundButton, a simple, erm, round button, with visual feedback that allows to build rythmic interfaces on tactile screens:

Here’s how I used it to provide a drumkit on one of my softs.


Now the not-so-quite interesting stuff:

  • I’ve implemented a maxFontSize method to GMTextView
  • I’ve updated the project README.md so it actually presents the Quark
  • I fixed minor issues I’ve been encountering
  • I made small documentation updates
  • I updated some method names to improve consistency. Deprecated methods will yield a warning until they’re removed

And that’s it. As always, feedback is appreciated!
Simon

11 Likes