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

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 Documentation

#define MODULE_LIBS   1

Definition at line 3 of file LIBRARY.C.

#define ATOL   0.5

Definition at line 456 of file LIBRARY.C.

Referenced by GetWindowCoords0(), and GetWindowCoords1().

#define ARROW_ICON_SIZE   12

Definition at line 670 of file LIBRARY.C.

Referenced by DrawArrowIcons(), and InvertWindowIcon().


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 
)


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