Changeset 142 for trunk/src/helpers/cctl_chart.c
- Timestamp:
- Feb 21, 2002, 8:24:22 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/cctl_chart.c
r95 r142 281 281 */ 282 282 283 VOID DrawCenteredText(HPS hpsMem,284 PPOINTL pptlMiddlePoint,285 const char *pcsz)283 static VOID DrawCenteredText(HPS hpsMem, 284 PPOINTL pptlMiddlePoint, 285 const char *pcsz) 286 286 { 287 287 if (pcsz) … … 354 354 */ 355 355 356 VOID PaintBarChart(HPS hpsMem,357 PRECTL prclWholeStatic, // in: rectl to paint into358 PCHARTDATA pChartData, // in: chart data359 PCHARTSTYLE pChartStyle, // in: chart style360 double dTotal, // in: sum of all values in pChartData361 LONG lTextColor, // in: description text color (RGB)362 HRGN* paRegions) // out: GPI regions for each data item356 static VOID PaintBarChart(HPS hpsMem, 357 PRECTL prclWholeStatic, // in: rectl to paint into 358 PCHARTDATA pChartData, // in: chart data 359 PCHARTSTYLE pChartStyle, // in: chart style 360 double dTotal, // in: sum of all values in pChartData 361 LONG lTextColor, // in: description text color (RGB) 362 HRGN* paRegions) // out: GPI regions for each data item 363 363 { 364 364 ULONG ulYBottomNow = 0; … … 557 557 */ 558 558 559 VOID PaintPieChart(HPS hpsMem,560 PRECTL prclWholeStatic, // in: rectl to paint into561 PCHARTDATA pChartData, // in: chart data562 PCHARTSTYLE pChartStyle, // in: chart style563 double dTotal, // in: sum of all values in pChartData564 LONG lTextColor, // in: description text color (RGB)565 HRGN* paRegions) // out: GPI regions for each data item559 static VOID PaintPieChart(HPS hpsMem, 560 PRECTL prclWholeStatic, // in: rectl to paint into 561 PCHARTDATA pChartData, // in: chart data 562 PCHARTSTYLE pChartStyle, // in: chart style 563 double dTotal, // in: sum of all values in pChartData 564 LONG lTextColor, // in: description text color (RGB) 565 HRGN* paRegions) // out: GPI regions for each data item 566 566 { 567 567 ULONG ulYBottomNow = 0; … … 1096 1096 */ 1097 1097 1098 VOID CleanupBitmap(PCHARTCDATA pChtCData)1098 static VOID CleanupBitmap(PCHARTCDATA pChtCData) 1099 1099 { 1100 1100 if (pChtCData) … … 1151 1151 */ 1152 1152 1153 VOID CleanupData(PCHARTCDATA pChtCData)1153 static VOID CleanupData(PCHARTCDATA pChtCData) 1154 1154 { 1155 1155 if (pChtCData) … … 1203 1203 */ 1204 1204 1205 VOID SetChartData(HWND hwndChart,1206 PCHARTCDATA pChtCData,1207 PCHARTDATA pcdNew)1205 static VOID SetChartData(HWND hwndChart, 1206 PCHARTCDATA pChtCData, 1207 PCHARTDATA pcdNew) 1208 1208 { 1209 1209 ULONG ul = 0; … … 1274 1274 */ 1275 1275 1276 VOID PaintChart(HWND hwndChart,1277 PCHARTCDATA pChtCData,1278 HPS hps,1279 PRECTL prclPaint)1276 static VOID PaintChart(HWND hwndChart, 1277 PCHARTCDATA pChtCData, 1278 HPS hps, 1279 PRECTL prclPaint) 1280 1280 { 1281 1281 RECTL rclStatic; … … 1451 1451 */ 1452 1452 1453 LONG FindItemFromPoint(PCHARTCDATA pChtCData,1454 LONG lx,1455 LONG ly)1453 static LONG FindItemFromPoint(PCHARTCDATA pChtCData, 1454 LONG lx, 1455 LONG ly) 1456 1456 { 1457 1457 // LONG lRegionFound = -1; // none … … 1492 1492 */ 1493 1493 1494 VOID SendWMControl(HWND hwndChart,1495 MPARAM mp1Mouse,1496 USHORT usNotify,1497 ULONG ulEmphasis, // 0 or 11498 LONG lIndex)1494 static VOID SendWMControl(HWND hwndChart, 1495 MPARAM mp1Mouse, 1496 USHORT usNotify, 1497 ULONG ulEmphasis, // 0 or 1 1498 LONG lIndex) 1499 1499 { 1500 1500 HWND hwndOwner; … … 1524 1524 */ 1525 1525 1526 BOOL SetEmphasis(HWND hwndChart,1527 PCHARTCDATA pChtCData,1528 ULONG ulEmphasis, // in: 0 == selection, 1 == source emphasis1529 MPARAM mp1, // in: mp1 with mouse values or -1 if none1530 LONG lIndex,1531 BOOL fIsContextMenu)1526 static BOOL SetEmphasis(HWND hwndChart, 1527 PCHARTCDATA pChtCData, 1528 ULONG ulEmphasis, // in: 0 == selection, 1 == source emphasis 1529 MPARAM mp1, // in: mp1 with mouse values or -1 if none 1530 LONG lIndex, 1531 BOOL fIsContextMenu) 1532 1532 { 1533 1533 BOOL brc = FALSE;
Note:
See TracChangeset
for help on using the changeset viewer.