Page tree
Skip to end of metadata
Go to start of metadata

FB::PluginWindowlessWin Class Reference

Windows specific implementation of PluginWindow. More...

#include "PluginWindowlessWin.h"

Inheritance diagram for FB::PluginWindowlessWin:
Inheritance graph
Collaboration diagram for FB::PluginWindowlessWin:
Collaboration graph

Public Member Functions

HDC getHDC () const
 Gets the HDC of the plugin window. More...
FB::Rect getWindowPosition () const
 Gets the position rect of the window. More...
FB::Rect getWindowClipping () const
 Gets the clipping rect of the window. More...
uint32_t getWindowWidth () const
 Gets the width of the window. More...
uint32_t getWindowHeight () const
 Gets the height of the window. More...
void InvalidateWindow () const
 Invalidate window. This should tell the OS to send a REFRESH event. More...
- Public Member Functions inherited from FB::PluginEventSource
virtual void AttachObserver (PluginEventSink *sink)
 Attach a PluginEventSink to receive events. More...
virtual void DetachObserver (PluginEventSink *sink)
 Detach a PluginEventSink so it no longer receives events from this source. More...
virtual bool SendEvent (PluginEvent *evt)
 Sends an event to all attached sinks. More...
template<class T >
T * get_as ()
 Templated convenience function for performing a dynamic cast of this object. More...
template<class T >
bool validType ()
 Returns true if the object can be cast to the specified type. More...

Additional Inherited Members

- Protected Types inherited from FB::PluginEventSource
typedef std::list
< PluginEventSinkWeakPtr > 
 Defines an alias representing the observer . More...
- Protected Attributes inherited from FB::PluginEventSource
boost::recursive_mutex m_observerLock
 List of attached observers. More...

Detailed Description

Windows specific implementation of PluginWindow.

This class implements the windowless plugin "window" in FireBreath. Windowless plugins are different from windowed plugins in that they don't have a handle to a window, and instead are given a handle to a drawable from the browser. HandleEvent is called to give us system events instead of intercepting the events directly through the window.

Definition at line 39 of file PluginWindowlessWin.h.

The documentation for this class was generated from the following files:
  • No labels