ColorFile.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. /* $XConsortium: ColorFile.h /main/4 1995/10/30 13:08:30 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: ColorFile.h
  28. **
  29. ** Project: DT 3.0
  30. **
  31. ** This file contains function definitions for the corresponding .c
  32. ** file
  33. **
  34. **
  35. ** (c) Copyright Hewlett-Packard Company, 1990.
  36. **
  37. **
  38. **
  39. ****************************************************************************
  40. ************************************<+>*************************************/
  41. #ifndef _colorfile_h
  42. #define _colorfile_h
  43. /* External variables */
  44. #define DT_PAL_DIR "/.dt/palettes/"
  45. /*
  46. extern char *DT_PAL_DIR = "/.dt/palettes/";
  47. */
  48. /* External Interface */
  49. extern void ReadPalette( char *directory,
  50. char *in_filename,
  51. #if NeedWidePrototypes
  52. int length );
  53. #else
  54. short length );
  55. #endif
  56. extern void AddSystemPath( void );
  57. extern void AddDirectories( char *text );
  58. extern void AddHomePath( void );
  59. #if NeedWidePrototypes
  60. extern Boolean ReadPaletteLoop( int startup );
  61. #else
  62. extern Boolean ReadPaletteLoop( Boolean startup );
  63. #endif
  64. extern void BackdropDialog( Widget parent) ;
  65. extern void CheckWorkspace( void ) ;
  66. extern void restoreBackdrop( Widget shell, XrmDatabase db) ;
  67. extern void saveBackdrop( int fd) ;
  68. extern void CheckFileType( void );
  69. #endif /* _colorfile_h */
  70. /* DON'T ADD ANYTHING AFTER THIS #endif */