Ignore:
Timestamp:
Feb 21, 2002, 8:24:22 PM (23 years ago)
Author:
umoeller
Message:

misc. updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/cctl_chart.c

    r95 r142  
    281281 */
    282282
    283 VOID DrawCenteredText(HPS hpsMem,
    284                       PPOINTL pptlMiddlePoint,
    285                       const char *pcsz)
     283static VOID DrawCenteredText(HPS hpsMem,
     284                             PPOINTL pptlMiddlePoint,
     285                             const char *pcsz)
    286286{
    287287    if (pcsz)
     
    354354 */
    355355
    356 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
     356static 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
    363363{
    364364    ULONG       ulYBottomNow = 0;
     
    557557 */
    558558
    559 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
     559static 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
    566566{
    567567    ULONG       ulYBottomNow = 0;
     
    10961096 */
    10971097
    1098 VOID CleanupBitmap(PCHARTCDATA pChtCData)
     1098static VOID CleanupBitmap(PCHARTCDATA pChtCData)
    10991099{
    11001100    if (pChtCData)
     
    11511151 */
    11521152
    1153 VOID CleanupData(PCHARTCDATA pChtCData)
     1153static VOID CleanupData(PCHARTCDATA pChtCData)
    11541154{
    11551155    if (pChtCData)
     
    12031203 */
    12041204
    1205 VOID SetChartData(HWND hwndChart,
    1206                   PCHARTCDATA pChtCData,
    1207                   PCHARTDATA pcdNew)
     1205static VOID SetChartData(HWND hwndChart,
     1206                         PCHARTCDATA pChtCData,
     1207                         PCHARTDATA pcdNew)
    12081208{
    12091209    ULONG        ul = 0;
     
    12741274 */
    12751275
    1276 VOID PaintChart(HWND hwndChart,
    1277                 PCHARTCDATA pChtCData,
    1278                 HPS hps,
    1279                 PRECTL prclPaint)
     1276static VOID PaintChart(HWND hwndChart,
     1277                       PCHARTCDATA pChtCData,
     1278                       HPS hps,
     1279                       PRECTL prclPaint)
    12801280{
    12811281    RECTL   rclStatic;
     
    14511451 */
    14521452
    1453 LONG FindItemFromPoint(PCHARTCDATA pChtCData,
    1454                        LONG lx,
    1455                        LONG ly)
     1453static LONG FindItemFromPoint(PCHARTCDATA pChtCData,
     1454                              LONG lx,
     1455                              LONG ly)
    14561456{
    14571457    // LONG lRegionFound = -1; // none
     
    14921492 */
    14931493
    1494 VOID SendWMControl(HWND hwndChart,
    1495                    MPARAM mp1Mouse,
    1496                    USHORT usNotify,
    1497                    ULONG ulEmphasis,            // 0 or 1
    1498                    LONG lIndex)
     1494static VOID SendWMControl(HWND hwndChart,
     1495                          MPARAM mp1Mouse,
     1496                          USHORT usNotify,
     1497                          ULONG ulEmphasis,            // 0 or 1
     1498                          LONG lIndex)
    14991499{
    15001500    HWND hwndOwner;
     
    15241524 */
    15251525
    1526 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)
     1526static 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)
    15321532{
    15331533    BOOL brc = FALSE;
Note: See TracChangeset for help on using the changeset viewer.