home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwwin / xopmenu.h_ / xopmenu.bin
Text File  |  1995-11-14  |  2KB  |  65 lines

  1. #if !defined(_POPMENU_H)
  2. #define _POPMENU_H
  3.  
  4. /**********************************************************************
  5.  *
  6.  * File :     popmenu.h
  7.  *
  8.  * Abstract : The interface of some functions which handle the pop-up
  9.  *            right mouse button menus used by the viewer.
  10.  *
  11.  *            This application had been written to be compatible with
  12.  *            both the fixed and floating-point versions of the
  13.  *            RenderWare library, i.e., it uses the macros CREAL,
  14.  *            INT2REAL, RAdd, RDiv, RSub etc. If your application is
  15.  *            intended for the floating-point version of the library
  16.  *            only these macros are not necessary.
  17.  *
  18.  *            Please note that this application is intended for
  19.  *            demonstration purposes only. No support will be
  20.  *            provided for this code and it comes with no warranty.
  21.  *
  22.  **********************************************************************
  23.  *
  24.  * This file is a product of Criterion Software Ltd.
  25.  *
  26.  * This file is provided as is with no warranties of any kind and is
  27.  * provided without any obligation on Criterion Software Ltd. or
  28.  * Canon Inc. to assist in its use or modification.
  29.  *
  30.  * Criterion Software Ltd. will not, under any
  31.  * circumstances, be liable for any lost revenue or other damages arising
  32.  * from the use of this file.
  33.  *
  34.  * Copyright (c) 1994, 1995 Criterion Software Ltd.
  35.  * All Rights Reserved.
  36.  *
  37.  * RenderWare is a trademark of Canon Inc.
  38.  *
  39.  **********************************************************************/
  40.  
  41. /**********************************************************************
  42.  *
  43.  * Exported Types.
  44.  *
  45.  **********************************************************************/
  46.  
  47. extern HMENU LightMenu;
  48. extern HMENU ClumpMenu;
  49. extern HMENU BackgroundMenu;
  50.  
  51. /**********************************************************************
  52.  *
  53.  * Functions.
  54.  *
  55.  **********************************************************************/
  56.  
  57. extern BOOL CreatePopupMenus(void);
  58. extern void DestroyPopupMenus(void);
  59. extern void MeasurePopupMenuLabel(HDC dc, char *label, SIZE *size);
  60. extern void DrawPopupMenuLabel(HDC dc, RECT *rect, char *label);
  61.  
  62. /**********************************************************************/
  63.  
  64. #endif /* !defined(_POPMENU_H) */
  65.