Changeset e0a50df328a2051ce9c3f25dc79f766ca1419d5e

Show
Ignore:
Timestamp:
15/08/06 20:59:40 (2 years ago)
Author:
Olivier Teulière <ipkiss@videolan.org>
git-committer:
Olivier Teulière <ipkiss@videolan.org> 1155668380 +0000
git-parent:

[7ea9e5cc89fab3680c91cb136dc4c4ff8606750e]

git-author:
Olivier Teulière <ipkiss@videolan.org> 1155668380 +0000
Message:
  • skins2/controls/*: forward the onResize() method to the decorated controls
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/skins2/controls/ctrl_move.cpp

    radc858d re0a50df  
    8787 
    8888 
     89void CtrlMove::onResize() 
     90{ 
     91    m_rCtrl.onResize(); 
     92} 
     93 
     94 
    8995void CtrlMove::handleEvent( EvtGeneric &rEvent ) 
    9096{ 
  • modules/gui/skins2/controls/ctrl_move.hpp

    radc858d re0a50df  
    5959        virtual const Position *getPosition() const; 
    6060 
    61           /// Get the type of control (custom RTTI) 
     61        /// Method called when the control is resized 
     62        virtual void onResize(); 
     63 
     64        /// Get the type of control (custom RTTI) 
    6265        virtual string getType() const { return m_rCtrl.getType(); } 
    6366 
  • modules/gui/skins2/controls/ctrl_resize.cpp

    r24648f4 re0a50df  
    9393{ 
    9494    return m_rCtrl.getPosition(); 
     95} 
     96 
     97 
     98void CtrlResize::onResize() 
     99{ 
     100    m_rCtrl.onResize(); 
    95101} 
    96102 
  • modules/gui/skins2/controls/ctrl_resize.hpp

    r24648f4 re0a50df  
    6060        virtual const Position *getPosition() const; 
    6161 
     62        /// Method called when the control is resized 
     63        virtual void onResize(); 
     64 
    6265        /// Get the type of control (custom RTTI) 
    6366        virtual string getType() const { return m_rCtrl.getType(); }