Logo Search packages:      
Sourcecode: bbpager version File versions  Download package

Public Member Functions | Protected Member Functions | Private Attributes

BaseResource Class Reference

Inheritance diagram for BaseResource:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BaseResource (bt::Application &_app, unsigned int _screen, const std::string &filename)

Protected Member Functions

std::string getColorName (const bt::Color &color)
void loadMenuStyle (void)
bool readBool (const std::string &rname, const std::string &rclass, bool default_val)
bt::Color readColor (const std::string &rname, const std::string &rclass, const std::string &alt_rname, const std::string &alt_rclass, const std::string &default_color)
bt::Color readColor (const std::string &rname, const std::string &rclass, const std::string &default_color)
bt::Font readFont (const std::string &rname, const std::string &rclass, const std::string &alt_rname, const std::string &alt_rclass)
int readInt (const std::string &rname, const std::string &rclass, int default_val)
std::string readString (const std::string &rname, const std::string &rclass, const std::string &alt_rname, const std::string &alt_rclass, const std::string &default_val)
std::string readString (const std::string &rname, const std::string &rclass, const std::string &default_val)
bt::Texture readTexture (const std::string &rname, const std::string &rclass, const std::string &alt_rname, const std::string &alt_rclass, const std::string &default_texture, const std::string &default_color, const std::string &default_colorTo)
bt::Texture readTexture (const std::string &rname, const std::string &rclass, const std::string &default_texture, const std::string &default_color, const std::string &default_colorTo)
unsigned int readUInt (const std::string &rname, const std::string &rclass, unsigned int default_val)
unsigned int readUInt (const std::string &rname, const std::string &rclass, const std::string &alt_rname, const std::string &alt_rclass, unsigned int default_val)

Private Attributes

bt::Application & app
bt::Resource bt_resource
int colors_per_channel
const bt::Display & display
bool image_dither
unsigned int screen

Detailed Description

Definition at line 32 of file Baseresource.h.


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

Generated by  Doxygen 1.6.0   Back to index