Changeset 142 for trunk/src/helpers/dialog.c
- Timestamp:
- Feb 21, 2002, 8:24:22 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/dialog.c
r137 r142 230 230 #define PM_GROUP_SPACING_TOP 16 231 231 232 APIRET ProcessTable(PTABLEDEF pTableDef,233 const CONTROLPOS *pcpTable,234 PROCESSMODE ProcessMode,235 PDLGPRIVATE pDlgData);232 static APIRET ProcessTable(PTABLEDEF pTableDef, 233 const CONTROLPOS *pcpTable, 234 PROCESSMODE ProcessMode, 235 PDLGPRIVATE pDlgData); 236 236 237 237 /* … … 241 241 */ 242 242 243 VOID SetDlgFont(PCONTROLDEF pControlDef,244 PDLGPRIVATE pDlgData)243 static VOID SetDlgFont(PCONTROLDEF pControlDef, 244 PDLGPRIVATE pDlgData) 245 245 { 246 246 LONG lPointSize = 0; … … 307 307 */ 308 308 309 APIRET CalcAutoSizeText(PCONTROLDEF pControlDef,310 BOOL fMultiLine, // in: if TRUE, multiple lines311 ULONG ulWidth, // in: proposed width of control312 PSIZEL pszlAuto, // out: computed size313 PDLGPRIVATE pDlgData)309 static APIRET CalcAutoSizeText(PCONTROLDEF pControlDef, 310 BOOL fMultiLine, // in: if TRUE, multiple lines 311 ULONG ulWidth, // in: proposed width of control 312 PSIZEL pszlAuto, // out: computed size 313 PDLGPRIVATE pDlgData) 314 314 { 315 315 APIRET arc = NO_ERROR; … … 373 373 */ 374 374 375 APIRET CalcAutoSize(PCONTROLDEF pControlDef,376 ULONG ulWidth, // in: proposed width of control377 PSIZEL pszlAuto, // out: computed size378 PDLGPRIVATE pDlgData)375 static APIRET CalcAutoSize(PCONTROLDEF pControlDef, 376 ULONG ulWidth, // in: proposed width of control 377 PSIZEL pszlAuto, // out: computed size 378 PDLGPRIVATE pDlgData) 379 379 { 380 380 APIRET arc = NO_ERROR; … … 476 476 */ 477 477 478 APIRET ColumnCalcSizes(PCOLUMNDEF pColumnDef,479 PROCESSMODE ProcessMode, // in: PROCESS_1_CALC_SIZES or PROCESS_3_CALC_FINAL_TABLE_SIZES480 PDLGPRIVATE pDlgData)478 static APIRET ColumnCalcSizes(PCOLUMNDEF pColumnDef, 479 PROCESSMODE ProcessMode, // in: PROCESS_1_CALC_SIZES or PROCESS_3_CALC_FINAL_TABLE_SIZES 480 PDLGPRIVATE pDlgData) 481 481 { 482 482 APIRET arc = NO_ERROR; … … 602 602 */ 603 603 604 APIRET ColumnCalcPositions(PCOLUMNDEF pColumnDef,605 PROWDEF pOwningRow, // in: current row from ProcessRow606 PLONG plX, // in/out: PROCESS_4_CALC_POSITIONS only607 PDLGPRIVATE pDlgData)604 static APIRET ColumnCalcPositions(PCOLUMNDEF pColumnDef, 605 PROWDEF pOwningRow, // in: current row from ProcessRow 606 PLONG plX, // in/out: PROCESS_4_CALC_POSITIONS only 607 PDLGPRIVATE pDlgData) 608 608 { 609 609 APIRET arc = NO_ERROR; … … 689 689 */ 690 690 691 APIRET ColumnCreateControls(PCOLUMNDEF pColumnDef,692 PDLGPRIVATE pDlgData)691 static APIRET ColumnCreateControls(PCOLUMNDEF pColumnDef, 692 PDLGPRIVATE pDlgData) 693 693 { 694 694 APIRET arc = NO_ERROR; … … 977 977 */ 978 978 979 APIRET ProcessColumn(PCOLUMNDEF pColumnDef,980 PROWDEF pOwningRow, // in: current row from ProcessRow981 PROCESSMODE ProcessMode, // in: processing mode (see ProcessAll)982 PLONG plX, // in/out: PROCESS_4_CALC_POSITIONS only983 PDLGPRIVATE pDlgData)979 static APIRET ProcessColumn(PCOLUMNDEF pColumnDef, 980 PROWDEF pOwningRow, // in: current row from ProcessRow 981 PROCESSMODE ProcessMode, // in: processing mode (see ProcessAll) 982 PLONG plX, // in/out: PROCESS_4_CALC_POSITIONS only 983 PDLGPRIVATE pDlgData) 984 984 { 985 985 APIRET arc = NO_ERROR; … … 1127 1127 */ 1128 1128 1129 APIRET ProcessRow(PROWDEF pRowDef,1130 PTABLEDEF pOwningTable, // in: current table from ProcessTable1131 PROCESSMODE ProcessMode, // in: processing mode (see ProcessAll)1132 PLONG plY, // in/out: current y position (decremented)1133 PDLGPRIVATE pDlgData)1129 static APIRET ProcessRow(PROWDEF pRowDef, 1130 PTABLEDEF pOwningTable, // in: current table from ProcessTable 1131 PROCESSMODE ProcessMode, // in: processing mode (see ProcessAll) 1132 PLONG plY, // in/out: current y position (decremented) 1133 PDLGPRIVATE pDlgData) 1134 1134 { 1135 1135 APIRET arc = NO_ERROR; … … 1204 1204 */ 1205 1205 1206 APIRET ProcessTable(PTABLEDEF pTableDef,1207 const CONTROLPOS *pcpTable, // in: table position with PROCESS_4_CALC_POSITIONS1208 PROCESSMODE ProcessMode, // in: processing mode (see ProcessAll)1209 PDLGPRIVATE pDlgData)1206 static APIRET ProcessTable(PTABLEDEF pTableDef, 1207 const CONTROLPOS *pcpTable, // in: table position with PROCESS_4_CALC_POSITIONS 1208 PROCESSMODE ProcessMode, // in: processing mode (see ProcessAll) 1209 PDLGPRIVATE pDlgData) 1210 1210 { 1211 1211 APIRET arc = NO_ERROR; … … 1297 1297 */ 1298 1298 1299 APIRET ProcessAll(PDLGPRIVATE pDlgData,1300 PROCESSMODE ProcessMode)1299 static APIRET ProcessAll(PDLGPRIVATE pDlgData, 1300 PROCESSMODE ProcessMode) 1301 1301 { 1302 1302 APIRET arc = NO_ERROR; … … 1353 1353 */ 1354 1354 1355 APIRET CreateColumn(PROWDEF pCurrentRow,1356 BOOL fIsNestedTable,1357 PVOID pvDefinition, // in: either PTABLEDEF or PCONTROLDEF1358 PCOLUMNDEF *ppColumnDef) // out: new COLUMNDEF1355 static APIRET CreateColumn(PROWDEF pCurrentRow, 1356 BOOL fIsNestedTable, 1357 PVOID pvDefinition, // in: either PTABLEDEF or PCONTROLDEF 1358 PCOLUMNDEF *ppColumnDef) // out: new COLUMNDEF 1359 1359 { 1360 1360 APIRET arc = NO_ERROR; … … 1399 1399 */ 1400 1400 1401 VOID FreeTable(PTABLEDEF pTable)1401 static VOID FreeTable(PTABLEDEF pTable) 1402 1402 { 1403 1403 // for each table, clean up the rows … … 1457 1457 */ 1458 1458 1459 APIRET Dlg0_Init(PDLGPRIVATE *ppDlgData,1460 PCSZ pcszControlsFont)1459 static APIRET Dlg0_Init(PDLGPRIVATE *ppDlgData, 1460 PCSZ pcszControlsFont) 1461 1461 { 1462 1462 PDLGPRIVATE pDlgData; … … 1480 1480 */ 1481 1481 1482 APIRET Dlg1_ParseTables(PDLGPRIVATE pDlgData,1483 PCDLGHITEM paDlgItems, // in: definition array1484 ULONG cDlgItems) // in: array item count (NOT array size)1482 static APIRET Dlg1_ParseTables(PDLGPRIVATE pDlgData, 1483 PCDLGHITEM paDlgItems, // in: definition array 1484 ULONG cDlgItems) // in: array item count (NOT array size) 1485 1485 { 1486 1486 APIRET arc = NO_ERROR; … … 1651 1651 */ 1652 1652 1653 APIRET Dlg2_CalcSizes(PDLGPRIVATE pDlgData)1653 static APIRET Dlg2_CalcSizes(PDLGPRIVATE pDlgData) 1654 1654 { 1655 1655 APIRET arc; … … 1686 1686 */ 1687 1687 1688 APIRET Dlg3_PositionAndCreate(PDLGPRIVATE pDlgData,1689 HWND *phwndFocusItem) // out: item to give focus to1688 static APIRET Dlg3_PositionAndCreate(PDLGPRIVATE pDlgData, 1689 HWND *phwndFocusItem) // out: item to give focus to 1690 1690 { 1691 1691 APIRET arc = NO_ERROR; … … 1735 1735 */ 1736 1736 1737 VOID Dlg9_Cleanup(PDLGPRIVATE *ppDlgData)1737 static VOID Dlg9_Cleanup(PDLGPRIVATE *ppDlgData) 1738 1738 { 1739 1739 PDLGPRIVATE pDlgData;
Note:
See TracChangeset
for help on using the changeset viewer.