]> git.saurik.com Git - wxWidgets.git/blame - contrib/include/wx/fl/updatesmgr.h
build fix for latest C++ standard
[wxWidgets.git] / contrib / include / wx / fl / updatesmgr.h
CommitLineData
8e08b761 1/////////////////////////////////////////////////////////////////////////////
4cbc57f0
JS
2// Name: updatesmgr.h
3// Purpose: cbSimpleUpdatesMgr class declaration
8e08b761
JS
4// Author: Aleksandras Gluchovas (@Lithuania)
5// Modified by:
6// Created: 19/10/98
7// RCS-ID: $Id$
8// Copyright: (c) Aleksandras Gluchovas
c82c42d4 9// Licence: wxWindows licence
8e08b761
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef __UPDATESMGR_G__
13#define __UPDATESMGR_G__
14
8e08b761
JS
15#include "wx/fl/controlbar.h"
16
17/*
4cbc57f0
JS
18This class implements slightly optimized logic for refreshing
19the areas of frame layout that actually need to be updated.
20*/
8e08b761 21
510b9edb 22class WXDLLIMPEXP_FL cbSimpleUpdatesMgr : public cbUpdatesManagerBase
8e08b761 23{
4cbc57f0 24 DECLARE_DYNAMIC_CLASS( cbSimpleUpdatesMgr )
8e08b761
JS
25protected:
26
4cbc57f0
JS
27 // Helper function.
28 bool WasChanged( cbUpdateMgrData& data, wxRect& currentBounds );
8e08b761
JS
29
30public:
4cbc57f0
JS
31 // Default constructor.
32 cbSimpleUpdatesMgr() {}
8e08b761 33
4cbc57f0
JS
34 // Constructor taking frame layout panel.
35 cbSimpleUpdatesMgr( wxFrameLayout* pPanel );
8e08b761 36
4cbc57f0
JS
37 // Notification received from Frame Layout in the order in which
38 // they would usually be invoked.
39 virtual void OnStartChanges();
8e08b761 40
4cbc57f0
JS
41 // Notification received from Frame Layout in the order in which
42 // they would usually be invoked.
43 virtual void OnRowWillChange( cbRowInfo* pRow, cbDockPane* pInPane );
8e08b761 44
4cbc57f0
JS
45 // Notification received from Frame Layout in the order in which
46 // they would usually be invoked.
47 virtual void OnBarWillChange( cbBarInfo* pBar, cbRowInfo* pInRow, cbDockPane* pInPane );
8e08b761 48
4cbc57f0
JS
49 // Notification received from Frame Layout in the order in which
50 // they would usually be invoked.
51 virtual void OnPaneMarginsWillChange( cbDockPane* pPane );
8e08b761 52
4cbc57f0
JS
53 // Notification received from Frame Layout in the order in which
54 // they would usually be invoked.
55 virtual void OnPaneWillChange( cbDockPane* pPane );
8e08b761 56
4cbc57f0
JS
57 // Notification received from Frame Layout in the order in which
58 // they would usually be invoked.
59 virtual void OnFinishChanges();
60
61 // Refreshes the parts of the frame layoutthat need an update.
62 virtual void UpdateNow();
8e08b761
JS
63};
64
65#endif /* __UPDATESMGR_G__ */
66