Clean up rtgui perspective.* and controllines.*
Change size_t to std::size_t, remove void from function parameters, use constants to represent the minimum required number of control lines, and change const auto & to const auto.
This commit is contained in:
@@ -96,10 +96,15 @@ protected:
|
||||
void tweakParams(rtengine::procparams::ProcParams &pparams) override;
|
||||
void setCamBasedEventsActive (bool active = true);
|
||||
void setFocalLengthValue (const rtengine::procparams::ProcParams* pparams, const rtengine::FramesMetaData* metadata);
|
||||
void updateApplyDeleteButtons(void);
|
||||
void updateApplyDeleteButtons();
|
||||
|
||||
public:
|
||||
|
||||
/** Minimum number of horizontal lines for horizontal/full correction. */
|
||||
static constexpr std::size_t MIN_HORIZ_LINES = 2;
|
||||
/** Minimum number of vertical lines for vertical/full correction. */
|
||||
static constexpr std::size_t MIN_VERT_LINES = 2;
|
||||
|
||||
PerspCorrection ();
|
||||
|
||||
void read (const rtengine::procparams::ProcParams* pp, const ParamsEdited* pedited = nullptr) override;
|
||||
|
Reference in New Issue
Block a user