From 9a1b2f988762967da30e6f4d2575dc2dfe99a21a Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 1 Nov 2006 14:58:17 +0000 Subject: git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@25 4f64403b-2f21-0410-a795-97e2b3489a10 --- xframes/frames.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 xframes/frames.h (limited to 'xframes/frames.h') diff --git a/xframes/frames.h b/xframes/frames.h new file mode 100644 index 0000000..4f765ea --- /dev/null +++ b/xframes/frames.h @@ -0,0 +1,35 @@ +#ifndef _FRAMES_INC +#define _FRAMES_INC + +void PositionFrames(); +void SetCListVisible(BOOL visible); + +void InitFrames(); +void DeinitFrames(); + +// my own alignment enum +typedef enum {AL_TOP, AL_BOTTOM, AL_LEFT, AL_RIGHT} FrameAlign; + +struct FrameListNode { + CLISTFrame frame_data; + HWND hwndParent; + int id; + struct FrameListNode *next; + LONG origStyle, origExStyle; + bool moving, hiding, style_override; + LONG overrideStyle, overrideExStyle; + char alpha; + FrameAlign align; + int width, height; // for frame (frame_data->height is client - which is only used as input from API [addframe, set frame options]) + + int off_x, off_y; // offsets from clist location for non-floating mode + + bool sizing, size_move; +}; + +extern struct FrameListNode *frame_list; + +void SaveFrameState(struct FrameListNode *node); +extern CRITICAL_SECTION cs; + +#endif -- cgit v1.2.3