version 1.69, 2000/05/31 07:30:58
|
version 1.70, 2000/05/31 07:54:17
|
Line 669 Document doc;
|
Line 669 Document doc;
|
View view; |
View view; |
#endif |
#endif |
{ |
{ |
# ifndef _WINDOWS |
#ifndef _WINDOWS |
CHAR_T bufMenu[MAX_LENGTH]; |
CHAR_T bufMenu[MAX_LENGTH]; |
int i; |
int i; |
# endif /* !_WINDOWS */ |
#endif /* !_WINDOWS */ |
ThotBool textFile; |
ThotBool textFile; |
|
|
textFile = (DocumentTypes[doc] == docText || |
textFile = (DocumentTypes[doc] == docText || |
Line 688 View view;
|
Line 688 View view;
|
TtaGetPrintCommand (PPrinter); |
TtaGetPrintCommand (PPrinter); |
PageSize = TtaGetPrintParameter (PP_PaperSize); |
PageSize = TtaGetPrintParameter (PP_PaperSize); |
|
|
# ifndef _WINDOWS |
#ifndef _WINDOWS |
TtaNewSheet (BasePrint + FormPrint, TtaGetViewFrame (doc, view), |
TtaNewSheet (BasePrint + FormPrint, TtaGetViewFrame (doc, view), |
TtaGetMessage (LIB, TMSG_LIB_PRINT), |
TtaGetMessage (LIB, TMSG_LIB_PRINT), |
1, TtaGetMessage (AMAYA, AM_BUTTON_PRINT), FALSE, 2, 'L', D_CANCEL); |
1, TtaGetMessage (AMAYA, AM_BUTTON_PRINT), FALSE, 2, 'L', D_CANCEL); |
Line 754 View view;
|
Line 754 View view;
|
TtaRedrawMenuEntry (BasePrint + PrintOptions, 1, NULL, -1, FALSE); |
TtaRedrawMenuEntry (BasePrint + PrintOptions, 1, NULL, -1, FALSE); |
TtaRedrawMenuEntry (BasePrint + PrintOptions, 2, NULL, -1, FALSE); |
TtaRedrawMenuEntry (BasePrint + PrintOptions, 2, NULL, -1, FALSE); |
} |
} |
# else /* _WINDOWS */ |
#else /* _WINDOWS */ |
CreatePrintDlgWindow (TtaGetViewFrame (doc, view), PSdir); |
CreatePrintDlgWindow (TtaGetViewFrame (doc, view), PSdir); |
# endif /* _WINDOWS */ |
#endif /* _WINDOWS */ |
} |
} |
|
|
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |