All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Config.h File Reference

Configuration flags for the Color module of TerraLib. More...

#include "../Config.h"

Go to the source code of this file.

Macros

#define TE_COLOR_MODULE_NAME   "te.color"
 
#define TE_OPAQUE   255
 For an RGBA color this is the value of the alpha-channel for totally opaque. More...
 
#define TE_TRANSPARENT   0
 For an RGBA color this is the value of the alpha-channel for totally transparent. More...
 
Internationalization Defines

Flags for TerraLib code internationalization.

#define TE_COLOR_TEXT_DOMAIN   "tecolor"
 It contains the name of the text domain used in the translation of messages in the TerraLib Color module. More...
 
#define TE_COLOR_TEXT_DOMAIN_DIR   "locale"
 It contains the translation catalog directory. More...
 
#define TR_COLOR(message)   TR(message, TE_COLOR_TEXT_DOMAIN)
 It marks a string in order to get translated. This is a special mark used in the Color module of TerraLib. More...
 
#define TR_PLURAL_COLOR(message1, message2, n)   TR_PLURAL(TE_COLOR_TEXT_DOMAIN, message1, message2, n)
 This mark can be used when you have a plural phrase to be translated. This is a special mark used in the Color module of TerraLib. More...
 
DLL/LIB Module

Flags for building TerraLib as a DLL or as a Static Library

#define TECOLOREXPORT
 You can use this macro in order to export/import classes and functions from this module. More...
 

Detailed Description

Configuration flags for the Color module of TerraLib.

Definition in file Config.h.

Macro Definition Documentation

#define TE_COLOR_MODULE_NAME   "te.color"

Definition at line 32 of file Config.h.

Referenced by te::color::Module::Module(), and te::color::Module::~Module().

#define TE_COLOR_TEXT_DOMAIN   "tecolor"

It contains the name of the text domain used in the translation of messages in the TerraLib Color module.

Definition at line 58 of file Config.h.

Referenced by te::color::Module::Module().

#define TE_COLOR_TEXT_DOMAIN_DIR   "locale"

It contains the translation catalog directory.

Definition at line 65 of file Config.h.

Referenced by te::color::Module::Module().

#define TECOLOREXPORT

You can use this macro in order to export/import classes and functions from this module.

Note
If you want to compile TerraLib as DLL in Windows, remember to insert TECOLORDLL into the project's list of defines.
If you want to compile TerraLib as an Static Library under Windows, remember to insert the TECOLORSTATIC flag into the project list of defines.

Definition at line 111 of file Config.h.

#define TR_COLOR (   message)    TR(message, TE_COLOR_TEXT_DOMAIN)

It marks a string in order to get translated. This is a special mark used in the Color module of TerraLib.

Definition at line 72 of file Config.h.

Referenced by te::color::ColorSchemeCatalogManager::disconnect(), te::color::Module::finalize(), te::color::Module::initialize(), and te::color::ColorSchemeCatalogManager::insert().

#define TR_PLURAL_COLOR (   message1,
  message2,
 
)    TR_PLURAL(TE_COLOR_TEXT_DOMAIN, message1, message2, n)

This mark can be used when you have a plural phrase to be translated. This is a special mark used in the Color module of TerraLib.

Definition at line 79 of file Config.h.