FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
PluginWindowMacICA.h
1 /**********************************************************\
2 Original Author: Anson MacKeracher
3 
4 Created: May 5, 2010
5 License: Dual license model; choose one of two:
6  New BSD License
7  http://www.opensource.org/licenses/bsd-license.php
8  - or -
9  GNU Lesser General Public License, version 2.1
10  http://www.gnu.org/licenses/lgpl-2.1.html
11 
12 Copyright 2010 Anson MacKeracher, Firebreath development team
13 \**********************************************************/
14 
15 #ifndef H_PLUGINWINDOWMACICA
16 #define H_PLUGINWINDOWMACICA
17 
18 #include "PluginWindowMacCA.h"
19 
20 namespace FB {
21  class PluginWindowMacICA: public PluginWindowMacCA
22  {
23  public:
24  PluginWindowMacICA();
25  virtual ~PluginWindowMacICA() {}
26 
27  DrawingModel getDrawingModel() const { return DrawingModelInvalidatingCoreAnimation; }
28 
29  bool displayOnInvalidate() const { return m_displayOnInvalidate; }
30  void setDisplayOnInvalidate(bool value) { m_displayOnInvalidate = value; }
31 
32  void InvalidateWindow() const;
33 
34  private:
35  bool m_displayOnInvalidate;
36  };
37 };
38 #endif // H_PLUGINWINDOWMACICA