mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Reader: Add option to stop enlarging images in fit to width and height
This commit is contained in:
@ -51,16 +51,6 @@ public:
|
||||
void updateOpenRecentList(QString path);
|
||||
void clearOpenRecentList() { settings->remove("recentFiles"); }
|
||||
|
||||
//Old fitmodes
|
||||
/*
|
||||
bool getAdjustToWidth() {return settings->value(FIT).toBool();}
|
||||
void setAdjustToWidth(bool atw=true) {settings->setValue(FIT,atw);}
|
||||
float getFitToWidthRatio(){return settings->value(FIT_TO_WIDTH_RATIO).toFloat();}
|
||||
void setFitToWidthRatio(float r){settings->setValue(FIT_TO_WIDTH_RATIO,r);}
|
||||
bool getAdjustToFullSize(){return settings->value(ADJUST_TO_FULL_SIZE).toBool();}
|
||||
void setAdjustToFullSize(bool b){settings->setValue(ADJUST_TO_FULL_SIZE,b);}
|
||||
*/
|
||||
|
||||
FlowType getFlowType() { return (FlowType)settings->value(FLOW_TYPE_SW).toInt(); }
|
||||
void setFlowType(FlowType type) { settings->setValue(FLOW_TYPE_SW, type); }
|
||||
bool getFullScreen() { return settings->value(FULLSCREEN).toBool(); }
|
||||
|
Reference in New Issue
Block a user