File: frontend.h

package info (click to toggle)
shogivar 1.55b-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 6,216 kB
  • ctags: 1,279
  • sloc: ansic: 10,375; sh: 4,109; makefile: 613
file content (45 lines) | stat: -rw-r--r-- 1,207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

INT MsgBox(char *msg, int buttons, char *title);
void DoEvents();
char *InputBoxSTR(STRING prompt, STRING title, STRING def);
void *LoadPicture(STRING filename);
char *Cleanse(char *s);
int StartTime();
int GetTime();
void Sleep(int ms);
void DisplayError(char *message, int error);
void UpdateCaptions(void);
void DrawBoard();
void InitBoard();
void UnloadImages(void);

void LoadStart();
void UnloadStart();
void LoadAddPieces();
void UnloadAddPieces();
void LoadBoard();
void UnloadBoard();
void LoadPieceHelp();
void UnloadPieceHelp();
void UnloadRulesHelp();
void BoardPopDown();

void MoveObject(int redraw, OBJECT *piece, int x, int y);
void DrawCircle(int x, int y, int r, int fg, int fill, int style);
void DrawLine(int x1, int y1, int x2, int y2, int color, char *options);
void StartClockTimer(long millisec);
void ScheduleDelayedEvent(DelayedEventCallback cb, long millisec);

void MarkMenuItem(char *menuRef, int mark);
void EnableNamedMenuItem(char *menuRef, int enable);
void TagsPopUp(char *text, char *title);
int FileNamePopUpWrapper(
     char *label,
     char *def,
     char *filter,
     void (*proc)(),
     Boolean pathFlag,
     char *openMode,
     char *name,
     FILE **fp
);