home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
PRG
/
ListPrint.sit
/
ListPrint
/
ListPrint.h
< prev
next >
Wrap
Text File
|
1995-02-24
|
3KB
|
104 lines
//******************************************************************************
//
// Macintosh プログラム作成の勉強
// This Program is lesson for Macintohs.
// 1994/ 1/26 By SAGAWA KAZUYOSHI
// 1994/ 4/26 By SAGAWA KAZUYOSHI
// 1994/ 9/20 By SAGAWA KAZUYOSHI
// 1994/11/12 By SAGAWA KAZUYOSHI
//
//******************************************************************************
#include <PrintTraps.h>
/**************************************************************************
*
* 外部ワーク宣言
*
**************************************************************************/
extern WindowRecord wRecord; /**/
extern EventRecord event; /* イベント取得用 */
//extern WindowPtr masterWindow;
extern WindowPtr CurrentWindow;
extern int fontItemNow, sizeItemNow, tabsItemNow;
extern ControlHandle hControl[controlNumber]; /* コントロール部品ハンドル値の保存用 */
extern ListInfoData listData; /* スクローリングリスト情報データ */
extern THPrint hPrint; /* プリントレコード */
extern Handle hFileIn; /* ファイル読み込み用ハンドル */
extern TEHandle TEHtab; /* タブ値(テキストエディットハンドル) */
extern Rect destRect; /* 文字列を表示する枠をRectで指定 */
extern Rect viewRect; /* TextEditを表示する枠をRectで指定 */
extern CiconInfoData cIconData[]; /* カラーアイコン情報データ */
extern int linesInFolder;
extern ControlHandle vScroll;
extern Cursor waitCursor;
////extern MenuHandle mystyleMenus[]; /**/
/**************************************************************************
*
* 関数プロトタイプ宣言
*
**************************************************************************/
void ListPrintScreenDisp (void);
void ListPrint_MacInitial (void);
void ListPrint_SetSystemCursor(int);
int ListPrint_MainEvent (void);
int ListPrint_DoKey (void);
void DoMenu (long);
int ListPrint_window_SetUp(void);
void CheckFontMenu (int);
void CheckSizeMenu (int);
void ActiveFileItem (short, int);
void ActiveStyleItem (short, int);
void ActiveSourceItem (short, int);
void DoButtonHilite (void);
void TrashWindow (WindowPtr);
void DoAction (void);
void DoTab (char);
void DoScrollList (char);
void DoContent (WindowPtr);
void DoContentPopUpMenu (ControlHandle);
void DoContentCheckBox (ControlHandle);
void DoContentButton (ControlHandle);
void DoContentColorIconButton(void);
void DoDrag (WindowPtr);
void DoGrow (WindowPtr);
void DoGoAway (WindowPtr, Point);
void DoZoom (WindowPtr, Point, int);
void ValidGrowArea (Rect *);
void DoOpenCommand (void);
void DoPageSetupCommand (void);
void DoPrintCommand (void);
void DoQuitCommand (void);
void DoAddDialog (void);
void ScrollListSetUp (void);
void ScrollListSetCell (short, Str255, ListHandle);
int ScrollListDelCell (ListInfoData *);
void ScrollListAddCell (Str255, ListInfoData *);
void SetTabsFontDialog (void);
void DrawDefault (DialogPtr, short);
int PrintDoc (Handle, Str63);
int PrintDataEdit (long, Ptr, Ptr);
void TabMoveDrawText (Ptr, int, int);
void LineNumberDrawText (int);
void SelectFileSetUp (FSSpec, ListInfoData *);
void SelectFileDelete (int, ListInfoData *);
void SelectFileAllDelete (ListInfoData *);
Handle ReadFileData (FSSpec);