Form for setting raster internal compression type and quality. More...
#include <rvc/uiformrastercompression.h>

Form for setting raster internal compression type and quality.
| RVC::UI::FORM_RASTER_COMPRESSION::FORM_RASTER_COMPRESSION | ( | ) |
Constructor.
Defaults to a celltype of RVC::IMAGE::CELLTYPE_Unsigned_8 for menu generation purposes
| virtual RVC::UI::FORM_RASTER_COMPRESSION::~FORM_RASTER_COMPRESSION | ( | ) | [virtual] |
Destructor.
| ERRVALUE RVC::UI::FORM_RASTER_COMPRESSION::Create | ( | MGUI::LAYOUT_PANE_BASE & | ParentPane, | |
| FORMSTYLE | Style = FORMSTYLE_Default, |
|||
| MGUI::LAYOUT_SIZEALIGN | sizealign = MGUI::LAYOUT_SIZEALIGN_FixedHeight | |||
| ) |
Create the form.
| ParentPane | Parent pane | |
| Style | Form style |
| MGUI::CTRL_COMBOBOX& RVC::UI::FORM_RASTER_COMPRESSION::GetComboBox | ( | ) | [inline] |
Retrieve combo box control for form.
| UINT16 RVC::UI::FORM_RASTER_COMPRESSION::GetCompressionQualityRatio | ( | ) |
Get currently selected compression quality/ratio.
| RVC::RASTER::COMPTYPE RVC::UI::FORM_RASTER_COMPRESSION::GetCompressionType | ( | ) | const |
Get currently selected compression type.
| MGUI::CTRL_LABEL& RVC::UI::FORM_RASTER_COMPRESSION::GetLabel | ( | ) | [inline] |
Retrieve label control for form.
Usually the label control is only retrieved for alignment purposes.
| void RVC::UI::FORM_RASTER_COMPRESSION::IniRead | ( | INIHANDLE | IniHandle, | |
| const char * | IniGroup, | |||
| const char * | IniField, | |||
| bool | notify | |||
| ) |
Read settings from INI file.
| IniHandle | Handle to INI file to read from, 0 for default | |
| IniGroup | INI group to read from | |
| IniField | INI field to read from | |
| notify | Call delegates if changed |
| void RVC::UI::FORM_RASTER_COMPRESSION::IniWrite | ( | INIHANDLE | IniHandle, | |
| const char * | IniGroup, | |||
| const char * | IniField | |||
| ) | const |
Write settings to INI file.
| IniHandle | Handle to INI file to read from, 0 for default | |
| IniGroup | INI group to read from | |
| IniField | INI field to read from |
| bool RVC::UI::FORM_RASTER_COMPRESSION::IsLossy | ( | ) | const |
Determine if lossy compression type is selected.
| void RVC::UI::FORM_RASTER_COMPRESSION::SetCellType | ( | RVC::IMAGE::CELLTYPE | CellType | ) |
Set cell type for limiting compression choices.
If current compression type not allowed for specified CELLTYPE the selection will be reset to 'uncompressed'. Create() must be called before using this method.
| void RVC::UI::FORM_RASTER_COMPRESSION::SetCompression | ( | RVC::RASTER::COMPTYPE | CompType, | |
| UINT16 | CompQualityRatio = 0 | |||
| ) |
Set selected compression parameters.
If specified values are not allowed for current CELLTYPE the selection will be left unchanged. Create() must be called before using this method.
| CompType | Compression type | |
| CompQualityRatio | Compression quality or ratio, 0 for maximum quality/lossless |
| void RVC::UI::FORM_RASTER_COMPRESSION::SetDelegateOnChangeCompressionType | ( | DELEGATE_VOID_NOPARMS | delegate | ) | [inline] |
Set delegate to call when compression type changed.
| void RVC::UI::FORM_RASTER_COMPRESSION::SetDelegateOnChangeQualityRatio | ( | DELEGATE_VOID_NOPARMS | delegate | ) |
Set delegate to call when quality/ratio value changed.
| void RVC::UI::FORM_RASTER_COMPRESSION::SetFromMakeParms | ( | const RVC::RASTER::MAKEPARMS & | MakeParms | ) |
Set cell type and compression selection from RASTER::MAKEPARMS.
1.6.1