mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #108: Add accessibility options in pdf reader [enhancement] - settings in ui, finish work
This commit is contained in:
@@ -92,6 +92,17 @@ public:
|
||||
/// to ensure accurate differentiation between light and dark areas in images.
|
||||
void setBitonalThreshold(int newBitonalThreshold);
|
||||
|
||||
/// Set background color
|
||||
/// \param newBackgroundColor Background color
|
||||
void setBackgroundColor(const QColor& newBackgroundColor);
|
||||
|
||||
/// Set foreground color
|
||||
/// \param newForegroundColor Foreground color
|
||||
void setForegroundColor(const QColor& newForegroundColor);
|
||||
|
||||
QColor getBackgroundColor() const;
|
||||
QColor getForegroundColor() const;
|
||||
|
||||
private:
|
||||
/// Correct lightness using sigmoid function
|
||||
/// \return Adjusted lightness normalized in range [0.0, 1.0]
|
||||
|
Reference in New Issue
Block a user