Add initial metadata lens correction handling
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
#include "guiutils.h"
|
||||
#include "toolpanel.h"
|
||||
#include "../rtengine/lensmetadata.h"
|
||||
|
||||
class LensProfilePanel final :
|
||||
public ToolParamBlock,
|
||||
@@ -89,7 +90,8 @@ private:
|
||||
void fillLensfunLenses();
|
||||
};
|
||||
|
||||
void updateDisabled(bool enable);
|
||||
void updateLCPDisabled(bool enable);
|
||||
void updateMetadataDisabled();
|
||||
|
||||
bool setLensfunCamera(const Glib::ustring& make, const Glib::ustring& model);
|
||||
bool setLensfunLens(const Glib::ustring& lens);
|
||||
@@ -113,12 +115,14 @@ private:
|
||||
bool allowFocusDep;
|
||||
bool isRaw;
|
||||
const rtengine::FramesMetaData* metadata;
|
||||
std::unique_ptr<rtengine::MetadataLensCorrection> metadataCorrection;
|
||||
|
||||
Gtk::Grid* const modesGrid;
|
||||
Gtk::Grid* const distGrid;
|
||||
Gtk::RadioButton* const corrUnchangedRB;
|
||||
Gtk::RadioButton::Group corrGroup;
|
||||
Gtk::RadioButton* const corrOffRB;
|
||||
Gtk::RadioButton* const corrMetadata;
|
||||
Gtk::RadioButton* const corrLensfunAutoRB;
|
||||
Gtk::RadioButton* const corrLensfunManualRB;
|
||||
Gtk::RadioButton* const corrLcpFileRB;
|
||||
|
Reference in New Issue
Block a user