Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::StyleItem Class Referenceabstract

#include <MStyleItem.h>

Inheritance diagram for Maria::StyleItem:
Maria::CompositeStyleItem Maria::ValueStyleItem

Public Types

enum class  StyleState { Active , Inactive , Suppress }
 

Public Member Functions

 StyleItem (StyleState itemState=StyleState::Active)
 
void SetItemState (StyleState itemState)
 
StyleState GetItemState () const
 
virtual std::shared_ptr< StyleItemResolveStyle (const ItemContext &context, const StyleItem *currentItem)=0
 
virtual std::shared_ptr< StyleItemClone () const =0
 
virtual std::string GetValue (const std::string &key, const std::string &defaultValue)=0
 
virtual double GetDoubleValue (const std::string &key, double defaultValue)=0
 
virtual int GetIntValue (const std::string &key, int defaultValue)=0
 
virtual bool GetBoolValue (const std::string &key, bool defaultValue)=0
 
virtual STK::RGBA GetColorValue (const std::string &key, STK::RGBA defaultValue)=0
 

Static Public Member Functions

static StyleState ParseStyleState (const std::string &str)
 

Protected Attributes

StyleState _itemState
 

Detailed Description

StyleItem - Short description. Detailed description.


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