123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- /*
- * CDE - Common Desktop Environment
- *
- * Copyright (c) 1993-2012, The Open Group. All rights reserved.
- *
- * These libraries and programs are free software; you can
- * redistribute them and/or modify them under the terms of the GNU
- * Lesser General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * These libraries and programs are distributed in the hope that
- * they will be useful, but WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these libraries and programs; if not, write
- * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
- * Floor, Boston, MA 02110-1301 USA
- */
- /*
- * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
- * ALL RIGHTS RESERVED
- */
- /*
- * Motif Release 1.2
- */
- /*
- * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */
- extern void AdjustPos (int *pX, int *pY, unsigned int oWidth,
- unsigned int oHeight, unsigned int nWidth,
- unsigned int nHeight);
- extern unsigned int ButtonStateBit (unsigned int button);
- extern void CancelFrameConfig (ClientData *pcd);
- extern void CheckEatButtonRelease (ClientData *pcd, XEvent *pev);
- extern Boolean CheckVisualPlace (ClientData *pCD, int tmpX, int tmpY);
- extern void CompleteFrameConfig (ClientData *pcd, XEvent *pev);
- extern Cursor ConfigCursor (int frame_part);
- extern void DoFeedback (ClientData *pcd, int x, int y, unsigned int width,
- unsigned int height, unsigned long newStyle,
- Boolean resizing);
- extern Boolean DoGrabs (Window grab_win, Cursor cursor, unsigned int pmask,
- Time grabTime, ClientData *pCD, Boolean alwaysGrab);
- extern void DrawOutline (int x, int y, unsigned int width,
- unsigned int height);
- extern void EatButtonRelease (unsigned int releaseButtons);
- extern void FixFrameValues (ClientData *pcd, int *pfX, int *pfY,
- unsigned int *pfWidth, unsigned int *pfHeight,
- Boolean resizing);
- extern void FlashOutline (int x, int y, unsigned int width,
- unsigned int height);
- extern void ForceOnScreen (int screen, int *pX, int *pY);
- extern void GetClipDimensions (ClientData *pCD, Boolean fromRoot);
- extern void GetConfigEvent (Display *display, Window window,
- unsigned long mask, int curX, int curY,
- int oX, int oY, unsigned oWidth,
- unsigned oHeight, XEvent *pev);
- extern Window GrabWin (ClientData *pcd, XEvent *pev);
- extern void HandleClientFrameMove (ClientData *pcd, XEvent *pev);
- extern void HandleClientFrameResize (ClientData *pcd, XEvent *pev);
- extern Boolean HandleResizeKeyPress (ClientData *pcd, XEvent *pev);
- extern void MoveOpaque (ClientData *pcd, int x, int y,
- unsigned int width, unsigned int height);
- extern void MoveOutline (int x, int y, unsigned int width,
- unsigned int height);
- extern void ProcessNewConfiguration (ClientData *pCD, int x, int y,
- unsigned int width, unsigned int height,
- Boolean clientRequest);
- extern void ReGrabPointer (Window grab_win, Time grabTime);
- extern void SetOutline (XSegment *pOutline, int x, int y, unsigned int width,
- unsigned int height, int fatness);
- extern void SetPointerPosition (int newX, int newY, int *actualX,
- int *actualY);
- extern Boolean SetPointerResizePart (ClientData *pcd, XEvent *pev);
- extern Boolean StartClientMove (ClientData *pcd, XEvent *pev);
- extern void StartClientResize (ClientData *pcd, XEvent *pev);
- extern Boolean StartResizeConfig (ClientData *pcd, XEvent *pev);
- extern int ResizeType (ClientData *pcd, XEvent *pev);
- extern void UndoGrabs (void);
- extern void HandleMarqueeSelect (WmScreenData *pSD, XEvent *pev);
- extern void StartMarqueeSelect(WmScreenData *pSD, XEvent *pev);
- extern void UpdateMarqueeSelectData (WmScreenData *pSD);
- extern Boolean HandleMarqueeKeyPress (WmScreenData *pSD, XEvent *pev);
- extern void WindowOutline (int x, int y, unsigned int width,
- unsigned int height);
|