|
|
GLASSERT( numRGBA >= numSegment ); | GLASSERT( numRGBA >= numSegment ); |
// GLASSERT( numSegment >= numLine ); | // GLASSERT( numSegment >= numLine ); |
} | } |
void KrEncoder::Save(); |
void Save(); |
| |
KrResourceVault* GetVault() { return &vault; } | KrResourceVault* GetVault() { return &vault; } |
| |
|
|
void Clear( KrImNode* root ); // delete the entire tree | void Clear( KrImNode* root ); // delete the entire tree |
| |
// Recursive hit test walk. | // Recursive hit test walk. |
bool KrImageTree::HitTestRec( KrImNode* node, int x, int y, int flags, GlDynArray<KrImage*>* outputArray, int windowIndex ); |
bool HitTestRec( KrImNode* node, int x, int y, int flags, GlDynArray<KrImage*>* outputArray, int windowIndex ); |
| |
KrImNode* root; // The root to position the window | KrImNode* root; // The root to position the window |
KrImNode* offsetRoot; // The root as returned to the client | KrImNode* offsetRoot; // The root as returned to the client |
|
|
/** if width of the resource is greater then its height then makes | /** if width of the resource is greater then its height then makes |
a horizontal, else makes a vertical progress bar | a horizontal, else makes a vertical progress bar |
*/ | */ |
KrProgress::KrProgress (int width, |
KrProgress (int width, |
int height, | int height, |
KrRGBA FillColor, | KrRGBA FillColor, |
KrRGBA ChangeColor, | KrRGBA ChangeColor, |
|
|
/** if width of the resource is greater then its height then makes | /** if width of the resource is greater then its height then makes |
a horizontal, else makes a vertical progress bar | a horizontal, else makes a vertical progress bar |
*/ | */ |
KrProgress::KrProgress (int width, |
KrProgress (int width, |
int height, | int height, |
const KrScheme& scheme); | const KrScheme& scheme); |
| |