WmWinConf.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /*
  24. * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  25. * ALL RIGHTS RESERVED
  26. */
  27. /*
  28. * Motif Release 1.2
  29. */
  30. /*
  31. * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */
  32. extern void AdjustPos (int *pX, int *pY, unsigned int oWidth,
  33. unsigned int oHeight, unsigned int nWidth,
  34. unsigned int nHeight);
  35. extern unsigned int ButtonStateBit (unsigned int button);
  36. extern void CancelFrameConfig (ClientData *pcd);
  37. extern void CheckEatButtonRelease (ClientData *pcd, XEvent *pev);
  38. extern Boolean CheckVisualPlace (ClientData *pCD, int tmpX, int tmpY);
  39. extern void CompleteFrameConfig (ClientData *pcd, XEvent *pev);
  40. extern Cursor ConfigCursor (int frame_part);
  41. extern void DoFeedback (ClientData *pcd, int x, int y, unsigned int width,
  42. unsigned int height, unsigned long newStyle,
  43. Boolean resizing);
  44. extern Boolean DoGrabs (Window grab_win, Cursor cursor, unsigned int pmask,
  45. Time grabTime, ClientData *pCD, Boolean alwaysGrab);
  46. extern void DrawOutline (int x, int y, unsigned int width,
  47. unsigned int height);
  48. extern void EatButtonRelease (unsigned int releaseButtons);
  49. extern void FixFrameValues (ClientData *pcd, int *pfX, int *pfY,
  50. unsigned int *pfWidth, unsigned int *pfHeight,
  51. Boolean resizing);
  52. extern void FlashOutline (int x, int y, unsigned int width,
  53. unsigned int height);
  54. extern void ForceOnScreen (int screen, int *pX, int *pY);
  55. extern void GetClipDimensions (ClientData *pCD, Boolean fromRoot);
  56. extern void GetConfigEvent (Display *display, Window window,
  57. unsigned long mask, int curX, int curY,
  58. int oX, int oY, unsigned oWidth,
  59. unsigned oHeight, XEvent *pev);
  60. extern Window GrabWin (ClientData *pcd, XEvent *pev);
  61. extern void HandleClientFrameMove (ClientData *pcd, XEvent *pev);
  62. extern void HandleClientFrameResize (ClientData *pcd, XEvent *pev);
  63. extern Boolean HandleResizeKeyPress (ClientData *pcd, XEvent *pev);
  64. extern void MoveOpaque (ClientData *pcd, int x, int y,
  65. unsigned int width, unsigned int height);
  66. extern void MoveOutline (int x, int y, unsigned int width,
  67. unsigned int height);
  68. extern void ProcessNewConfiguration (ClientData *pCD, int x, int y,
  69. unsigned int width, unsigned int height,
  70. Boolean clientRequest);
  71. extern void ReGrabPointer (Window grab_win, Time grabTime);
  72. extern void SetOutline (XSegment *pOutline, int x, int y, unsigned int width,
  73. unsigned int height, int fatness);
  74. extern void SetPointerPosition (int newX, int newY, int *actualX,
  75. int *actualY);
  76. extern Boolean SetPointerResizePart (ClientData *pcd, XEvent *pev);
  77. extern Boolean StartClientMove (ClientData *pcd, XEvent *pev);
  78. extern void StartClientResize (ClientData *pcd, XEvent *pev);
  79. extern Boolean StartResizeConfig (ClientData *pcd, XEvent *pev);
  80. extern int ResizeType (ClientData *pcd, XEvent *pev);
  81. extern void UndoGrabs (void);
  82. extern void HandleMarqueeSelect (WmScreenData *pSD, XEvent *pev);
  83. extern void StartMarqueeSelect(WmScreenData *pSD, XEvent *pev);
  84. extern void UpdateMarqueeSelectData (WmScreenData *pSD);
  85. extern Boolean HandleMarqueeKeyPress (WmScreenData *pSD, XEvent *pev);
  86. extern void WindowOutline (int x, int y, unsigned int width,
  87. unsigned int height);