#include "Chart.h" void TChart::Init(int aX, int aY, int aW, int aH, int OwnerX, int OwnerY, u32 aColor, TBvStyle aBevelOuter){ unsigned short Left,Right,Top,Bottom; Bound.SetBySize(aX+OwnerX, aY+OwnerY, aW, aH); Content.SetBySize(aX+OwnerX, aY+OwnerY, aW, aH); RectDiagram.SetBySize(Content.Left + aW /3, aY+OwnerY +1, aW/3, 50); Color = aColor; for(Left=0; Left 1)return; for(i=0; i 1)return; for(i=0; i 1)return; vName[Inx].x = aX + Content.Left; vName[Inx].y = aY + Content.Top; }