|
Rapicorn - Experimental UI Toolkit - Source Code 10.08.1
|
00001 /* Rapicorn 00002 * Copyright (C) 2006 Tim Janik 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * A copy of the GNU Lesser General Public License should ship along 00015 * with this library; if not, see http://www.gnu.org/copyleft/. 00016 */ 00017 #ifndef __RAPICORN_SCROLL_ITEMS_IMPL_HH__ 00018 #define __RAPICORN_SCROLL_ITEMS_IMPL_HH__ 00019 00020 #include <ui/scrollitems.hh> 00021 #include <ui/container.hh> 00022 00023 namespace Rapicorn { 00024 00025 class ScrollAreaImpl : public virtual SingleContainerImpl, public virtual ScrollArea { 00026 mutable Adjustment *m_hadjustment, *m_vadjustment; 00027 Adjustment& hadjustment() const; 00028 Adjustment& vadjustment() const; 00029 public: 00030 explicit ScrollAreaImpl (); 00031 virtual Adjustment* get_adjustment (AdjustmentSourceType adj_source, 00032 const String &name = ""); 00033 virtual double xoffset () const; 00034 virtual double yoffset () const; 00035 virtual void scroll_to (double x, 00036 double y); 00037 }; 00038 00039 } // Rapicorn 00040 00041 #endif /* __RAPICORN_SCROLL_ITEMS_IMPL_HH__ */
1.7.4