|
VSTGUI
4.2
Graphical User Interface Framework not only for VST plugins
|
a nine-part tiled bitmap More...
Inheritance diagram for CNinePartTiledBitmap:
Collaboration diagram for CNinePartTiledBitmap:Classes | |
| struct | PartOffsets |
Public Member Functions | |
| CNinePartTiledBitmap (const CResourceDescription &desc, const PartOffsets &offsets) | |
| CNinePartTiledBitmap (IPlatformBitmap *platformBitmap, const PartOffsets &offsets) | |
| ~CNinePartTiledBitmap () | |
| virtual void | draw (CDrawContext *context, const CRect &rect, const CPoint &offset=CPoint(0, 0), float alpha=1.f) |
| virtual bool | isTypeOf (IdStringPtr s) const |
| virtual CBaseObject * | newCopy () const |
Part Offsets | |
| void | setPartOffsets (const PartOffsets &partOffsets) |
| const PartOffsets & | getPartOffsets () const |
CBitmap Methods | |
| CCoord | getWidth () const |
| get the width of the image More... | |
| CCoord | getHeight () const |
| get the height of the image More... | |
| bool | isLoaded () const |
| check if image is loaded More... | |
| const CResourceDescription & | getResourceDescription () const |
| IPlatformBitmap * | getPlatformBitmap () const |
| void | setPlatformBitmap (IPlatformBitmap *bitmap) |
Reference Counting Methods | |
| virtual void | forget () |
| decrease refcount and delete object if refcount == 0 More... | |
| virtual void | remember () |
| increase refcount More... | |
| virtual int32_t | getNbReference () const |
| get refcount More... | |
Message Methods | |
| virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Protected Types | |
| enum | { kPartTopLeft, kPartTop, kPartTopRight, kPartLeft, kPartCenter, kPartRight, kPartBottomLeft, kPartBottom, kPartBottomRight, kPartCount } |
Protected Member Functions | |
| virtual void | drawParts (CDrawContext *pContext, const CRect &rect, float alpha=1.f) |
| virtual void | calcPartRects (const CRect &inBitmapRect, const PartOffsets &inPartOffset, CRect *outRect) |
| virtual void | drawPart (CDrawContext *inContext, const CRect &inSourceRect, const CRect &inDestRect, float inAlpha=1.f) |
Protected Attributes | |
| PartOffsets | offsets |
| CResourceDescription | resourceDesc |
| IPlatformBitmap * | platformBitmap |
a nine-part tiled bitmap
A nine-part tiled bitmap is tiled in nine parts which are drawing according to its part offsets:
|------------------------------------------------------------------------------------------------| | Top-Left Corner | <---- Top Edge ----> | Top-Right Corner | |--------------------|-----------------------------------------------------|---------------------| | ^ | ^ | ^ | | | | | | | | | Left Edge | <---- Center ----> | Right Edge | | | | | | | | | v | v | v | |--------------------|-----------------------------------------------------|---------------------| | Bottom-Left Corner | <---- Bottom Edge ----> | Bottom-Right Corner | |------------------------------------------------------------------------------------------------|
|
protected |
| CNinePartTiledBitmap | ( | const CResourceDescription & | desc, |
| const PartOffsets & | offsets | ||
| ) |
| CNinePartTiledBitmap | ( | IPlatformBitmap * | platformBitmap, |
| const PartOffsets & | offsets | ||
| ) |
| ~CNinePartTiledBitmap | ( | ) |
|
protectedvirtual |
Here is the caller graph for this function:
|
virtual |
|
protectedvirtual |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtualinherited |
decrease refcount and delete object if refcount == 0
|
inherited |
get the height of the image
Here is the caller graph for this function:
|
inlinevirtualinherited |
get refcount
|
inline |
|
inlineinherited |
Here is the caller graph for this function:
|
inlineinherited |
|
inherited |
get the width of the image
Here is the caller graph for this function:
|
inlineinherited |
check if image is loaded
Here is the call graph for this function:
|
inlinevirtual |
Reimplemented from CBitmap.
|
inlinevirtual |
Reimplemented from CBitmap.
|
inlinevirtualinherited |
Reimplemented in CView, GenericStringListDataBrowserSource, CDataBrowser, CScrollbar, CRockerSwitch, CScrollView, CViewContainer, CAnimationSplashScreen, CRowColumnView, UIDescriptionViewSwitchController, CShadowViewContainer, and CTooltipSupport.
Here is the caller graph for this function:
|
inlinevirtualinherited |
increase refcount
Here is the caller graph for this function:
|
inline |
|
inherited |
Here is the caller graph for this function:
|
protected |
|
protectedinherited |
|
protectedinherited |