Back to index

unity  6.0.0
Public Types | Public Member Functions | Public Attributes | Private Attributes
unity::OverlayRenderer Class Reference

#include <OverlayRenderer.h>

Collaboration diagram for unity::OverlayRenderer:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::unique_ptr
< OverlayRenderer
Ptr

Public Member Functions

 OverlayRenderer ()
 ~OverlayRenderer ()
void AboutToShow ()
void AboutToHide ()
void DisableBlur ()
void SetOwner (nux::View *owner)
void DrawFull (nux::GraphicsEngine &gfx_context, nux::Geometry content_geo, nux::Geometry absolute_geo, nux::Geometry geo, bool force_edges=false)
void DrawInner (nux::GraphicsEngine &gfx_context, nux::Geometry content_geo, nux::Geometry absolute_geo, nux::Geometry geo)
void DrawInnerCleanup (nux::GraphicsEngine &gfx_context, nux::Geometry content_geo, nux::Geometry absolute_geo, nux::Geometry geo)

Public Attributes

nux::Property< int > x_offset
nux::Property< int > y_offset
sigc::signal< void > need_redraw

Private Attributes

OverlayRendererImplpimpl_

Detailed Description

Definition at line 33 of file OverlayRenderer.h.


Member Typedef Documentation

typedef std::unique_ptr<OverlayRenderer> unity::OverlayRenderer::Ptr

Definition at line 38 of file OverlayRenderer.h.


Constructor & Destructor Documentation

Definition at line 867 of file OverlayRenderer.cpp.

  : pimpl_(new OverlayRendererImpl(this))
{

}

Definition at line 874 of file OverlayRenderer.cpp.

{
  delete pimpl_;
}

Member Function Documentation

Definition at line 879 of file OverlayRenderer.cpp.

{
  pimpl_->visible = false;
  pimpl_->bg_effect_helper_.enabled = false;
  need_redraw.emit();
}

Here is the caller graph for this function:

Definition at line 886 of file OverlayRenderer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 899 of file OverlayRenderer.cpp.

Here is the caller graph for this function:

void unity::OverlayRenderer::DrawFull ( nux::GraphicsEngine &  gfx_context,
nux::Geometry  content_geo,
nux::Geometry  absolute_geo,
nux::Geometry  geo,
bool  force_edges = false 
)

Definition at line 904 of file OverlayRenderer.cpp.

{
  pimpl_->Draw(gfx_context, content_geo, absolute_geo, geo, force_edges);
  LOG_DEBUG(logger) << "OverlayRenderer::DrawFull(): content_geo:  " << content_geo.width << "/" << content_geo.height;
  LOG_DEBUG(logger) << "OverlayRenderer::DrawFull(): absolute_geo: " << absolute_geo.width << "/" << absolute_geo.height;
  LOG_DEBUG(logger) << "OverlayRenderer::DrawFull(): geo:          " << geo.width << "/" << geo.height;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity::OverlayRenderer::DrawInner ( nux::GraphicsEngine &  gfx_context,
nux::Geometry  content_geo,
nux::Geometry  absolute_geo,
nux::Geometry  geo 
)

Definition at line 912 of file OverlayRenderer.cpp.

{
  pimpl_->DrawContent(gfx_context, content_geo, absolute_geo, geo);
  LOG_DEBUG(logger) << "OverlayRenderer::DrawInner(): content_geo:  " << content_geo.width << "/" << content_geo.height;
  LOG_DEBUG(logger) << "OverlayRenderer::DrawInner(): absolute_geo: " << absolute_geo.width << "/" << absolute_geo.height;
  LOG_DEBUG(logger) << "OverlayRenderer::DrawInner(): geo:          " << geo.width << "/" << geo.height;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity::OverlayRenderer::DrawInnerCleanup ( nux::GraphicsEngine &  gfx_context,
nux::Geometry  content_geo,
nux::Geometry  absolute_geo,
nux::Geometry  geo 
)

Definition at line 920 of file OverlayRenderer.cpp.

{
  pimpl_->DrawContentCleanup(gfx_context, content_geo, absolute_geo, geo);
  LOG_DEBUG(logger) << "OverlayRenderer::DrawInnerCleanup(): content_geo:  " << content_geo.width << "/" << content_geo.height;
  LOG_DEBUG(logger) << "OverlayRenderer::DrawInnerCleanup(): absolute_geo: " << absolute_geo.width << "/" << absolute_geo.height;
  LOG_DEBUG(logger) << "OverlayRenderer::DrawInnerCleanup(): geo:          " << geo.width << "/" << geo.height;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity::OverlayRenderer::SetOwner ( nux::View *  owner)

Definition at line 894 of file OverlayRenderer.cpp.

Here is the caller graph for this function:


Member Data Documentation

Definition at line 85 of file OverlayRenderer.h.

Definition at line 88 of file OverlayRenderer.h.

Definition at line 40 of file OverlayRenderer.h.

Definition at line 41 of file OverlayRenderer.h.


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