X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1aff4201c36daec702cabc869c0bf899c56ba8cc..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/ribbon/gallery.h diff --git a/interface/wx/ribbon/gallery.h b/interface/wx/ribbon/gallery.h index eb2b01938f..e1525ee206 100644 --- a/interface/wx/ribbon/gallery.h +++ b/interface/wx/ribbon/gallery.h @@ -2,7 +2,6 @@ // Name: ribbon/gallery.h // Purpose: interface of wxRibbonGallery // Author: Peter Cawley -// RCS-ID: $Id$ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -239,6 +238,18 @@ public: direction, @false if it did not scroll. */ virtual bool ScrollLines(int lines); + + /** + Scroll the gallery contents by some fine-grained amount. + + @param pixels + Positive values scroll toward the end of the gallery, while negative + values scroll toward the start. + + @return @true if the gallery scrolled at least one pixel in the given + direction, @false if it did not scroll. + */ + bool ScrollPixels(int pixels); /** Scroll the gallery to ensure that the given item is visible.