Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

winmain.c File Reference

#include "calc.h"

Go to the source code of this file.

Data Structures

struct  key2code_t
struct  key3code_t
struct  function_table_t
struct  _update_check_menus
struct  radio_config_t

Defines

#define HTMLHELP_PATH(_pt)   TEXT("%systemroot%\\Help\\calc.chm::") TEXT(_pt)
#define MAKE_BITMASK4(_show_b16, _show_b10, _show_b8, _show_b2)
#define MAKE_BITMASK5(_transl, _is_stats, _is_ctrl, _show_b16, _show_b10, _show_b8, _show_b2)
#define KEY_IS_UP   0x80000000
#define KEY_WAS_DOWN   0x40000000
#define BITMASK_IS_ASCII   0x80
#define BITMASK_IS_STATS   0x40
#define BITMASK_IS_CTRL   0x20
#define BITMASK_HEX_MASK   0x08
#define BITMASK_DEC_MASK   0x04
#define BITMASK_OCT_MASK   0x02
#define BITMASK_BIN_MASK   0x01
#define CALC_CLR_RED   0x000000FF
#define CALC_CLR_BLUE   0x00FF0000
#define CALC_CLR_PURP   0x00FF00FF
#define CTRL_FLAG   0x100
#define ALT_FLAG   0x200
#define CTRL_A   (0x0001+'A'-'A')
#define CTRL_C   (0x0001+'C'-'A')
#define CTRL_D   (0x0001+'D'-'A')
#define CTRL_L   (0x0001+'L'-'A')
#define CTRL_M   (0x0001+'M'-'A')
#define CTRL_P   (0x0001+'P'-'A')
#define CTRL_R   (0x0001+'R'-'A')
#define CTRL_S   (0x0001+'S'-'A')
#define CTRL_T   (0x0001+'T'-'A')
#define CTRL_V   (0x0001+'V'-'A')
#define CTRL_Z   (0x0001+'Z'-'A')

Typedefs

typedef void(* rpn_callback1 )(calc_number_t *)

Functions

static void run_pow (calc_number_t *number)
static void run_sqr (calc_number_t *number)
static void run_fe (calc_number_t *number)
static void run_dat_sta (calc_number_t *number)
static void run_mp (calc_number_t *c)
static void run_mm (calc_number_t *c)
static void run_ms (calc_number_t *c)
static void run_mw (calc_number_t *c)
static void run_canc (calc_number_t *c)
static void run_rpar (calc_number_t *c)
static void run_lpar (calc_number_t *c)
static void load_config (void)
static void save_config (void)
static LRESULT post_key_press (LPARAM lParam, WORD idc)
static int vk2ascii (unsigned int vk)
static int process_vk_key (WPARAM wParam, LPARAM lParam)
static void update_lcd_display (HWND hwnd)
static void update_parent_display (HWND hWnd)
static void build_operand (HWND hwnd, DWORD idc)
static void prepare_rpn_result (calc_number_t *rpn, TCHAR *buffer, int size, int base)
static void display_rpn_result (HWND hwnd, calc_number_t *rpn)
static int get_modifiers (HWND hwnd)
static void convert_text2number (calc_number_t *a)
static void update_menu (HWND hwnd)
static void enable_allowed_controls (HWND hwnd, DWORD base)
static void update_radio (HWND hwnd, unsigned int base)
static void update_memory_flag (HWND hWnd, BOOL mem_flag)
static void update_n_stats_items (HWND hWnd, TCHAR *buffer)
static void clean_stat_list (void)
static void delete_stat_item (int n)
static charReadConversion (const char *formula)
static INT_PTR CALLBACK DlgStatProc (HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
static WPARAM idm_2_idc (int idm)
static void CopyMemToClipboard (void *ptr)
static void handle_copy_command (HWND hWnd)
static charReadClipboard (void)
static charhandle_sequence_input (HWND hwnd, sequence_t *seq)
static statistic_tupload_stat_number (int n)
static void handle_context_menu (HWND hWnd, WPARAM wp, LPARAM lp)
static LRESULT CALLBACK SubclassButtonProc (HWND hWnd, WPARAM wp, LPARAM lp)
static INT_PTR CALLBACK DlgMainProc (HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
int WINAPI _tWinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nShowCmd)

Variables

static const key3code_t key2code []
static const key2code_t key2code_base16 []
static const key2code_t key2code_base10 []
static const WORD operator_codes []
static const function_table_t function_table []
calc_t calc
static struct _update_check_menus upd []
static const radio_config_t radio_setup []

Generated on Thu Feb 9 05:05:31 2012 for ReactOS by doxygen 1.6.3

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.