Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
00001 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef __RAPICORN_SCROLL_WIDGETS_IMPL_HH__ 00003 #define __RAPICORN_SCROLL_WIDGETS_IMPL_HH__ 00004 00005 #include <ui/scrollwidgets.hh> 00006 #include <ui/container.hh> 00007 00008 namespace Rapicorn { 00009 00010 class ScrollAreaImpl : public virtual SingleContainerImpl, public virtual ScrollArea { 00011 mutable Adjustment *hadjustment_, *vadjustment_; 00012 Adjustment& hadjustment() const; 00013 Adjustment& vadjustment() const; 00014 public: 00015 explicit ScrollAreaImpl (); 00016 virtual Adjustment* get_adjustment (AdjustmentSourceType adj_source, 00017 const String &name = ""); 00018 virtual double xoffset () const; 00019 virtual double yoffset () const; 00020 virtual void scroll_to (double x, 00021 double y); 00022 }; 00023 00024 } // Rapicorn 00025 00026 #endif /* __RAPICORN_SCROLL_WIDGETS_IMPL_HH__ */