UI.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. * File: UI.h
  26. *
  27. * Project: CDE
  28. *
  29. * Description: This file contains defines and declarations needed
  30. * by UI.c
  31. *
  32. * (c) Copyright 1993, 1994 Hewlett-Packard Company
  33. * (c) Copyright 1993, 1994 International Business Machines Corp.
  34. * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  35. * (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of Novell, Inc.
  36. *
  37. ****************************************************************************/
  38. #ifndef _ui_h
  39. #define _ui_h
  40. #define SWITCH_HIGH_BUTTON_WIDTH 124
  41. #define SWITCH_HIGH_BUTTON_HEIGHT 27
  42. #define SWITCH_LOW_BUTTON_WIDTH 66
  43. #define SWITCH_LOW_BUTTON_HEIGHT 22
  44. #define ICON_HIGH_WIDTH 64
  45. #define ICON_MEDIUM_WIDTH 58
  46. #define ICON_LOW_WIDTH 40
  47. #define UP_ARROW_IMAGE_NAME "Fpup"
  48. #define DOWN_ARROW_IMAGE_NAME "Fpdown"
  49. #define UP_MONITOR_ARROW_IMAGE_NAME "FpupY"
  50. #define DOWN_MONITOR_ARROW_IMAGE_NAME "FpdownY"
  51. #define BLANK_ARROW_IMAGE_NAME "FpblnkA"
  52. #define DROPZONE_IMAGE_NAME "Fpdropz"
  53. #define INDICATOR_OFF_IMAGE_NAME "Fpindc"
  54. #define INDICATOR_ON_IMAGE_NAME "FpindcY"
  55. #define MINIMIZE_NORMAL_IMAGE_NAME "Fpmin"
  56. #define MINIMIZE_SELECTED_IMAGE_NAME "FpminY"
  57. #define MENU_NORMAL_IMAGE_NAME "Fpmenu"
  58. #define MENU_SELECTED_IMAGE_NAME "FpmenuY"
  59. #define HANDLE_IMAGE_NAME "Fphandl"
  60. #define DEFAULT_IMAGE_NAME "Fpdeflt"
  61. extern void ToggleDefaultControl (ControlData *, SubpanelData *, ControlData *);
  62. extern String GetIconName (String, unsigned int);
  63. extern void AddSubpanel (ControlData * control_data);
  64. extern void DeleteSubpanelControl(SubpanelData *subpanel, ControlData *control_data);
  65. extern void DeleteSubpanel(ControlData *control_data);
  66. extern void UpdateSwitchGeometry (BoxData * box_data);
  67. extern void FrontPanelCreate (Widget toplevel);
  68. #endif /* _ui_h */
  69. /* DON"T ADD ANYTHING AFTER THIS #endif */