JMDrawIcon:
Filter:
Classes (extension) | GUI > Views | Libraries > jostMlib

JMDrawIcon
ExtensionExtension

Extra icons for the wslib Quark
Location: NOT INSTALLED!

Description

Adds some nice icons to wslib's DrawIcon collection Checks if wslib is preset. You can still use the draw functions independently with getFuncs.at(\key); Can be used WITHOUT wslib too. see below.

Class Methods

.new

.initClass

.drawFuncs

gets all of the draw function

Returns:

an Event (\key1: func, \key2: func)

.lightColor

defaults to QtGUI.palette.window

Allows for painting a contrasting light/dark color, using the default window background color.

For icons that need a punchout surface, like \eyeFill .

.randomSeed

a random seed for icons like \levels an \sample, which generate a fixed random series, and grow with the parent width.

Changing it will alter the appearance of those icons.

.globalScale

defaults to 0.8 of the parent rect.

.listKeys

lists all the function keys

Inherited class methods

Instance Methods

Inherited instance methods

Examples

Use WITH wslib Quark

Use WITHOUT wslib Quark