{ ColorAlpha { 255, Color { 192, 192, 192 } }, 1.00f }
};
*/
-char * cursorsBitmaps[] =
+static const char * cursorsBitmaps[] =
{
"<:ecere>cursors/arrow.png",
"<:ecere>cursors/iBeam.png",
{ 5, 0 }
};
-static char * skinBitmaps[SkinBitmap] =
+static const char * skinBitmaps[SkinBitmap] =
{
"<:ecere>elements/areaMinimize.png",
"<:ecere>elements/areaMaximize.png",
#endif
}
- char * ::CursorsBitmaps(uint id, int * hotSpotX, int *hotSpotY, byte ** paletteShades)
+ const char * ::CursorsBitmaps(uint id, int * hotSpotX, int *hotSpotY, byte ** paletteShades)
{
*hotSpotX = cursorsHotSpots[id].x;
*hotSpotY = cursorsHotSpots[id].y;
*ch = Max(*ch, 0);
}
- void ShowDecorations(Font captionFont, Surface surface, char * name, bool active, bool moving)
+ void ShowDecorations(Font captionFont, Surface surface, const char * name, bool active, bool moving)
{
bool isNormal = (state == normal);
int top = 0, border = 0, bottom = 0;
{
ButtonState state = this.buttonState;
Bitmap buttonBitmap = bitmap ? bitmap.bitmap : null;
- char * text = this.text;
+ const char * text = this.text;
int offset = (state == down && this.offset) ? 1 : 0;
Color backColor = background;
int isDefault = this.isDefault;