Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
scrollwidgets.hh
Go to the documentation of this file.
00001  // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
00002 #ifndef __RAPICORN_SCROLL_WIDGETS_HH__
00003 #define __RAPICORN_SCROLL_WIDGETS_HH__
00004 
00005 #include <ui/adjustment.hh>
00006 #include <ui/container.hh>
00007 
00008 namespace Rapicorn {
00009 
00010 /* --- ScrollArea --- */
00011 class ScrollArea : public virtual ContainerImpl, public virtual AdjustmentSource {
00012 protected:
00013   explicit              ScrollArea();
00014 public:
00015   virtual double        xoffset         () const = 0;
00016   virtual double        yoffset         () const = 0;
00017   virtual void          scroll_to       (double x,
00018                                          double y) = 0;
00019 };
00020 
00021 } // Rapicorn
00022 
00023 #endif  /* __RAPICORN_SCROLL_WIDGETS_HH__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines