diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/resource_bundle.h | 3 | ||||
-rw-r--r-- | app/theme_provider.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/resource_bundle.h b/app/resource_bundle.h index c718b9a..8d0b29a 100644 --- a/app/resource_bundle.h +++ b/app/resource_bundle.h @@ -124,8 +124,7 @@ class ResourceBundle { // is missing. GdkPixbuf* GetPixbufNamed(int resource_id); - // As above, but flips it in RTL locales. Note that this will add the flipped - // pixbuf to the same cache used by GetPixbufNamed(). + // As above, but flips it in RTL locales. GdkPixbuf* GetRTLEnabledPixbufNamed(int resource_id); private: diff --git a/app/theme_provider.h b/app/theme_provider.h index b004f3b..5dddd99 100644 --- a/app/theme_provider.h +++ b/app/theme_provider.h @@ -64,6 +64,9 @@ class ThemeProvider { // pointer to a shared empty placeholder bitmap so it will be visible what // is missing. virtual GdkPixbuf* GetPixbufNamed(int id) = 0; + + // As above, but flips it in RTL locales. + virtual GdkPixbuf* GetRTLEnabledPixbufNamed(int id) = 0; #elif defined(OS_MACOSX) // Gets the NSImage with the specified |id|. // |