PCL
|
Provides information about the current state of the core application's GUI to module-defined actions. More...
#include <Action.h>
Public Attributes | |
uint8 | bitsPerSample: 8 |
number of bits per sample in the active view's image | |
bool | hasMask: 1 |
true if the active image window is masked | |
bool | hasPreviews: 1 |
true if the active image window has one or more previews defined | |
bool | isColor: 1 |
true if the active view is a color image; false if it is grayscale | |
bool | isCurrentPreview: 1 |
true if the active view is a preview | |
bool | isFloatSample: 1 |
true if the active view's image is in floating-point format | |
bool | isImage: 1 |
true if there is an active image window and it is not read-locked | |
bool | thereAreImages: 1 |
true if there are one or more image windows currently open | |
This structure is passed to the Action::IsEnabled() virtual member function. See the description of Action::IsEnabled() for more information.