Rogue Wave Views |
Rogue Wave Views Documentation Home |
Graphic. More...
#include <ilviews/dataccess/gadgets/labelbmp.h>
Public Member Functions | |
IliLabeledBitmap (IlvDisplay *display, IlvPos x, IlvPos y, const char *name, const char *bmpName, IlvPalette *palette=0) | |
This constructor creates a graphic object to display a bitmap and a label. More... | |
const char * | getBitmapName () const |
Returns the file name of the bitmap. More... | |
const char * | getLabelName () const |
Returns the label text. More... | |
void | setBitmapName (const char *name) |
Sets the file name of the bitmap. More... | |
void | setLabelName (const char *label) |
Sets the label text. More... | |
Graphic.
Library: dbgadget
The IliLabeledBitmap
class defines a graphic object to display a picture (or a fill rectangle) with a label (if the text is not null).
IliLabeledBitmap::IliLabeledBitmap | ( | IlvDisplay * | display, |
IlvPos | x, | ||
IlvPos | y, | ||
const char * | name, | ||
const char * | bmpName, | ||
IlvPalette * | palette = 0 |
||
) |
This constructor creates a graphic object to display a bitmap and a label.
display | The display. |
x | The x position. |
y | The y position. |
name | The label. |
bmpName | The file name of the bitmap. If NULL , a filled rectangle is displayed. |
palette | The palette. |
const char* IliLabeledBitmap::getBitmapName | ( | ) | const |
Returns the file name of the bitmap.
const char* IliLabeledBitmap::getLabelName | ( | ) | const |
Returns the label text.
void IliLabeledBitmap::setBitmapName | ( | const char * | name | ) |
Sets the file name of the bitmap.
name | The file name. |
void IliLabeledBitmap::setLabelName | ( | const char * | label | ) |
Sets the label text.
label | The label text. |
© Copyright 2015, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.