LIBRARY.C File Reference

Go to the source code of this file.

Defines

#define MODULE_LIBS   1
#define ATOL   0.5
#define ARROW_ICON_SIZE   12
#define WINDOW_ID_XSIZE   48
#define WINDOW_ID_YSIZE   20

Typedefs

typedef struct tagNUMENTRY NUMENTRY
typedef struct tagSTRINGDLGLIST STRINGDLGLIST
typedef struct tagSELECTDLGLIST SELECTDLGLIST

Functions

short RequestNumEntry (short val, short minval, short maxval, char *title, char *message)
int RequestCharString (int len, char *string, char *title, HWND parent)
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, 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 reset_mod_maxview (short option)
void get_centre (short option, point p, point TVp, BOOL all)
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)
void DeleteArrowIcons (void)
void SwapViewBitmaps (void)
void UpdateRuler (short m)
void SetUpGrid (void)
void DrawGridInOne (HDC hdc, int i)
BOOL SetColour (unsigned char colour[], char *Title, HWND parent)
BOOL 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 mv4by1 (double t4[4][4], vector v1, vector v2)
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 rotate_round_vector (double angle, vector v, double t[4][4])
void L_cross (point p1, point p2, point p3, point p4)
void CentreDialogOnCursor (HWND hwnd)
void CentreDialogOnScreen (HWND hWnd)
void PaintDialogBackground (HWND hDlg, HINSTANCE hInst)
void AppendFileExtension (char *filename, char *ext)
void Zoom2 (double fraction)
void Zoom (int command, int redraw)

Variables

long LastToolVertex


Define Documentation

#define MODULE_LIBS   1

Definition at line 10 of file LIBRARY.C.

#define ATOL   0.5

Definition at line 293 of file LIBRARY.C.

#define ARROW_ICON_SIZE   12

Definition at line 593 of file LIBRARY.C.

#define WINDOW_ID_XSIZE   48

Definition at line 594 of file LIBRARY.C.

#define WINDOW_ID_YSIZE   20

Definition at line 595 of file LIBRARY.C.


Typedef Documentation

typedef struct tagNUMENTRY NUMENTRY

typedef struct tagSTRINGDLGLIST STRINGDLGLIST

typedef struct tagSELECTDLGLIST SELECTDLGLIST


Function Documentation

BOOL CALLBACK ItemSelectDlgProc ( HWND  hwnd,
UINT  msg,
WPARAM  wparam,
LPARAM  lparam 
)

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 
)


Variable Documentation

Definition at line 210 of file 3DSCON1.C.


Generated on Sun Apr 27 14:20:15 2014 for OpenFX by  doxygen 1.5.6