feat: option to limit svg support to svg tiny 1.2 only

This commit is contained in:
2025-12-02 00:04:12 +08:00
parent 08d1c09033
commit 1ba5ae60dc
23 changed files with 730 additions and 592 deletions

View File

@ -39,6 +39,7 @@ public:
bool useLightCheckerboard() const;
bool loopGallery() const;
bool autoLongImageMode() const;
bool svgTiny12Only() const;
DoubleClickBehavior doubleClickBehavior() const;
MouseWheelBehavior mouseWheelBehavior() const;
WindowSizeBehavior initWindowSizeBehavior() const;
@ -49,6 +50,7 @@ public:
void setUseLightCheckerboard(bool light);
void setLoopGallery(bool on);
void setAutoLongImageMode(bool on);
void setSvgTiny12Only(bool on);
void setDoubleClickBehavior(DoubleClickBehavior dcb);
void setMouseWheelBehavior(MouseWheelBehavior mwb);
void setInitWindowSizeBehavior(WindowSizeBehavior wsb);