Logo
  • Main Page
  • Related Pages
  • Modules
  • Classes
  • Files

mmsmenuwidgetclass.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005-2007 Stefan Schwarzer, Jens Schneider,             *
00003  *                           Matthias Hardt, Guido Madaus                  *
00004  *                                                                         *
00005  *   Copyright (C) 2007-2008 BerLinux Solutions GbR                        *
00006  *                           Stefan Schwarzer & Guido Madaus               *
00007  *                                                                         *
00008  *   Copyright (C) 2009-2013 BerLinux Solutions GmbH                       *
00009  *                                                                         *
00010  *   Authors:                                                              *
00011  *      Stefan Schwarzer   <stefan.schwarzer@diskohq.org>,                 *
00012  *      Matthias Hardt     <matthias.hardt@diskohq.org>,                   *
00013  *      Jens Schneider     <jens.schneider@diskohq.org>,                   *
00014  *      Guido Madaus       <guido.madaus@diskohq.org>,                     *
00015  *      Patrick Helterhoff <patrick.helterhoff@diskohq.org>,               *
00016  *      René Bählkow       <rene.baehlkow@diskohq.org>                     *
00017  *                                                                         *
00018  *   This library is free software; you can redistribute it and/or         *
00019  *   modify it under the terms of the GNU Lesser General Public            *
00020  *   License version 2.1 as published by the Free Software Foundation.     *
00021  *                                                                         *
00022  *   This library is distributed in the hope that it will be useful,       *
00023  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00024  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00025  *   Lesser General Public License for more details.                       *
00026  *                                                                         *
00027  *   You should have received a copy of the GNU Lesser General Public      *
00028  *   License along with this library; if not, write to the                 *
00029  *   Free Software Foundation, Inc.,                                       *
00030  *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
00031  **************************************************************************/
00032 
00033 #ifndef MMSMENUWIDGETCLASS_H_
00034 #define MMSMENUWIDGETCLASS_H_
00035 
00036 #include "mmsgui/theme/mmswidgetclass.h"
00037 
00038 //! describe attributes for MMSMenuWidget which are additional to the MMSWidgetClass
00039 namespace MMSGUI_MENUWIDGET_ATTR {
00040 
00041     #define MMSGUI_MENUWIDGET_ATTR_ATTRDESC \
00042         { "item_width", TAFF_ATTRTYPE_STRING }, \
00043         { "item_height", TAFF_ATTRTYPE_STRING }, \
00044         { "item_hmargin", TAFF_ATTRTYPE_UCHAR }, \
00045         { "item_vmargin", TAFF_ATTRTYPE_UCHAR }, \
00046         { "cols", TAFF_ATTRTYPE_INT }, \
00047         { "dim_items", TAFF_ATTRTYPE_UCHAR }, \
00048         { "fixed_pos", TAFF_ATTRTYPE_INT }, \
00049         { "hloop", TAFF_ATTRTYPE_BOOL }, \
00050         { "vloop", TAFF_ATTRTYPE_BOOL }, \
00051         { "trans_items", TAFF_ATTRTYPE_UCHAR }, \
00052         { "dim_top", TAFF_ATTRTYPE_UCHAR }, \
00053         { "dim_bottom", TAFF_ATTRTYPE_UCHAR }, \
00054         { "dim_left", TAFF_ATTRTYPE_UCHAR }, \
00055         { "dim_right", TAFF_ATTRTYPE_UCHAR }, \
00056         { "trans_top", TAFF_ATTRTYPE_UCHAR }, \
00057         { "trans_bottom", TAFF_ATTRTYPE_UCHAR }, \
00058         { "trans_left", TAFF_ATTRTYPE_UCHAR }, \
00059         { "trans_right", TAFF_ATTRTYPE_UCHAR }, \
00060         { "zoomsel_width", TAFF_ATTRTYPE_STRING }, \
00061         { "zoomsel_height", TAFF_ATTRTYPE_STRING }, \
00062         { "zoomsel_shiftx", TAFF_ATTRTYPE_STRING }, \
00063         { "zoomsel_shifty", TAFF_ATTRTYPE_STRING }, \
00064         { "smooth_scrolling", TAFF_ATTRTYPE_SEQUENCE_MODE }, \
00065         { "parent_window", TAFF_ATTRTYPE_STRING }, \
00066         { "selimage", TAFF_ATTRTYPE_STRING }, \
00067         { "selimage.path", TAFF_ATTRTYPE_STRING }, \
00068         { "selimage.name", TAFF_ATTRTYPE_STRING }, \
00069         { "smooth_selection", TAFF_ATTRTYPE_SEQUENCE_MODE }, \
00070         { "smooth_delay", TAFF_ATTRTYPE_INT }
00071 
00072     #define MMSGUI_MENUWIDGET_ATTR_IDS \
00073         MMSGUI_MENUWIDGET_ATTR_IDS_item_width, \
00074         MMSGUI_MENUWIDGET_ATTR_IDS_item_height, \
00075         MMSGUI_MENUWIDGET_ATTR_IDS_item_hmargin, \
00076         MMSGUI_MENUWIDGET_ATTR_IDS_item_vmargin, \
00077         MMSGUI_MENUWIDGET_ATTR_IDS_cols, \
00078         MMSGUI_MENUWIDGET_ATTR_IDS_dim_items, \
00079         MMSGUI_MENUWIDGET_ATTR_IDS_fixed_pos, \
00080         MMSGUI_MENUWIDGET_ATTR_IDS_hloop, \
00081         MMSGUI_MENUWIDGET_ATTR_IDS_vloop, \
00082         MMSGUI_MENUWIDGET_ATTR_IDS_trans_items, \
00083         MMSGUI_MENUWIDGET_ATTR_IDS_dim_top, \
00084         MMSGUI_MENUWIDGET_ATTR_IDS_dim_bottom, \
00085         MMSGUI_MENUWIDGET_ATTR_IDS_dim_left, \
00086         MMSGUI_MENUWIDGET_ATTR_IDS_dim_right, \
00087         MMSGUI_MENUWIDGET_ATTR_IDS_trans_top, \
00088         MMSGUI_MENUWIDGET_ATTR_IDS_trans_bottom, \
00089         MMSGUI_MENUWIDGET_ATTR_IDS_trans_left, \
00090         MMSGUI_MENUWIDGET_ATTR_IDS_trans_right, \
00091         MMSGUI_MENUWIDGET_ATTR_IDS_zoomsel_width, \
00092         MMSGUI_MENUWIDGET_ATTR_IDS_zoomsel_height, \
00093         MMSGUI_MENUWIDGET_ATTR_IDS_zoomsel_shiftx, \
00094         MMSGUI_MENUWIDGET_ATTR_IDS_zoomsel_shifty, \
00095         MMSGUI_MENUWIDGET_ATTR_IDS_smooth_scrolling, \
00096         MMSGUI_MENUWIDGET_ATTR_IDS_parent_window, \
00097         MMSGUI_MENUWIDGET_ATTR_IDS_selimage, \
00098         MMSGUI_MENUWIDGET_ATTR_IDS_selimage_path, \
00099         MMSGUI_MENUWIDGET_ATTR_IDS_selimage_name, \
00100         MMSGUI_MENUWIDGET_ATTR_IDS_smooth_selection, \
00101         MMSGUI_MENUWIDGET_ATTR_IDS_smooth_delay
00102 
00103     #define MMSGUI_MENUWIDGET_ATTR_INIT { \
00104         MMSGUI_BASE_ATTR_ATTRDESC, \
00105         MMSGUI_BORDER_ATTR_ATTRDESC, \
00106         MMSGUI_WIDGET_ATTR_ATTRDESC, \
00107         MMSGUI_MENUWIDGET_ATTR_ATTRDESC, \
00108         { NULL, TAFF_ATTRTYPE_NONE } \
00109     }
00110 
00111     typedef enum {
00112         MMSGUI_BASE_ATTR_IDS,
00113         MMSGUI_BORDER_ATTR_IDS,
00114         MMSGUI_WIDGET_ATTR_IDS,
00115         MMSGUI_MENUWIDGET_ATTR_IDS
00116     } ids;
00117 }
00118 
00119 extern TAFF_ATTRDESC MMSGUI_MENUWIDGET_ATTR_I[];
00120 
00121 
00122 //! A data access class for the menu widget.
00123 /*!
00124 This class is the base for the MMSMenuWidget class.
00125 With this data store you have access to all changeable widget attributes.
00126 It is also one of the base classes for MMSThemeManager and MMSDialogManager
00127 which are main features of the MMSGUI.
00128 \note This class will be internally used by class MMSMenuWidget.
00129 \author Jens Schneider
00130 */
00131 class MMSMenuWidgetClass {
00132     private:
00133         //! name of the theme class
00134         string          className;
00135 
00136         //! the copied TAFF buffer
00137         MMSTaffFile     *tafff;
00138 
00139         //! is itemwidth set?
00140         bool            isitemwidth;
00141 
00142         //! width of an item (percent or pixel)
00143         string          itemwidth;
00144 
00145         //! is itemheight set?
00146         bool            isitemheight;
00147 
00148         //! height of an item (percent or pixel)
00149         string          itemheight;
00150 
00151         //! is horizontal item margin set?
00152         bool            isitemhmargin;
00153 
00154         //! horizontal item margin
00155         unsigned int    itemhmargin;
00156 
00157         //! is vertical item margin set?
00158         bool            isitemvmargin;
00159 
00160         //! vertical item margin
00161         unsigned int    itemvmargin;
00162 
00163         //! is the number of columns set?
00164         bool            iscols;
00165 
00166         //! number of columns
00167         unsigned int    cols;
00168 
00169         //! is the dimitems value set?
00170         bool            isdimitems;
00171 
00172         //! dimitems if the menu has not the focus
00173         unsigned int    dimitems;
00174 
00175         //! is the fixedpos value set?
00176         bool            isfixedpos;
00177 
00178         //! fixed position of the selected item
00179         unsigned int    fixedpos;
00180 
00181         //! is the hloop flag set?
00182         bool            ishloop;
00183 
00184         //! loop horizontal (left/right) without jumping out of the menu
00185         unsigned int    hloop;
00186 
00187         //! is the vloop flag set?smoothscrolling
00188         bool            isvloop;
00189 
00190         //! loop vertical (up/down) without jumping out of the menu
00191         unsigned int    vloop;
00192 
00193         //! is the transitems value set?
00194         bool            istransitems;
00195 
00196         //! transitems if the menu has not the focus
00197         unsigned int    transitems;
00198 
00199         //! is the dimtop value set?
00200         bool            isdimtop;
00201 
00202         //! dim the items at the top of the menu
00203         unsigned int    dimtop;
00204 
00205         //! is the dimbottom value set?
00206         bool            isdimbottom;
00207 
00208         //! dim the items at the bottom of the menu
00209         unsigned int    dimbottom;
00210 
00211         //! is the dimleft value set?
00212         bool            isdimleft;
00213 
00214         //! dim the items at the left of the menu
00215         unsigned int    dimleft;
00216 
00217         //! is the dimright value set?
00218         bool            isdimright;
00219 
00220         //! dim the items at the right of the menu
00221         unsigned int    dimright;
00222 
00223         //! is the transtop value set?
00224         bool            istranstop;
00225 
00226         //! transparent the items at the top of the menu
00227         unsigned int    transtop;
00228 
00229         //! is the transbottom value set?
00230         bool            istransbottom;
00231 
00232         //! transparent the items at the bottom of the menu
00233         unsigned int    transbottom;
00234 
00235         //! is the transleft value set?
00236         bool            istransleft;
00237 
00238         //! transparent the items at the left of the menu
00239         unsigned int    transleft;
00240 
00241         //! is the transright value set?
00242         bool            istransright;
00243 
00244         //! transparent the items at the right of the menu
00245         unsigned int    transright;
00246 
00247         //! is zoom in (width) value set?
00248         bool            iszoomselwidth;
00249 
00250         //! zoom in (width) the selected item (percent or pixel)
00251         string          zoomselwidth;
00252 
00253         //! is zoom in (height) value set?
00254         bool            iszoomselheight;
00255 
00256         //! zoom in (height) the selected item (percent or pixel)
00257         string          zoomselheight;
00258 
00259         //! is horizontal shift value set?
00260         bool            iszoomselshiftx;
00261 
00262         //! horizontal shift of the selected item (percent or pixel)
00263         string          zoomselshiftx;
00264 
00265         //! is vertical shift value set?
00266         bool            iszoomselshifty;
00267 
00268         //! vertical shift of the selected item (percent or pixel)
00269         string          zoomselshifty;
00270 
00271         //! is smooth scrolling mode set?
00272         bool            issmoothscrolling;
00273 
00274         //! smooth scrolling mode
00275         MMSSEQUENCEMODE smoothscrolling;
00276 
00277         //! is parent window set?
00278         bool            isparentwindow;
00279 
00280         //! name of the parent window
00281         string          parentwindow;
00282 
00283         //! is selimage path set?
00284         bool            isselimagepath;
00285 
00286         //! selimage path
00287         string          selimagepath;
00288 
00289         //! is selimage name set?
00290         bool            isselimagename;
00291 
00292         //! selimage filename
00293         string          selimagename;
00294 
00295         //! is smooth selection mode set?
00296         bool            issmoothselection;
00297 
00298         //! smooth selection mode
00299         MMSSEQUENCEMODE smoothselection;
00300 
00301         //! is smooth delay set?
00302         bool            issmoothdelay;
00303 
00304         //! smooth delay
00305         unsigned int    smoothdelay;
00306 
00307         //! Read and set all attributes from the given TAFF buffer.
00308         /*!
00309         \param tafff        pointer to the TAFF buffer
00310         \param prefix       optional, prefix to all attribute names (<prefix><attrname>=<attrvalue>)
00311         \param path         optional, path needed for empty path values from the TAFF buffer
00312         \param reset_paths  optional, should reset all path attributes?
00313         */
00314         void setAttributesFromTAFF(MMSTaffFile *tafff, string *prefix = NULL, string *path = NULL,
00315                                    bool reset_paths = false);
00316 
00317         //! Saves a copy of an TAFF buffer including all child nodes.
00318         /*!
00319         \param tafff   pointer to the TAFF buffer
00320         */
00321         void duplicateTAFF(MMSTaffFile *tafff);
00322 
00323     public:
00324         //! stores base widget attributes
00325         MMSWidgetClass widgetClass;
00326 
00327         //! Constructor of class MMSMenuWidgetClass.
00328         MMSMenuWidgetClass();
00329 
00330         //! Destructor of class MMSMenuWidgetClass.
00331         ~MMSMenuWidgetClass();
00332 
00333         //! Mark all attributes as not set.
00334         void unsetAll();
00335 
00336         //! Get the copied TAFF buffer, see duplicateTAFF().
00337         /*!
00338         \return pointer to the TAFF buffer
00339         */
00340         MMSTaffFile *getTAFF();
00341 
00342         //! Set the name of the theme class.
00343         /*!
00344         \param classname  name of the class
00345         */
00346         void setClassName(string className);
00347 
00348         //! Get the name of the theme class.
00349         /*!
00350         \return name of the class
00351         */
00352         string getClassName();
00353 
00354         //! Check if the itemwidth is set.
00355         bool isItemWidth();
00356 
00357         //! Set the width of each item.
00358         /*!
00359         \param itemwidth  width of an item (percent or pixel)
00360         */
00361         void setItemWidth(string itemwidth);
00362 
00363         //! Mark the itemwidth as not set.
00364         void unsetItemWidth();
00365 
00366         //! Get the width of an item.
00367         /*!
00368         \return item width
00369         */
00370         string getItemWidth();
00371 
00372         //! Check if the itemheight is set.
00373         bool isItemHeight();
00374 
00375         //! Set the height of each item.
00376         /*!
00377         \param itemheight  height of an item (percent or pixel)
00378         */
00379         void setItemHeight(string itemheight);
00380 
00381         //! Mark the itemheight as not set.
00382         void unsetItemHeight();
00383 
00384         //! Get the height of an item.
00385         /*!
00386         \return item height
00387         */
00388         string getItemHeight();
00389 
00390         //! Check if the horizontal item margin is set.
00391         bool isItemHMargin();
00392 
00393         //! Set the horizontal item margin.
00394         /*!
00395         \param itemhmargin  horizontal margin
00396         */
00397         void setItemHMargin(unsigned int itemhmargin);
00398 
00399         //! Mark the itemhmargin as not set.
00400         void unsetItemHMargin();
00401 
00402         //! Get the horizontal item margin.
00403         /*!
00404         \return horizontal margin
00405         */
00406         unsigned int getItemHMargin();
00407 
00408         //! Check if the vertical item margin is set.
00409         bool isItemVMargin();
00410 
00411         //! Set the vertical item margin.
00412         /*!
00413         \param itemvmargin  vertical margin
00414         */
00415         void setItemVMargin(unsigned int itemvmargin);
00416 
00417         //! Mark the itemvmargin as not set.
00418         void unsetItemVMargin();
00419 
00420         //! Get the vertical item margin.
00421         /*!
00422         \return vertical margin
00423         */
00424         unsigned int getItemVMargin();
00425 
00426         //! Check if the number of columns is set.
00427         bool isCols();
00428 
00429         //! Set the number of columns.
00430         /*!
00431         \param cols  columns (equal or greater than 1)
00432         */
00433         void setCols(unsigned int cols);
00434 
00435         //! Mark the cols as not set.
00436         void unsetCols();
00437 
00438         //! Get the number of columns.
00439         /*!
00440         \return columns
00441         */
00442         unsigned int getCols();
00443 
00444         //! Check if the dimitems value is set.
00445         bool isDimItems();
00446 
00447         //! Set the dimitems value. The menu items will dim with this value if the menu has not the focus.
00448         /*!
00449         \param dimitems  dim the menu items with this value (0..255)
00450         */
00451         void setDimItems(unsigned int dimitems);
00452 
00453         //! Mark the dimitems as not set.
00454         void unsetDimItems();
00455 
00456         //! Get the dimitems value.
00457         /*!
00458         \return dimitems value
00459         */
00460         unsigned int getDimItems();
00461 
00462         //! Check if the fixedpos value is set.
00463         bool isFixedPos();
00464 
00465         //! Set the fixedpos value. The position of the selected menu item will not changed.
00466         /*!
00467         \param fixedpos  fixed position
00468         */
00469         void setFixedPos(int fixedpos);
00470 
00471         //! Mark the fixedpos as not set.
00472         void unsetFixedPos();
00473 
00474         //! Get the fixedpos value.
00475         /*!
00476         \return fixed position
00477         */
00478         int getFixedPos();
00479 
00480         //! Check if the hloop flag is set.
00481         bool isHLoop();
00482 
00483         //! Set the hloop flag. If true then it loops horizontal (left/right) without jumping out of the menu.
00484         /*!
00485         \param hloop  loop horizontal
00486         */
00487         void setHLoop(bool hloop);
00488 
00489         //! Mark the hloop as not set.
00490         void unsetHLoop();
00491 
00492         //! Get the hloop flag.
00493         /*!
00494         \return hloop flag
00495         */
00496         bool getHLoop();
00497 
00498         //! Check if the vloop flag is set.
00499         bool isVLoop();
00500 
00501         //! Set the vloop flag. If true then it loops vertical (up/down) without jumping out of the menu.
00502         /*!
00503         \param vloop  loop vertical
00504         */
00505         void setVLoop(bool vloop);
00506 
00507         //! Mark the vloop as not set.
00508         void unsetVLoop();
00509 
00510         //! Get the vloop flag.
00511         /*!
00512         \return vloop flag
00513         */
00514         bool getVLoop();
00515 
00516         //! Check if the transitems value is set.
00517         bool isTransItems();
00518 
00519         //! Set the transitems value. The menu items will get transparent with this value if the menu has not the focus.
00520         /*!
00521         \param transitems  transparent the menu items with this value (0..255)
00522         */
00523         void setTransItems(unsigned int transitems);
00524 
00525         //! Mark the transitems as not set.
00526         void unsetTransItems();
00527 
00528         //! Get the transitems value.
00529         /*!
00530         \return transitems value
00531         */
00532         unsigned int getTransItems();
00533 
00534         //! Check if the dimtop value is set.
00535         bool isDimTop();
00536 
00537         //! Set the dimtop value. The menu items at the top will dim with this value.
00538         /*!
00539         \param dimtop  dim the menu items with this value (0..255)
00540         */
00541         void setDimTop(unsigned int dimtop);
00542 
00543         //! Mark the dimtop as not set.
00544         void unsetDimTop();
00545 
00546         //! Get the dimtop value.
00547         /*!
00548         \return dimtop value
00549         */
00550         unsigned int getDimTop();
00551 
00552         //! Check if the dimbottom value is set.
00553         bool isDimBottom();
00554 
00555         //! Set the dimbottom value. The menu items at the bottom will dim with this value.
00556         /*!
00557         \param dimbottom  dim the menu items with this value (0..255)
00558         */
00559         void setDimBottom(unsigned int dimbottom);
00560 
00561         //! Mark the dimbottom as not set.
00562         void unsetDimBottom();
00563 
00564         //! Get the dimbottom value.
00565         /*!
00566         \return dimbottom value
00567         */
00568         unsigned int getDimBottom();
00569 
00570         //! Check if the dimleft value is set.
00571         bool isDimLeft();
00572 
00573         //! Set the dimleft value. The menu items at the left will dim with this value.
00574         /*!
00575         \param dimleft  dim the menu items with this value (0..255)
00576         */
00577         void setDimLeft(unsigned int dimleft);
00578 
00579         //! Mark the dimleft as not set.
00580         void unsetDimLeft();
00581 
00582         //! Get the dimleft value.
00583         /*!
00584         \return dimleft value
00585         */
00586         unsigned int getDimLeft();
00587 
00588         //! Check if the dimright value is set.
00589         bool isDimRight();
00590 
00591         //! Set the dimright value. The menu items at the right will dim with this value.
00592         /*!
00593         \param dimright  dim the menu items with this value (0..255)
00594         */
00595         void setDimRight(unsigned int dimright);
00596 
00597         //! Mark the dimright as not set.
00598         void unsetDimRight();
00599 
00600         //! Get the dimright value.
00601         /*!
00602         \return dimright value
00603         */
00604         unsigned int getDimRight();
00605 
00606         //! Check if the transtop value is set.
00607         bool isTransTop();
00608 
00609         //! Set the transtop value. The menu items at the top will get transparent with this value.
00610         /*!
00611         \param transtop  transparent the menu items with this value (0..255)
00612         */
00613         void setTransTop(unsigned int transtop);
00614 
00615         //! Mark the transtop as not set.
00616         void unsetTransTop();
00617 
00618         //! Get the transtop value.
00619         /*!
00620         \return transtop value
00621         */
00622         unsigned int getTransTop();
00623 
00624         //! Check if the transbottom value is set.
00625         bool isTransBottom();
00626 
00627         //! Set the transbottom value. The menu items at the bottom will get transparent with this value.
00628         /*!
00629         \param transbottom  transparent the menu items with this value (0..255)
00630         */
00631         void setTransBottom(unsigned int transbottom);
00632 
00633         //! Mark the transbottom as not set.
00634         void unsetTransBottom();
00635 
00636         //! Get the transbottom value.
00637         /*!
00638         \return transbottom value
00639         */
00640         unsigned int getTransBottom();
00641 
00642         //! Check if the transleft value is set.
00643         bool isTransLeft();
00644 
00645         //! Set the transleft value. The menu items at the left will get transparent with this value.
00646         /*!
00647         \param transleft  transparent the menu items with this value (0..255)
00648         */
00649         void setTransLeft(unsigned int transleft);
00650 
00651         //! Mark the transleft as not set.
00652         void unsetTransLeft();
00653 
00654         //! Get the transleft value.
00655         /*!
00656         \return transleft value
00657         */
00658         unsigned int getTransLeft();
00659 
00660         //! Check if the transright value is set.
00661         bool isTransRight();
00662 
00663         //! Set the transright value. The menu items at the right will get transparent with this value.
00664         /*!
00665         \param transright  transparent the menu items with this value (0..255)
00666         */
00667         void setTransRight(unsigned int transright);
00668 
00669         //! Mark the transright as not set.
00670         void unsetTransRight();
00671 
00672         //! Get the transright value.
00673         /*!
00674         \return transright value
00675         */
00676         unsigned int getTransRight();
00677 
00678 
00679         bool isZoomSelWidth();
00680         void setZoomSelWidth(string zoomselwidth);
00681         void unsetZoomSelWidth();
00682         string getZoomSelWidth();
00683         bool isZoomSelHeight();
00684         void setZoomSelHeight(string zoomselheight);
00685         void unsetZoomSelHeight();
00686         string getZoomSelHeight();
00687         bool isZoomSelShiftX();
00688         void setZoomSelShiftX(string zoomselshiftx);
00689         void unsetZoomSelShiftX();
00690         string getZoomSelShiftX();
00691         bool isZoomSelShiftY();
00692         void setZoomSelShiftY(string zoomselshifty);
00693         void unsetZoomSelShiftY();
00694         string getZoomSelShiftY();
00695 
00696         bool isSmoothScrolling();
00697         void setSmoothScrolling(MMSSEQUENCEMODE smoothscrolling);
00698         void unsetSmoothScrolling();
00699         MMSSEQUENCEMODE getSmoothScrolling();
00700 
00701         bool isParentWindow();
00702         void setParentWindow(string parentwindow);
00703         void unsetParentWindow();
00704         string getParentWindow();
00705 
00706 
00707         bool isSelImagePath();
00708         void setSelImagePath(string selimagepath);
00709         void unsetSelImagePath();
00710         string getSelImagePath();
00711 
00712         bool isSelImageName();
00713         void setSelImageName(string selimagename);
00714         void unsetSelImageName();
00715         string getSelImageName();
00716 
00717         bool isSmoothSelection();
00718         void setSmoothSelection(MMSSEQUENCEMODE smoothselection);
00719         void unsetSmoothSelection();
00720         MMSSEQUENCEMODE getSmoothSelection();
00721 
00722         bool isSmoothDelay();
00723         void setSmoothDelay(unsigned int smoothdelay);
00724         void unsetSmoothDelay();
00725         unsigned int getSmoothDelay();
00726 
00727     // friends
00728     friend class MMSThemeManager;
00729     friend class MMSDialogManager;
00730 };
00731 
00732 #endif /*MMSMENUWIDGETCLASS_H_*/

Generated by doxygen