display/cmndwin.cpp File Reference

#include "mfcpch.h"
#include <ctype.h>
#include "evnts.h"
#include "cmndwin.h"

Go to the source code of this file.

Defines


Define Documentation

#define BACKSPACE_KEY   '\010'

Note:
File: cmndwin.cpp (Formerly cmdwin.c)
Command Window class
Author:
Phil Cheatle
Date:
Thu 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 25 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::internal_prompt().

#define BORDER_HEIGHT   (menu_char_height / 2)

Definition at line 28 of file cmndwin.cpp.

#define EXTERN

Definition at line 49 of file cmndwin.cpp.

#define MENU_AREA_TOP_LEFT_X   0

Definition at line 43 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::COMMAND_WINDOW(), and COMMAND_WINDOW::update_menu_tree().

#define MENU_AREA_TOP_LEFT_Y   (PROMPT_AREA_TOP_LEFT_Y - PROMPT_AREA_HEIGHT - BORDER_HEIGHT)

Definition at line 44 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::COMMAND_WINDOW(), and COMMAND_WINDOW::update_menu_tree().

#define MIN_WINDOW_WIDTH   (PROMPT_TEXT_START_X + 80 * menu_char_width)

Definition at line 47 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::COMMAND_WINDOW(), and COMMAND_WINDOW::update_menu_tree().

#define MSG_AREA_HEIGHT   (int)(menu_char_height * 1.5 )

Definition at line 32 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::plot_msg_area(), and COMMAND_WINDOW::plot_prompt_area().

#define MSG_AREA_TOP_LEFT_X   0

Definition at line 30 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::COMMAND_WINDOW(), COMMAND_WINDOW::plot_msg_area(), and COMMAND_WINDOW::update_menu_tree().

#define MSG_AREA_TOP_LEFT_Y   0

Definition at line 31 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::COMMAND_WINDOW(), COMMAND_WINDOW::plot_msg_area(), and COMMAND_WINDOW::update_menu_tree().

#define MSG_TEXT_START_X   (menu_char_height / 2)

Definition at line 33 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::plot_msg_area().

#define MSG_TEXT_START_Y   (MSG_AREA_TOP_LEFT_Y - menu_char_height)

Definition at line 34 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::plot_msg_area().

#define PROMPT_AREA_HEIGHT   MSG_AREA_HEIGHT

Definition at line 39 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::internal_prompt().

#define PROMPT_AREA_TOP_LEFT_X   0

Definition at line 36 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::internal_prompt(), and COMMAND_WINDOW::plot_prompt_area().

#define PROMPT_AREA_TOP_LEFT_Y   (MSG_AREA_TOP_LEFT_Y - MSG_AREA_HEIGHT - BORDER_HEIGHT)

Definition at line 37 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::internal_prompt(), and COMMAND_WINDOW::plot_prompt_area().

#define PROMPT_TEXT_START_X   (menu_char_height / 2)

Definition at line 40 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::internal_prompt(), and COMMAND_WINDOW::plot_prompt_area().

#define PROMPT_TEXT_START_Y   (PROMPT_AREA_TOP_LEFT_Y - menu_char_height)

Definition at line 41 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::internal_prompt(), and COMMAND_WINDOW::plot_prompt_area().

#define RETURN_KEY   '\015'

Definition at line 26 of file cmndwin.cpp.

Referenced by COMMAND_WINDOW::internal_prompt().


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