X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXRC.h;h=6e82a6def98e9db9ba5e6c07225616d60a02f17c;hb=21eb2c4f74c5665e6516cf900acf4f5acba21c69;hp=f9b56646addd36d7945d0e408772c8e722159be5;hpb=0f0ad1f715b914d424b6edd01aad2e559e8e85f5;p=lyx.git diff --git a/src/LyXRC.h b/src/LyXRC.h index f9b56646ad..6e82a6def9 100644 --- a/src/LyXRC.h +++ b/src/LyXRC.h @@ -189,13 +189,14 @@ public: RC_VIEWER_ALTERNATIVES, RC_VISUAL_CURSOR, RC_CLOSE_BUFFER_WITH_LAST_VIEW, + RC_DRAW_STRATEGY, RC_LAST }; /// LyXRC() : user_name(support::user_name()), user_email(support::user_email()) // always empty - {}; + {} /// \param check_format: whether to try to convert the file format, /// if it is not current. this should only be true, really, for the @@ -573,6 +574,17 @@ public: /// BookmarksVisibility bookmarks_visibility = BMK_NONE; + + enum DrawStrategy { + // draw all (not implemented yet) + // FS_FULL, + // draw only what has changed + DS_PARTIAL, + // draw in backing store (only what has changed) + DS_BACKINGSTORE + }; + /// + DrawStrategy draw_strategy = DS_PARTIAL; };