#include <ilviews/base/list.h>
#include <ilviews/base/array.h>
#include <ilviews/base/geometry/IlvBaseGeometry.h>
#include <ilviews/base/stylist.h>
#include <ilviews/base/font/IlvFontManager.h>
#include <EASTL/functional.h>
#include <EASTL/unique_ptr.h>
#include <EASTL/map.h>
#include <ilviews/base/resource.h>
#include <ilviews/base/event.h>
#include <ilviews/base/iostream.h>
#include <ilviews/base/port.h>
Classes | |
class | IlvDisplay |
Display class. More... | |
class | IlvTransformer |
Geometric transformation class. More... | |
Macros | |
#define | IlvDefaultMarkerSize |
#define | IlvMarkerCircle |
#define | IlvMarkerCross |
#define | IlvMarkerDiamond |
#define | IlvMarkerFilledCircle |
#define | IlvMarkerFilledDiamond |
#define | IlvMarkerFilledSquare |
#define | IlvMarkerFilledTriangle |
#define | IlvMarkerPlus |
#define | IlvMarkerSquare |
#define | IlvMarkerTriangle |
Typedefs | |
typedef void(* | IlvDisplayCallback) (IlAny userArg) |
typedef void(* | IlvDisplayConfigCallback) (IlvDisplayConfig *config) |
typedef IlUShort | IlvMarkerType |
typedef SystemWindowType | IlvSystemView |
A system-dependent type that holds a window. More... | |
typedef IlDouble | IlvTransfoParam |
The type of the internal values of all IlvTransformers . More... | |
Enumerations | |
enum | IlvLookStyle { IlvOtherLook, IlvMotifLook, IlvWindowsLook, IlvWindows95Look, IlvWindowsXPLook, IlvVXLook, IlvCSSLook } |
Predefined positioning and direction values. More... | |
Functions | |
void | IlvFatalError (const char *format,...) |
Outputs an error message. More... | |
const char * | IlvGetDefaultHome () |
Retrieves the default Rogue Wave Views Home directory. More... | |
const char * | IlvGetMessage (IlvDisplay *display, const char *label) |
Alias for IlvDisplay::getMessage() More... | |
void | IlvPrint (const char *format,...) |
Outputs a message. More... | |
void | IlvSetDefaultHome (const char *defaultHome) |
Sets the default Rogue Wave Views Home directory. More... | |
IlvLocaleExtension * | IlvSetLocale (const char *locale=0) |
Sets the language of the application according to the locale environment. More... | |
void | IlvWarning (const char *format,...) |
Outputs a warning message. More... | |
Library: xviews or winviews or mviews (mutually exclusive)
#define IlvDefaultMarkerSize |
The default size of an IlvMarker
.
#define IlvMarkerCircle |
A cross sign.
IlvMarkerType
. #define IlvMarkerCross |
A plus sign.
IlvMarkerType
. #define IlvMarkerDiamond |
A stroked diamond.
IlvMarkerType
. #define IlvMarkerFilledCircle |
A filled circle.
IlvMarkerType
. #define IlvMarkerFilledDiamond |
A filled diamond.
IlvMarkerType
. #define IlvMarkerFilledSquare |
A filled square.
IlvMarkerType
. #define IlvMarkerFilledTriangle |
A filled triangle.
IlvMarkerType
. #define IlvMarkerPlus |
A plus sign.
IlvMarkerType
. #define IlvMarkerSquare |
A stroked square.
IlvMarkerType
. #define IlvMarkerTriangle |
A stroked triangle.
IlvMarkerType
. IlvDisplayCallback |
This type defines the prototype of the functions used as callbacks when the look or the language are dynamically changed.
userArg | The user argument that was provided when the callback was set. |
IlvDisplayConfigCallback |
This type defines the prototype of the function that can be used as a display configuration callback, which is used in the IlvDisplay
constructors.
config | The display configuration created by the constructor of IlvDisplay . |
The different aspects that an IlvMarker
can take.
A system-dependent type that holds a window.
IlvSystemView
to a HWND
to get the real Windows handle of that view. IlvSystemView
to a Window
to get the real X11 Window identifier. The type of the internal values of all IlvTransformers
.
The IlvTransformer
API is based on the IlvTransfoParam
type, which stores floating point data. The manner in which data is stored depends on the machine.
enum IlvLookStyle |
Predefined positioning and direction values.
This enum type defines the look and feel used by graphic objects in an IlvDisplay
instance. By default, only one style is available in a Rogue Wave Views program, and that is the standard style of the current computer system.
To use more than one style in your program, use the corresponding compiler flag, or add the corresponding style header file directive to your implementation file (before any other #include
directive).
The header files are ilviews/motif.h
, ilviews/windows.h
, ilviews/win95.h
, ilviews/winxp.h
, ilviews/vx.h
and ilviews/css.h
.
IlvDisplay::setCurrentLook()
, IlvDisplay::setLookFeelHandler()
, IlvDisplay::getLookFeelHandler()
, IlvDisplay::getCurrentLook()
. void IlvFatalError | ( | const char * | format, |
... | |||
) |
Outputs an error message.
This function calls the fatal()
member function of the error handler that is installed, if there is one.
The default behavior outputs the message on the standard output stream (or the output TTY
on Windows).
format | A formatting string that is interpreted as the regular C function printf . This function expects its parameters in the same way as printf does (function with a variable number of arguments). |
IlvError
, IlvWarning
, IlvPrint
, IlvGetErrorHandler
, IlvSetErrorHandler
. extern "C"
function. const char* IlvGetDefaultHome | ( | ) |
Retrieves the default Rogue Wave Views Home directory.
This function allows you to check the setting of ILVHOME
, which is used as the base directory of many default resource files.
ILVHOME
value. For Rogue Wave Views <X.Y>, the default value is "C:\Program Files\Rogue Wave\Views X.Y"
on Windows systems, and "/usr/local/roguewave/viewsXY"
on Unix systems. extern "C"
function. IlvSetDefaultHome()
. const char* IlvGetMessage | ( | IlvDisplay * | display, |
const char * | label | ||
) |
Alias for IlvDisplay::getMessage()
display | The display. |
label | The message identifier. |
IlvDisplay::getMessage()
. void IlvPrint | ( | const char * | format, |
... | |||
) |
Outputs a message.
This function outputs the message on the standard output stream (or the output TTY
on Windows).
format | A formatting string that is interpreted as the regular C function printf . This function expects its parameters in the same way as printf does (function with a variable number of arguments). |
IlvFatalError
, IlvWarning
. extern "C"
function. void IlvSetDefaultHome | ( | const char * | defaultHome | ) |
Sets the default Rogue Wave Views Home directory.
This global function sets the setting of the default ILVHOME
value to a copy of the string defaultHome.
You may want to force this setting if you want to provide a reasonable default value for a specific application without requesting the user to set the environment variable ILVHOME
or the display resource Home
.
defaultHome | The new default Home setting. |
extern "C"
function. IlvGetDefaultHome()
. IlvLocaleExtension* IlvSetLocale | ( | const char * | locale = 0 | ) |
Sets the language of the application according to the locale environment.
IlvSetLocale()
must be called before creating an instance of IlvDisplay
. The implementation of this function is platform dependent but is usually carried out by calling setlocale(LC_ALL, "");
.
Please check the User's Manual for a list of supported locales.
locale | A platform dependent string specifying the locale. If 0 , the default user locale is used. |
0
. extern "C"
function. void IlvWarning | ( | const char * | format, |
... | |||
) |
Outputs a warning message.
This function calls the warning()
member function of the error handler that is installed, if there is one.
The default behavior outputs the message on the standard output stream (or the output TTY
on Windows).
format | A formatting string that is interpreted as the regular C function printf . This function expects its parameters in the same way as printf does (function with a variable number of arguments). |
IlvError
, IlvFatalError
, IlvPrint
, IlvGetErrorHandler
, IlvSetErrorHandler
. extern "C"
function.