2
0

WmPanelP.h 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. **********************************************************************
  25. **
  26. ** File: WmPanelP.h
  27. **
  28. ** Project: HP/Motif Workspace Manager (dtwm)
  29. **
  30. ** Description:
  31. ** -----------
  32. ** This file contains private declarations for the Front Panel
  33. ** subsystem.
  34. **
  35. **
  36. **********************************************************************
  37. **
  38. ** (c) Copyright 1992 HEWLETT-PACKARD COMPANY
  39. ** ALL RIGHTS RESERVED
  40. **
  41. **********************************************************************
  42. **********************************************************************
  43. **
  44. **
  45. **********************************************************************
  46. ******************************<+>*************************************/
  47. #ifndef _WmPanelP_h
  48. #define _WmPanelP_h
  49. #include <Xm/XmP.h>
  50. #include "WmGlobal.h"
  51. #include "DataBaseLoad.h"
  52. typedef struct PanelData * WmPanelistObject;
  53. #define O_Panel(o) panel.form
  54. #include <time.h>
  55. #if defined(_AIX)
  56. #include <sys/time.h> /* needed for timeval */
  57. #endif
  58. typedef struct
  59. {
  60. String pchResName; /* match res_name member of WM_CLASS prop */
  61. Widget wControl; /* control associated with client */
  62. Window winParent; /* window to reparent client to */
  63. Position x, y; /* position of client in winParent */
  64. Dimension width, height; /* required size of client */
  65. ClientData *pCD; /* filled in when managed, else NULL */
  66. } WmFpEmbeddedClientData, *WmFpEmbeddedClientList;
  67. typedef struct _WmFpPushRecallClientData
  68. {
  69. String pchResName; /* match res_name member of WM_CLASS prop */
  70. Widget wControl; /* control associated with client */
  71. ClientData * pCD; /* filled in when managed, else NULL */
  72. struct timeval tvTimeout; /* Time for client to start */
  73. } WmFpPushRecallClientData, *WmFpPushRecallClientList;
  74. void WmSubpanelPosted (Display *, Window);
  75. Widget WmPanelistAllocate(Widget, XtPointer, XtPointer);
  76. void WmPanelistShow (Widget);
  77. void WmPanelistSetWorkspace (Widget, int);
  78. void WmFrontPanelSetBusy (Boolean);
  79. Widget WmPanelistWindowToSubpanel (Display *, Window);
  80. void WmFrontPanelSessionSaveData ();
  81. #endif /* _WmPanelP_h */
  82. /* DON'T ADD ANYTHING AFTER THIS #endif */