You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
607 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. * Turbo Vision - Version 2.0
  3. *
  4. * Copyright (c) 1994 by Borland International
  5. * All Rights Reserved.
  6. *
  7. Modified by Robert H�hne to be used for RHIDE.
  8. *
  9. *
  10. */
  11. #if defined( Uses_TMenu ) && !defined( __TMenu )
  12. #define __TMenu
  13. class TMenuItem;
  14. class TMenu
  15. {
  16. public:
  17. TMenu() : items(0), deflt(0) {};
  18. TMenu( TMenuItem& itemList )
  19. { items = &itemList; deflt = &itemList; }
  20. TMenu( TMenuItem& itemList, TMenuItem& TheDefault )
  21. { items = &itemList; deflt = &TheDefault; }
  22. ~TMenu();
  23. TMenuItem *items;
  24. TMenuItem *deflt;
  25. };
  26. #endif // Uses_TMenu