Back to index

unity  6.0.0
Public Member Functions | Public Attributes
CompWindowMock Class Reference

#include <window.h>

List of all members.

Public Member Functions

 CompWindowMock ()
int x () const
int y () const
int width () const
int height () const
void move (int dx, int dy, bool immediate=true)
unsigned int actions ()
void maximize (int state)
unsigned int & state ()
void grabNotify (int x, int y, unsigned int state, unsigned int mask)
void ungrabNotify ()
void syncPosition ()
compiz::window::Geometry & serverGeometry ()

Public Attributes

unsigned int _actions
unsigned int _state
compiz::window::Geometry _serverGeometry
compiz::window::Geometry _geometry
bool _moved
int _movement_x
int _movement_y
int _maximize_count
int _maximize_state

Detailed Description

Definition at line 27 of file window.h.


Constructor & Destructor Documentation

Definition at line 29 of file window.h.


Member Function Documentation

unsigned int CompWindowMock::actions ( ) [inline]

Definition at line 42 of file window.h.

{return _actions;}
void CompWindowMock::grabNotify ( int  x,
int  y,
unsigned int  state,
unsigned int  mask 
) [inline]

Definition at line 49 of file window.h.

{}
int CompWindowMock::height ( ) const [inline]

Definition at line 34 of file window.h.

{return _geometry.height() + (_geometry.border()*2);}

Here is the caller graph for this function:

void CompWindowMock::maximize ( int  state) [inline]

Definition at line 44 of file window.h.

Here is the call graph for this function:

void CompWindowMock::move ( int  dx,
int  dy,
bool  immediate = true 
) [inline]

Definition at line 36 of file window.h.

                                                   {
    _moved = true;
    _movement_x = dx;
    _movement_y = dy;
  }
compiz::window::Geometry& CompWindowMock::serverGeometry ( ) [inline]

Definition at line 54 of file window.h.

{return _serverGeometry;}
unsigned int& CompWindowMock::state ( ) [inline]

Definition at line 47 of file window.h.

{return _state;}

Here is the caller graph for this function:

void CompWindowMock::syncPosition ( ) [inline]

Definition at line 52 of file window.h.

{}
void CompWindowMock::ungrabNotify ( ) [inline]

Definition at line 50 of file window.h.

{}
int CompWindowMock::width ( ) const [inline]

Definition at line 33 of file window.h.

{return _geometry.width() + (_geometry.border()*2);}

Here is the caller graph for this function:

int CompWindowMock::x ( ) const [inline]

Definition at line 31 of file window.h.

{return _geometry.x();}

Here is the caller graph for this function:

int CompWindowMock::y ( ) const [inline]

Definition at line 32 of file window.h.

{return _geometry.y();}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 56 of file window.h.

compiz::window::Geometry CompWindowMock::_geometry

Definition at line 59 of file window.h.

Definition at line 65 of file window.h.

Definition at line 66 of file window.h.

Definition at line 61 of file window.h.

Definition at line 62 of file window.h.

Definition at line 63 of file window.h.

compiz::window::Geometry CompWindowMock::_serverGeometry

Definition at line 58 of file window.h.

unsigned int CompWindowMock::_state

Definition at line 57 of file window.h.


The documentation for this class was generated from the following file: