FLTK 1.3.4
Fl_Menu_Item.H
Go to the documentation of this file.
1
//
2
// "$Id: Fl_Menu_Item.H 11786 2016-06-18 00:32:18Z greg.ercolano $"
3
//
4
// Menu item header file for the Fast Light Tool Kit (FLTK).
5
//
6
// Copyright 1998-2010 by Bill Spitzak and others.
7
//
8
// This library is free software. Distribution and use rights are outlined in
9
// the file "COPYING" which should have been included with this file. If this
10
// file is missing or damaged, see the license at:
11
//
12
// http://www.fltk.org/COPYING.php
13
//
14
// Please report all bugs and problems on the following page:
15
//
16
// http://www.fltk.org/str.php
17
//
18
19
#ifndef Fl_Menu_Item_H
20
#define Fl_Menu_Item_H
21
22
# include "
Fl_Widget.H
"
23
# include "
Fl_Image.H
"
24
25
# if defined(__APPLE__) && defined(check)
26
# undef check
27
# endif
28
29
// doxygen needs the following line to enable e.g. ::FL_MENU_TOGGLE to link to the enums
31
32
enum
{
// values for flags:
33
FL_MENU_INACTIVE
= 1,
34
FL_MENU_TOGGLE
= 2,
35
FL_MENU_VALUE
= 4,
36
FL_MENU_RADIO
= 8,
37
FL_MENU_INVISIBLE
= 0x10,
38
FL_SUBMENU_POINTER
= 0x20,
39
FL_SUBMENU
= 0x40,