display/sbdmenu.cpp File Reference

#include "mfcpch.h"
#include "sbdmenu.h"
#include "notdll.h"

Go to the source code of this file.

Defines

Functions

Variables


Define Documentation

#define MENU_COLUMN_SPACING   (menu_char_height / 2)

Note:
File: sbdmenu.cpp (Formerly menu.c)
Command Window MENU class
Author:
Phil Cheatle
Date:
Oct 10 16:25:24 BST 1991
 * (C) Copyright 1991, Hewlett-Packard Ltd.
 ** Licensed under the Apache License, Version 2.0 (the "License");
 ** you may not use this file except in compliance with the License.
 ** You may obtain a copy of the License at
 ** http://www.apache.org/licenses/LICENSE-2.0
 ** Unless required by applicable law or agreed to in writing, software
 ** distributed under the License is distributed on an "AS IS" BASIS,
 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ** See the License for the specific language governing permissions and
 ** limitations under the License.

Definition at line 23 of file sbdmenu.cpp.

Referenced by MENU_ROOT::recalc_bounding_box().

#define MENU_ITEM_HEIGHT   (int)(menu_char_height * 1.5)

Definition at line 24 of file sbdmenu.cpp.

Referenced by NON_LEAF_MENU_NODE::plotx(), NON_LEAF_MENU_NODE::recalc_bounding_box(), and MENU_NODE::recalc_fixed_width_bb().

#define MENU_SEPARATOR_HEIGHT   MENU_COLUMN_SPACING

Definition at line 25 of file sbdmenu.cpp.

Referenced by NON_LEAF_MENU_NODE::plotx(), and NON_LEAF_MENU_NODE::recalc_bounding_box().

#define MENU_TEXT_X_OFFSET   (menu_char_height / 2)

Definition at line 26 of file sbdmenu.cpp.

Referenced by NON_LEAF_MENU_NODE::plotx(), LEAF_MENU_NODE::plotx(), and NON_LEAF_MENU_NODE::recalc_bounding_box().

#define MENU_TEXT_Y_OFFSET   menu_char_height/2

Definition at line 27 of file sbdmenu.cpp.

Referenced by NON_LEAF_MENU_NODE::plotx(), and LEAF_MENU_NODE::plotx().


Function Documentation

ELISTIZE ( MENU_L   ) 


Variable Documentation

const ERRCODE NOT_SUBMENU_NODE = "Button is not leaf of radio submenu"

Definition at line 32 of file sbdmenu.cpp.

Referenced by RADIO_MENU::press_radio_button().

const ERRCODE SHOULDNT_BE_CALLED = "Should never get to here!!"

Definition at line 33 of file sbdmenu.cpp.

Referenced by MENU_NODE::recalc_bounding_box().


Generated on Wed Feb 28 19:49:23 2007 for Tesseract by  doxygen 1.5.1