Sindbad~EG File Manager
void norm_to_point(const RECT* r, double dx, double dy, POINT* p);
void create_title_windows(HWND hwnd);
void draw_xhairs(HDC,POINT);
void xor_tool(HWND hwnd, HDC hdc, graph* g);
typedef struct
{ BOOL down;
int g; /* the first graph containing start */
POINT start;
POINT last;
POINT tool_last; /* needed for saving crosshairs location when
moving title */
HDC hdc;
int current_graph;
int ngraphs; /* needed for Next/Previous to work right */
BOOL move_title;
int tool; /* 0, BUTTON_HAND, BUTTON_RECT, BUTTON_XHAIR, or BUTTON_CENTERED_RECT */
RECT graph_rect;
RECT title_rect[MAXGRAPHS];
HWND title_window[MAXGRAPHS];
wbitmap wb;
int update; /* zero means process WM_PAINT by using wb */
/* 2 means definitely recompute the title size. */
HPALETTE hCreatedPalette;
HPALETTE hOldPalette;
POINT ps; /* point slope window upper left corner plus 1, if nonzero */
} Grfchild_State;
typedef struct
/* state of title window
*/
{ graph* graph;
int xclient, yclient; // window size in pixels
int xbbt, ybbt; // size of bblocked term in pixels
int xscroll, yscroll; // scroll position
int xinc, yinc; // scroll increments
int xscrollbars, yscrollbars; // whether scrollbars are needed
} Titlewin_State;
HWND CreatePointSlope(HWND hwnd, PGRAPHDATA pGraphData);
void DestroyGraphContextMenu(void);
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists