FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
PluginWindow.h
1 /**********************************************************\
2 Original Author: Richard Bateman (taxilian)
3 
4 Created: Oct 19, 2009
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 2009 PacketPass, Inc and the Firebreath development team
13 \**********************************************************/
14 
15 #pragma once
16 #ifndef H_FB_PLUGINWINDOW
17 #define H_FB_PLUGINWINDOW
18 
19 #include <string>
20 #include "PluginEventSource.h"
21 
22 namespace FB {
23 
34  {
35  public:
36  PluginWindow() { };
37  virtual ~PluginWindow() { };
38 
44  virtual void InvalidateWindow() const = 0;
45 
53  virtual FB::Rect getWindowPosition() const = 0;
54 
62  virtual uint32_t getWindowWidth() const = 0;
63 
71  virtual uint32_t getWindowHeight() const = 0;
72 
80  virtual FB::Rect getWindowClipping() const = 0;
81  };
82 };
83 
84 #endif
85 
virtual uint32_t getWindowWidth() const =0
Gets the width of the window.
virtual FB::Rect getWindowClipping() const =0
Gets the clipping rect of the window.
PluginWindow is the base class for all PluginWindow objects.
Definition: PluginWindow.h:33
virtual FB::Rect getWindowPosition() const =0
Gets the position rect of the window.
virtual uint32_t getWindowHeight() const =0
Gets the height of the window.
virtual void InvalidateWindow() const =0
Invalidate window. This should tell the OS to send a REFRESH event.
Definition: PluginWindow.h:37
Base class for any object, such as BrowserStream or PluginWindow, that needs to fire events to a Plug...