Engauge Digitizer 2
Loading...
Searching...
No Matches
InactiveOpacity.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2020 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef INACTIVE_OPACITY_H
8#define INACTIVE_OPACITY_H
9
10#include <QString>
11
26
29
31extern int inactiveOpacityEnumToAlpha (InactiveOpacity inactiveOpacity);
32
34extern QString inactiveOpacityEnumToQString (InactiveOpacity inactiveOpacity);
35
36#endif // INACTIVE_OPACITY_H
const InactiveOpacity DEFAULT_INACTIVE_OPACITY_ENUM
Default inactie opacity is not 0 so we see something, and not 255 which applies when active.
QString inactiveOpacityEnumToQString(InactiveOpacity inactiveOpacity)
Map InactiveOpacity enum to corresponding string value.
int inactiveOpacityEnumToAlpha(InactiveOpacity inactiveOpacity)
Map InactiveOpacity enum to corresponding alpha value.
InactiveOpacity
Enum for opacity/alpha values used for segments that are not currently under hover.
@ INACTIVE_OPACITY_64
@ INACTIVE_OPACITY_96
@ INACTIVE_OPACITY_256
@ INACTIVE_OPACITY_160
@ INACTIVE_OPACITY_0
@ INACTIVE_OPACITY_32
@ INACTIVE_OPACITY_192
@ INACTIVE_OPACITY_224
@ INACTIVE_OPACITY_128