ARB
Public Member Functions | Static Public Member Functions | List of all members
ItemFieldShader Class Reference
Inheritance diagram for ItemFieldShader:
Inheritance graph
[legend]
Collaboration diagram for ItemFieldShader:
Collaboration graph
[legend]

Public Member Functions

 ItemFieldShader (const BoundItemSel &itemtype_)
 
ShadedValue shade (GBDATA *gb_item) const OVERRIDE
 
int get_dimension () const OVERRIDE
 
int get_max_dimension () const
 
void init_specific_awars (AW_root *awr) OVERRIDE
 
bool customizable () const OVERRIDE
 
void customize (AW_root *awr) OVERRIDE
 
charstore_config () const OVERRIDE
 
void load_or_reset_config (const char *cfgstr) OVERRIDE
 
void activate (bool on) OVERRIDE
 
void setup_changed_cb ()
 
void scan_value_range_cb (int dim)
 
- Public Member Functions inherited from ShaderPlugin
 ShaderPlugin (const std::string &id_, const std::string &description_)
 
virtual ~ShaderPlugin ()
 
void announce_shader (ItemShader *shader)
 
const std::stringget_id () const
 
const std::stringget_description () const
 
const charget_shader_local_id () const
 
void init_awars (AW_root *awr, const char *awar_prefix_)
 
const charplugin_awar (const char *name) const
 
const chardimension_awar (int dim, const char *name) const
 
bool overlay_marked () const
 
bool overlay_color_groups () const
 
void trigger_reshade_if_active_cb (ReshadeMode mode)
 

Static Public Member Functions

static void setup_changed_cb (AW_root *, ItemFieldShader *shader)
 
static void scan_value_range_cb (AW_window *, ItemFieldShader *shader, int dim)
 

Additional Inherited Members

- Protected Member Functions inherited from ShaderPlugin
const ItemShadershader_plugged_into () const
 

Detailed Description

Definition at line 172 of file field_shader.cxx.

Constructor & Destructor Documentation

ItemFieldShader::ItemFieldShader ( const BoundItemSel itemtype_)
inlineexplicit

Definition at line 287 of file field_shader.cxx.

Member Function Documentation

ShadedValue ItemFieldShader::shade ( GBDATA gb_item) const
inlinevirtual

Implements ShaderPlugin.

Definition at line 293 of file field_shader.cxx.

int ItemFieldShader::get_dimension ( ) const
inlinevirtual

Implements ShaderPlugin.

Definition at line 297 of file field_shader.cxx.

int ItemFieldShader::get_max_dimension ( ) const
inline

Definition at line 301 of file field_shader.cxx.

void ItemFieldShader::init_specific_awars ( AW_root awr)
virtual
bool ItemFieldShader::customizable ( ) const
inlinevirtual

Implements ShaderPlugin.

Definition at line 306 of file field_shader.cxx.

void ItemFieldShader::customize ( AW_root awr)
virtual
char * ItemFieldShader::store_config ( ) const
virtual

Implements ShaderPlugin.

Definition at line 355 of file field_shader.cxx.

References AWT_config_definition::read().

void ItemFieldShader::load_or_reset_config ( const char cfgstr)
virtual

Implements ShaderPlugin.

Definition at line 361 of file field_shader.cxx.

References AWT_config_definition::reset(), and AWT_config_definition::write().

void ItemFieldShader::activate ( bool  on)
inlinevirtual

Implements ShaderPlugin.

Definition at line 312 of file field_shader.cxx.

void ItemFieldShader::setup_changed_cb ( )
inline

Definition at line 318 of file field_shader.cxx.

References CHECK_DIMENSION_CHANGE, and SmartPtr< T, C >::setNull().

Referenced by init_specific_awars(), and setup_changed_cb().

static void ItemFieldShader::setup_changed_cb ( AW_root ,
ItemFieldShader shader 
)
inlinestatic

Definition at line 324 of file field_shader.cxx.

References setup_changed_cb().

void ItemFieldShader::scan_value_range_cb ( int  dim)
static void ItemFieldShader::scan_value_range_cb ( AW_window ,
ItemFieldShader shader,
int  dim 
)
inlinestatic

Definition at line 329 of file field_shader.cxx.

References scan_value_range_cb().


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