Go to the source code of this file.
Defines | |
#define | MODULE_LIBS 1 |
#define | ATOL 0.5 |
#define | ARROW_ICON_SIZE 12 |
Typedefs | |
typedef struct tagNUMENTRY | NUMENTRY |
typedef struct tagSTRINGDLGLIST | STRINGDLGLIST |
typedef struct tagSELECTDLGLIST | SELECTDLGLIST |
Functions | |
short | RequestNumEntry (long val, long minval, long maxval, char *title, char *message) |
int | RequestCharString (int len, char *string, char *title) |
void | EnableToolPannels (int what_one, BOOL status) |
BOOL CALLBACK | ItemSelectDlgProc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
int | SelectScrolledItemList (int n, char **list, char *title, BOOL wide, HWND parent) |
void | ActivateAllMenus (HWND hwnd, UINT fuFlags) |
PSTR | FileInPath (PSTR pstrPath) |
void | GetWorldCoords0 (int W, long *x, long *y, long *z, int hpos, int vpos) |
void | GetWindowCoords0 (int W, long x, long y, long z, int *hpos, int *vpos) |
void | GetWorldCoords1 (int W, long *x, long *y, long *z, int hpos, int vpos) |
void | GetWindowCoords1 (int W, long x, long y, long z, int *hpos, int *vpos) |
void | SetUpWindowBoxView (int view) |
void | GetTriview (BOOL reset) |
void | Draw3dCursor (void) |
void | DrawOne3dCursor (HDC hdc, int i) |
void | Move3dCursor (int stor, int xw, int yw) |
void | LoadArrowIcons (void) |
void | DrawArrowIcons (HDC hDC, int id) |
int | CheckWindowIcon (int xi, int yi) |
void | InvertWindowIcon (int i, HWND hwnd) |
int | CheckViewWindowIcon (int xi, int yi) |
void | InvertViewWindowIcon (int i, HWND hwnd) |
void | DeleteArrowIcons (void) |
void | SwapViewBitmaps (void) |
int | Read3Reals (char *title, double *r1, double *r2, double *r3, int list) |
void | SetColour (unsigned char colour[], char *Title, HWND parent) |
void | SetSfxColour (unsigned char colour[], long ID, HWND parent) |
void | scal (double t[4][4], double sx, double sy, double sz) |
void | rotz (double tr[4][4], double ang) |
void | roty (double tr[4][4], double ang) |
void | rotx (double tr[4][4], double ang) |
void | tram (double t[4][4], double dx, double dy, double dz) |
void | m4by4 (double t1[4][4], double t2[4][4], double tr[4][4]) |
void | m4by1 (double t4[4][4], double x, double y, double z, double *xx, double *yy, double *zz) |
void | c4to4 (double tin[4][4], double tout[4][4]) |
void | null_transform (double t[4][4]) |
void | arbitrary_rotate (double angle, point p1, point p2, double t[4][4]) |
void | L_cross (point p1, point p2, point p3, point p4) |
void | PaintDialogBackground (HWND hDlg, HINSTANCE hInst) |
void | UpdateRuler (short m) |
void | SetUpGrid (void) |
void | DrawGrid (HDC hdc[]) |
#define ATOL 0.5 |
#define ARROW_ICON_SIZE 12 |
typedef struct tagNUMENTRY NUMENTRY |
typedef struct tagSTRINGDLGLIST STRINGDLGLIST |
typedef struct tagSELECTDLGLIST SELECTDLGLIST |
BOOL CALLBACK ItemSelectDlgProc | ( | HWND | hwnd, | |
UINT | msg, | |||
WPARAM | wparam, | |||
LPARAM | lparam | |||
) |
Definition at line 158 of file LIBRARY.C.
References CentreDialogOnCursor(), DLG_CHOOSE_CANCEL, DLG_CHOOSE_LIST, DLG_CHOOSE_OK, FALSE, ghinst_main, PaintDialogBackground(), and TRUE.
Referenced by SelectScrolledItemList().
void GetWorldCoords0 | ( | int | W, | |
long * | x, | |||
long * | y, | |||
long * | z, | |||
int | hpos, | |||
int | vpos | |||
) |
Definition at line 467 of file LIBRARY.C.
References NpointerX, NpointerY, NpointerZ, TRIFRONT, TRIRIGHT, TRITOP, TVcentreX, TVcentreY, TVcentreZ, WindowCentreX, WindowCentreY, and WindowPixelSize.
Referenced by SetUpWindowBoxView().
void GetWindowCoords0 | ( | int | W, | |
long | x, | |||
long | y, | |||
long | z, | |||
int * | hpos, | |||
int * | vpos | |||
) |
Definition at line 486 of file LIBRARY.C.
References ATOL, double, TRIFRONT, TRIRIGHT, TRITOP, TVcentreX, TVcentreY, TVcentreZ, WindowCentreX, WindowCentreY, and WindowPixelSize.
Referenced by SetUpWindowBoxView().
void GetWorldCoords1 | ( | int | W, | |
long * | x, | |||
long * | y, | |||
long * | z, | |||
int | hpos, | |||
int | vpos | |||
) |
Definition at line 501 of file LIBRARY.C.
References NpointerX, NpointerY, NpointerZ, TRIFRONT, TRIRIGHT, TRITOP, TVcentreX, TVcentreY, TVcentreZ, WindowCentreX, WindowCentreY, and WindowPixelSize.
Referenced by SetUpWindowBoxView().
void GetWindowCoords1 | ( | int | W, | |
long | x, | |||
long | y, | |||
long | z, | |||
int * | hpos, | |||
int * | vpos | |||
) |
Definition at line 520 of file LIBRARY.C.
References ATOL, double, TRIFRONT, TRIRIGHT, TRITOP, TVcentreX, TVcentreY, TVcentreZ, WindowCentreX, WindowCentreY, and WindowPixelSize.
Referenced by SetUpWindowBoxView().