fltk  1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
  Fossies Dox: fltk-1.3.5-source.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl_Menu.cxx File Reference
#include <FL/Fl.H>
#include <FL/Fl_Menu_Window.H>
#include <FL/Fl_Menu_.H>
#include <FL/fl_draw.H>
#include <stdio.h>
#include "flstring.h"
Include dependency graph for Fl_Menu.cxx:

Go to the source code of this file.

Classes

class  menutitle
 
class  menuwindow
 
struct  menustate
 

Macros

#define LEADING   4
 
#define INITIAL_STATE   0
 
#define PUSH_STATE   1
 
#define DONE_STATE   2
 
#define MENU_PUSH_STATE   3
 

Functions

static const Fl_Menu_Itemnext_visible_or_not (const Fl_Menu_Item *m)
 
static void setitem (const Fl_Menu_Item *i, int m, int n)
 
static void setitem (int m, int n)
 
static int forward (int menu)
 
static int backward (int menu)
 

Variables

static const Fl_Menu_button =0
 
char fl_draw_shortcut
 
static menustatep =0
 

Macro Definition Documentation

◆ DONE_STATE

#define DONE_STATE   2

Definition at line 592 of file Fl_Menu.cxx.

◆ INITIAL_STATE

#define INITIAL_STATE   0

Definition at line 590 of file Fl_Menu.cxx.

◆ LEADING

#define LEADING   4

Definition at line 146 of file Fl_Menu.cxx.

◆ MENU_PUSH_STATE

#define MENU_PUSH_STATE   3

Definition at line 593 of file Fl_Menu.cxx.

◆ PUSH_STATE

#define PUSH_STATE   1

Definition at line 591 of file Fl_Menu.cxx.

Function Documentation

◆ backward()

◆ forward()

◆ next_visible_or_not()

static const Fl_Menu_Item* next_visible_or_not ( const Fl_Menu_Item m)
static

◆ setitem() [1/2]

static void setitem ( const Fl_Menu_Item i,
int  m,
int  n 
)
inlinestatic

◆ setitem() [2/2]

static void setitem ( int  m,
int  n 
)
static

Variable Documentation

◆ button

◆ fl_draw_shortcut

char fl_draw_shortcut

Definition at line 36 of file fl_draw.cxx.

Referenced by Fl_Menu_Item::draw(), expand_text_(), and Fl_Menu_Item::measure().

◆ p

menustate* p =0
static

Definition at line 606 of file Fl_Menu.cxx.

Referenced by Fl_Check_Browser::add(), Fl_Type::add(), Fl::add_idle(), add_modifier_key(), align_widget_cb(), attribute(), backward(), Fl::belowmouse(), call_idle(), Fl_Menu_Item::callback(), Fl_Widget::callback(), cc_cancel_cb(), cc_ok_cb(), Fl_GTK_File_Chooser::changed_output_type(), Fl_Check_Browser::check_all(), Fl_Check_Browser::check_none(), Fl_Check_Browser::checked(), Fl_Type::class_name(), Fl_Check_Browser::clear(), Fl_Pixmap::color_average(), copy_trunc(), create_bmp(), Fl_GTK_File_Chooser::custom_gtk_filter_function(), cut_cb(), Fl_Image::data(), Fl_Widget::default_callback(), delete_cb(), delete_children(), Fl_Pixmap::desaturate(), Fl_Browser_::deselect(), Fl_Input_::drawtext(), Fl_Help_View::end_selection(), enumcbw(), Fl_Input_::expand(), expand_text_(), Fl_Input_::expandpos(), external_editor_timer(), extract_dir_from_path(), fghTeapot(), Fl_File_Chooser::fileNameCB(), fill_window(), FLDropTarget::fillCurrentDragData(), Fl_File_Chooser::filter(), Fl_Help_View::find(), Fl_Check_Browser::find_item(), fixvisible(), fl_add_new(), fl_convert_pixmap(), fl_draw(), fl_draw_pixmap(), fl_draw_symbol(), Fl_File_Chooser::Fl_File_Chooser(), Fl_File_Chooser::fl_file_chooser(), Fl_File_Icon::Fl_File_Icon(), fl_filename_ext(), fl_filename_match(), fl_filename_name(), fl_font_word(), Fl_GIF_Image::Fl_GIF_Image(), Fl_GTK_File_Chooser::fl_gtk_chooser_wrapper(), fl_handle(), fl_make_path(), fl_make_path_for_file(), fl_measure(), fl_parse_color(), fl_read_image(), fl_scandir(), fl_shortcut_label(), fl_show_file_selector(), fl_utf8back(), fl_utf8decode(), fl_utf8froma(), fl_utf8fwd(), fl_utf8test(), fl_utf8toa(), fl_utf8toUtf16(), fl_utf8towc(), fl_xpixel(), Fl::focus(), forward(), Fl_GTK_File_Chooser::free_pair(), Fl_Browser_::full_height(), Fl_Help_View::get_align(), Fl_Help_View::get_attr(), get_font_list(), Fl::get_font_name(), Fl::get_mouse(), goto_source_dir(), grid_cb(), guides_cb(), gz_avail(), gz_intmax(), Fl_Tile::handle(), menuwindow::handle(), Fl_Browser_::handle(), Fl_Window::handle(), Fl_Input::handle(), Fl_Tree::handle(), Fl_Window_Type::handle(), Fl_Input_::handle_mouse(), Fl_Input_::handletext(), Fl::has_check(), Fl::has_idle(), Fl_Window::hide(), Fl_Widget::hide(), Fl_Window::hotspot(), hotspot_cb(), innards(), Fl_Menu_Item::insert(), Fl_Tree_Item::insert_above(), Fl_Type::is_in_class(), Fl_Decl_Type::is_public(), Fl_File_Browser::item_draw(), Fl_File_Browser::item_height(), Fl_File_Browser::item_width(), jpeg_gen_optimal_table(), jpeg_make_c_derived_tbl(), jpeg_make_d_derived_tbl(), labeltype_cb(), Fl_TooltipBox::layout(), Fl_Input_::line_end(), Fl_Input_::line_start(), Fl_Check_Browser::lineno(), Fl_Browser::lineposition(), Fl_File_Browser::load(), Fl_Tree::load(), main(), Fl_Function_Type::make(), Fl_Code_Type::make(), Fl_CodeBlock_Type::make(), Fl_Decl_Type::make(), Fl_Data_Type::make(), Fl_DeclBlock_Type::make(), Fl_Comment_Type::make(), Fl_Class_Type::make(), Fl_Widget_Type::make(), Fl_Window_Type::make(), Fl_Widget_Class_Type::make(), Fl_Menu_Item_Type::make(), Fl_Input_::minimal_update(), Fl_Text_Display::move_left(), Fl_Text_Display::move_right(), Fl_Window_Type::moveallchildren(), Fl_Type::msgnum(), Fl_Tree_Item::next(), Fl_Data_Type::open(), Fl_Class_Type::open(), Fl_Window_Type::open(), output_uni2charset_dense(), output_uni2charset_sparse(), Fl_Text_Buffer::outputfile(), Fl_Text_Display::overstrike(), Fl_Widget::parent(), Fl::paste(), png_check_keyword(), png_do_compose(), png_do_quantize(), png_formatted_warning(), png_handle_as_unknown(), png_read_filter_row_paeth_1byte_pixel(), png_read_filter_row_paeth_multibyte_pixel(), png_set_quantize(), png_warning_parameter(), png_warning_parameter_signed(), png_warning_parameter_unsigned(), png_write_find_filter(), Fl_Tile::position(), Fl_Input_::position(), Fl_Class_Type::prefix(), Fl_Tree_Item::prev(), Fl_Tree_Item::prev_visible(), Fl_File_Chooser::preview(), print_load(), Fl_Menu_Item::pulldown(), quote_char(), read_children(), Fl_Widget_Type::read_fdesign(), read_win_rectangle(), Fl_Check_Browser::remove(), Fl::remove_check(), Fl::remove_handler(), Fl_File_Chooser::remove_hidden_files(), Fl::remove_idle(), Fl::remove_system_handler(), Fl::remove_timeout(), Fl::repeat_timeout(), Fl_Input_::replace(), Fl_Widget_Type::resizable(), Fl_Tile::resize(), Fl_Group::resize(), reveal_in_browser(), select_all_cb(), select_none_cb(), Fl_Browser_::select_only(), selection_changed(), Fl_Pixmap::set_data(), setitem(), Fl_Window::shape_alpha_(), Fl_Window::shape_bitmap_(), Fl_Input::shift_position(), Fl_Input::shift_up_down_position(), Fl_GTK_File_Chooser::show(), Fl_Window::show(), Fl_Group::sizes(), skip(), Fl_Valuator::softclamp(), storestring(), subclassname(), Fl_Check_Browser::text(), traverse_to_gl_subwindows(), unique_id(), Fl_Input_::up_down_position(), use_registry(), Fl_Type::user_defined(), utf8_input_filter(), Fl_Scrollbar::value(), Fl_Graphics_Driver::vertices(), Fl_Tree_Item::visible_r(), Fl_Text_Display::wrapped_line_counter(), Fl_Type::write(), Fl_Preferences::RootNode::write(), write_code(), write_cstring(), write_declare(), write_file(), Fl_Widget_Type::write_static(), Fl_Menu_Item_Type::write_static(), write_strings(), write_word(), Fl_Window::x_root(), Fl_Window::y_root(), and Fl_Graphics_Driver::~Fl_Graphics_Driver().