Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
inexor::ui::layer::InexorHudLayer Class Reference

The HUD layer of the inexor user interface. More...

#include <InexorHudLayer.hpp>

Inheritance diagram for inexor::ui::layer::InexorHudLayer:
inexor::ui::context::InexorContextProvider inexor::ui::layer::AbstractInexorLayerProvider inexor::ui::layer::InexorLayerProvider

Public Member Functions

 InexorHudLayer (std::string &name, std::string &url)
 
void InitializeContext () override
 
bool Execute (const CefString &name, CefRefPtr< CefV8Value > object, const CefV8ValueList &arguments, CefRefPtr< CefV8Value > &retval, CefString &exception) override
 
bool Get (const CefString &name, const CefRefPtr< CefV8Value > object, CefRefPtr< CefV8Value > &retval, CefString &exception) override
 
bool Set (const CefString &name, const CefRefPtr< CefV8Value > object, const CefRefPtr< CefV8Value > value, CefString &exception) override
 
std::string GetContextName () override
 
void Reload ()
 
void Resize (int x, int y, int width, int height)
 
void AutoResize (int width, int height)
 
void SetVisibility (bool _is_visible) override
 
void SetAcceptingKeyInput (bool _is_accepting_key_input) override
 
void SetAcceptingMouseInput (bool _is_accepting_mouse_input) override
 
void Show ()
 
void Hide ()
 
CefRefPtr< CefV8Value > GetContext ()
 
void InitializeSubContexts ()
 
void AddSubContext (InexorContextProvider *sub_context)
 
std::string GetLayerName () override
 
void SetLayerName (std::string &_name) override
 
std::string GetUrl () override
 
void SetUrl (std::string &_url) override
 
bool GetVisibility () override
 
bool GetAcceptingKeyInput () override
 
bool GetAcceptingMouseInput () override
 
void ToggleVisibility ()
 
void SetLayer (CefRefPtr< InexorLayer > layer)
 

Protected Member Functions

void CreateFunction (const CefString &name)
 
void CreateFunction (const CefString &name, CefRefPtr< CefV8Handler > handler)
 
void CreateVariable (const CefString &name, bool readonly=false)
 
void CreateSubContext (CefRefPtr< InexorContextProvider > sub_context)
 
std::string GetLocalUrl (std::string relpath)
 

Protected Attributes

std::list
< InexorContextProvider * > 
sub_contexts
 
CefRefPtr< CefV8Value > context
 
bool is_visible
 
bool is_accepting_key_input
 
bool is_accepting_mouse_input
 
std::string name
 
std::string url
 
CefRefPtr< InexorLayerlayer
 

Private Member Functions

 IMPLEMENT_REFCOUNTING (InexorHudLayer)
 

Private Attributes

std::string _name
 
std::string _url
 

Detailed Description

The HUD layer of the inexor user interface.

Constructor & Destructor Documentation

inexor::ui::layer::InexorHudLayer::InexorHudLayer ( std::string name,
std::string url 
)
inline

Member Function Documentation

void inexor::ui::context::InexorContextProvider::AddSubContext ( InexorContextProvider sub_context)
inherited
void inexor::ui::layer::InexorHudLayer::AutoResize ( int  width,
int  height 
)
void inexor::ui::context::InexorContextProvider::CreateFunction ( const CefString &  name)
protectedinherited
void inexor::ui::context::InexorContextProvider::CreateFunction ( const CefString &  name,
CefRefPtr< CefV8Handler >  handler 
)
protectedinherited
void inexor::ui::context::InexorContextProvider::CreateSubContext ( CefRefPtr< InexorContextProvider sub_context)
protectedinherited
void inexor::ui::context::InexorContextProvider::CreateVariable ( const CefString &  name,
bool  readonly = false 
)
protectedinherited
bool inexor::ui::layer::InexorHudLayer::Execute ( const CefString &  name,
CefRefPtr< CefV8Value >  object,
const CefV8ValueList &  arguments,
CefRefPtr< CefV8Value > &  retval,
CefString &  exception 
)
override
bool inexor::ui::layer::InexorHudLayer::Get ( const CefString &  name,
const CefRefPtr< CefV8Value >  object,
CefRefPtr< CefV8Value > &  retval,
CefString &  exception 
)
override
bool inexor::ui::layer::AbstractInexorLayerProvider::GetAcceptingKeyInput ( )
inlineoverridevirtualinherited
bool inexor::ui::layer::AbstractInexorLayerProvider::GetAcceptingMouseInput ( )
inlineoverridevirtualinherited
CefRefPtr< CefV8Value > inexor::ui::context::InexorContextProvider::GetContext ( )
inherited
std::string inexor::ui::layer::InexorHudLayer::GetContextName ( )
inlineoverridevirtual
std::string inexor::ui::layer::AbstractInexorLayerProvider::GetLayerName ( )
inlineoverridevirtualinherited
std::string inexor::ui::layer::InexorLayerProvider::GetLocalUrl ( std::string  relpath)
inlineprotectedinherited

References GetCurrentDir.

std::string inexor::ui::layer::AbstractInexorLayerProvider::GetUrl ( )
inlineoverridevirtualinherited
bool inexor::ui::layer::AbstractInexorLayerProvider::GetVisibility ( )
inlineoverridevirtualinherited
void inexor::ui::layer::InexorHudLayer::Hide ( )
inline
inexor::ui::layer::InexorHudLayer::IMPLEMENT_REFCOUNTING ( InexorHudLayer  )
private
void inexor::ui::layer::InexorHudLayer::InitializeContext ( )
overridevirtual
void inexor::ui::context::InexorContextProvider::InitializeSubContexts ( )
inherited
void inexor::ui::layer::InexorHudLayer::Reload ( )
void inexor::ui::layer::InexorHudLayer::Resize ( int  x,
int  y,
int  width,
int  height 
)
bool inexor::ui::layer::InexorHudLayer::Set ( const CefString &  name,
const CefRefPtr< CefV8Value >  object,
const CefRefPtr< CefV8Value >  value,
CefString &  exception 
)
override
void inexor::ui::layer::InexorHudLayer::SetAcceptingKeyInput ( bool  _is_accepting_key_input)
overridevirtual
void inexor::ui::layer::InexorHudLayer::SetAcceptingMouseInput ( bool  _is_accepting_mouse_input)
overridevirtual
void inexor::ui::layer::InexorLayerProvider::SetLayer ( CefRefPtr< InexorLayer layer)
inlineinherited
void inexor::ui::layer::AbstractInexorLayerProvider::SetLayerName ( std::string _name)
inlineoverridevirtualinherited
void inexor::ui::layer::AbstractInexorLayerProvider::SetUrl ( std::string _url)
inlineoverridevirtualinherited
void inexor::ui::layer::InexorHudLayer::SetVisibility ( bool  _is_visible)
overridevirtual
void inexor::ui::layer::InexorHudLayer::Show ( )
inline
void inexor::ui::layer::AbstractInexorLayerProvider::ToggleVisibility ( )
inlineinherited

Member Data Documentation

std::string inexor::ui::layer::InexorHudLayer::_name
private

Referenced by GetContextName().

std::string inexor::ui::layer::InexorHudLayer::_url
private
CefRefPtr<CefV8Value> inexor::ui::context::InexorContextProvider::context
protectedinherited
bool inexor::ui::layer::AbstractInexorLayerProvider::is_accepting_key_input
protectedinherited
bool inexor::ui::layer::AbstractInexorLayerProvider::is_accepting_mouse_input
protectedinherited
bool inexor::ui::layer::AbstractInexorLayerProvider::is_visible
protectedinherited
CefRefPtr<InexorLayer> inexor::ui::layer::InexorLayerProvider::layer
protectedinherited
std::string inexor::ui::layer::AbstractInexorLayerProvider::name
protectedinherited
std::list<InexorContextProvider*> inexor::ui::context::InexorContextProvider::sub_contexts
protectedinherited
std::string inexor::ui::layer::AbstractInexorLayerProvider::url
protectedinherited

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