previous - home - next

Chapter 2. Dialogs

4. Preset dialog

Figure 2.1. The preset dialog (unlocked and locked modes)
In plouik, each brush is defined by 3 different kinds of settings: shape, color and pattern. Using preset dialog, users are able to save and restore their own brushes (entirely or partially).

1. Desktop

The desktop area shows icons that represent preset brushes. Clicking on an icon, users get the saved brush back.

2. Dock

The lower area of the dialog is a horizontal slide with action buttons.
Close the preset dialog. A long click changes the dialog mode. Create a new preset from the current brush configuration (see note below).
Change the look of the selected preset icon. It opens a new panel where users can choose a new icon look. Delete the selected preset.
Load preset. Save preset.
Note
The purpose of the following [TOOGLE] small icons is to select what component of the settings will be saved in the preset (see classical uses)

3. Mode

Users can switch the preset dialog in two modes: locked or unlocked. The first mode hides the dock: users can not create or modify the preset icons anymore, but clicking on a desktop icon will close the dialog. This mode makes the preset change quicker and fits a drawing usage.

Tip: Users can change the preset dialog mode by using the interface configuration dialog or by doing a long click on the preset valid icon.

4. Classical uses

Figure 2.2. A color palette done with the preset dialog

5. Brush shape dialog

Figure 2.3. The brush shape dialog (native and stamp modes)

Thanks to this dialog, users can set some characteristics of their brushes: size, opacity, hardness, etc. plouik handles 2 different kinds of brush: native and stamp. Users can switch between those modes by clicking on the top image.

1. Native

plouik handles these native brushes thanks to the Android API path. It makes a really sweet and accurate drawing but opacity and size dynamics are not allowed.

Each icon represents a brush setting which can be updated thanks to the right slide bar(s).

Size: from 0 to 200. The icon is a [TOGGLE] icon: clicking on it makes the icon appear and changes the range from [0,200] to [0,20]. Opacity: from totally transparent to opaque.
Hardness: from really smooth to hard. Smudge: it is the ability to get some color from the picture when drawing. First slide bar set the smudge power (0 means a normal drawing, 100 simulates a directional blur), the second set the color persistence.
Mode: set the modes of painting (see below). Shape: choose the shape of the stroke.

2. Stamp

In this brush mode, plouik draws by stamping brushes along the path. This method is less 'pretty' than the previous one, but it allows some interesting dynamic features.

Size. 4 new slide bars allow users to set some dynamic features about the brush size: pressure sensitive, speed modification, fade in and fade out. Opacity. 4 new slide bars allow users to set some dynamic features about the brush opacity: pressure sensitive, speed modification, fade in and fade out.
Smudge: it is the ability to get some color from the picture when drawing. First slide bar set the smudge power (0 means a normal drawing, 100 simulates a directional blur), the second set the color persistence.
Mode: set the modes of painting. Shape: choose the shape of the stroke.
Note
There are 4 painting modes available on plouik.
Normal is the default mode.
Darken allows user to simulate water tools (such as color pen).
Screen is really useful for enlighten picture.
THE ERASER IS HERE
Note
When using the smudge feature, a warning icon appears. It means it is not possible, from now, to do u-turn when drawing. If the smudge power gets back to 0, the restriction will disappear.