DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
Cloud Backup
True Drop Box
FTP/SFTP Hosting
Group Account
DriveHQ Start Menu
Online File Server
My Storage
|
Manage Shares
|
Publishes
|
Drop Boxes
|
Group Account
WebDAV Drive Mapping
Cloud Drive Home
|
WebDAV Guide
|
Drive Mapping Tool
|
Drive Mapping URL
Complete Data Backup
Backup Guide
|
Online Backup Tool
|
Cloud-to-Cloud Backup
FTP, Email & Web Service
FTP Home
|
FTP Hosting FAQ
|
Email Hosting
|
EmailManager
|
Web Hosting
Help & Resources
About
|
Enterprise Service
|
Partnership
|
Comparisons
|
Support
Quick Links
Security and Privacy
Download Software
Service Manual
Use Cases
Group Account
Online Help
Blog
Contact
Cloud Surveillance
Sign Up
Login
Features
Business Features
Online File Server
FTP Hosting
Cloud Drive Mapping
Cloud File Backup
Email Backup & Hosting
Cloud File Sharing
Folder Synchronization
Group Management
True Drop Box
Full-text Search
AD Integration/SSO
Mobile Access
IP Camera & DVR Solution
More...
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account (for Kids)
Home/PC/Kids Monitoring
More...
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
DriveHQ Mobile Apps
Pricing
Business Plans & Pricing
Personal Plans & Pricing
Price Comparison with Others
Feature Comparison with Others
Install Mobile App
Sign up
Creating account...
Invalid character in username! Only 0-9, a-z, A-Z, _, -, . allowed.
Username is required!
Invalid email address!
E-mail is required!
Password is required!
Password is invalid!
Password and confirmation do not match.
Confirm password is required!
I accept
Membership Agreement
Please read the Membership Agreement and check "I accept"!
Free Quick Sign-up
Sign-up Page
Log in
Signing in...
Username or e-mail address is required!
Password is required!
Keep me logged in
Quick Login
Forgot Password
Up
Upload
Download
Share
Publish
New Folder
New File
Copy
Cut
Delete
Paste
Rate
Upgrade
Rotate
Effect
Edit
Slide
History
/************************************************************************ filename: CEGUIIScrolledItemListBase.h created: Sat Oct 29 2005 author: Tomas Lindquist Olsen *************************************************************************/ /************************************************************************* Crazy Eddie's GUI System (http://www.cegui.org.uk) Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *************************************************************************/ #ifndef _CEGUIScrolledItemListBase_h_ #define _CEGUIScrolledItemListBase_h_ #include "elements/CEGUIItemListBase.h" #include "elements/CEGUIScrollbar.h" #include "elements/CEGUIScrolledItemListBaseProperties.h" #if defined(_MSC_VER) # pragma warning(push) # pragma warning(disable : 4251) #endif // begin CEGUI namespace namespace CEGUI { /*! \brief ScrolledItemListBase window class */ class CEGUIEXPORT ScrolledItemListBase : public ItemListBase { public: static const String EventNamespace; //!< Namespace for global events /************************************************************************ Constants *************************************************************************/ static const String VertScrollbarNameSuffix; //!< Name suffix for vertical scrollbar component static const String HorzScrollbarNameSuffix; //!< Name suffix for horizontal scrollbar component static const String ContentPaneNameSuffix; //!< Name suffix for the content pane component static const String EventVertScrollbarModeChanged; //!< Event fired when the vertical scroll bar mode changes. static const String EventHorzScrollbarModeChanged; //!< Event fired when the horizontal scroll bar mode change. /************************************************************************ Accessors *************************************************************************/ /*! \brief Returns whether the vertical scrollbar is being forced visible. Despite content size. */ bool isVertScrollbarAlwaysShown(void) const {return d_forceVScroll;} /*! \brief Returns whether the horizontal scrollbar is being forced visible. Despite content size. */ bool isHorzScrollbarAlwaysShown(void) const {return d_forceHScroll;} /*! \brief Get the vertical scrollbar component attached to this window. */ Scrollbar* getVertScrollbar() const; /*! \brief Get the horizontal scrollbar component attached to this window. */ Scrollbar* getHorzScrollbar() const; /************************************************************************ Manipulators *************************************************************************/ /*! \brief Sets whether the vertical scrollbar should be forced visible. Despite content size. */ void setShowVertScrollbar(bool mode); /*! \brief Sets whether the horizontal scrollbar should be forced visible. Despite content size. */ void setShowHorzScrollbar(bool mode); /************************************************************************ Object Construction and Destruction *************************************************************************/ /*! \brief Constructor for the ScrolledItemListBase base class constructor */ ScrolledItemListBase(const String& type, const String& name); /*! \brief Destructor for the ScrolledItemListBase base class. */ virtual ~ScrolledItemListBase(void); // overridden from ItemListBase virtual void initialiseComponents(void); protected: /************************************************************************ Implementation functions ************************************************************************/ /*! \brief Return whether this window was inherited from the given class name at some point in the inheritance hierarchy. \param class_name The class name that is to be checked. \return true if this window was inherited from \a class_name. false if not. */ virtual bool testClassName_impl(const String& class_name) const { if (class_name=="ScrolledItemListBase") { return true; } return ItemListBase::testClassName_impl(class_name); } /*! \brief Configure scrollbars */ void configureScrollbars(const Size& doc_size); /************************************************************************ New event handlers ************************************************************************/ virtual void onVertScrollbarModeChanged(WindowEventArgs& e); virtual void onHorzScrollbarModeChanged(WindowEventArgs& e); /************************************************************************ Overridden event handlers ************************************************************************/ virtual void onMouseWheel(MouseEventArgs& e); /************************************************************************ Event subscribers ************************************************************************/ bool handle_VScroll(const EventArgs& e); bool handle_HScroll(const EventArgs& e); /************************************************************************ Implementation data ************************************************************************/ bool d_forceVScroll; bool d_forceHScroll; private: /************************************************************************ Static Properties for this class ************************************************************************/ static ScrolledItemListBaseProperties::ForceVertScrollbar d_forceVertScrollbarProperty; static ScrolledItemListBaseProperties::ForceHorzScrollbar d_forceHorzScrollbarProperty; void addScrolledItemListBaseProperties(void); }; } // end CEGUI namespace #if defined(_MSC_VER) # pragma warning(pop) #endif #endif // end of guard _CEGUIScrolledItemListBase_h_
CEGUIScrolledItemListBase.h
Page URL
File URL
Prev
51/65
Next
Download
( 6 KB )
Note: The DriveHQ service banners will NOT be displayed if the file owner is a paid member.
Comments
Total ratings:
0
Average rating:
Not Rated
Would you like to comment?
Join DriveHQ
for a free account, or
Logon
if you are already a member.