ReactOS 0.4.16-dev-306-g647d351
|
#include <windows.h>
#include <tchar.h>
#include <commctrl.h>
#include <shellapi.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <malloc.h>
#include <htmlhelp.h>
#include <limits.h>
#include <strsafe.h>
#include "resource.h"
#include <tmschema.h>
#include <uxtheme.h>
Go to the source code of this file.
Classes | |
union | calc_number_t |
struct | calc_node_t |
struct | sequence_t |
struct | statistic_t |
struct | calc_t |
Macros | |
#define | WIN32_LEAN_AND_MEAN |
#define | WM_CLOSE_STATS (WM_APP+1) |
#define | WM_HANDLE_CLIPBOARD (WM_APP+2) |
#define | WM_INSERT_STAT (WM_APP+3) |
#define | WM_LOAD_STAT (WM_APP+4) |
#define | WM_START_CONV (WM_APP+5) |
#define | WM_HANDLE_FROM (WM_APP+6) |
#define | WM_HANDLE_TO (WM_APP+7) |
#define | LOCAL_EXP_SIZE 10000L |
#define | CALC_VERSION _T("1.12") |
#define | MAX_CALC_SIZE 256 |
#define | calc_HtmlHelp calc_HtmlHelpA |
#define | SIZEOF(_ar) (sizeof(_ar)/sizeof(_ar[1])) |
#define | CALC_E 2.718281828459045235360 |
#define | CALC_PI_2 1.570796326794896619231 |
#define | CALC_PI 3.141592653589793238462 |
#define | CALC_3_PI_2 4.712388980384689857694 |
#define | CALC_2_PI 6.283185307179586476925 |
#define | MODIFIER_INV 0x01 |
#define | MODIFIER_HYP 0x02 |
#define | NO_CHAIN 0x04 |
Typedefs | |
typedef HWND(WINAPI * | type_HtmlHelpA) (HWND, LPCSTR, UINT, DWORD) |
typedef HWND(WINAPI * | type_HtmlHelpW) (HWND, LPCWSTR, UINT, DWORD) |
typedef HTHEME(WINAPI * | type_OpenThemeData) (HWND, const WCHAR *) |
typedef HRESULT(WINAPI * | type_CloseThemeData) (HTHEME) |
typedef HRESULT(WINAPI * | type_DrawThemeBackground) (HTHEME, HDC, int, int, const RECT *, const RECT *) |
typedef BOOL(WINAPI * | type_IsAppThemed) (void) |
typedef BOOL(WINAPI * | type_IsThemeActive) (void) |
typedef BOOL(WINAPI * | type_IsThemeBackgroundPartiallyTransparent) (HTHEME, int, int) |
typedef HRESULT(WINAPI * | type_DrawThemeParentBackground) (HWND, HDC, RECT *) |
Enumerations | |
enum | { RPN_OPERATOR_PARENT , RPN_OPERATOR_PERCENT , RPN_OPERATOR_EQUAL , RPN_OPERATOR_OR , RPN_OPERATOR_XOR , RPN_OPERATOR_AND , RPN_OPERATOR_LSH , RPN_OPERATOR_RSH , RPN_OPERATOR_ADD , RPN_OPERATOR_SUB , RPN_OPERATOR_MULT , RPN_OPERATOR_DIV , RPN_OPERATOR_MOD , RPN_OPERATOR_POW , RPN_OPERATOR_SQR , RPN_OPERATOR_NONE } |
enum | { CALC_LAYOUT_SCIENTIFIC =0 , CALC_LAYOUT_STANDARD , CALC_LAYOUT_CONVERSION } |
#define calc_HtmlHelp calc_HtmlHelpA |
anonymous enum |
Definition at line 101 of file calc.h.
anonymous enum |
Enumerator | |
---|---|
CALC_LAYOUT_SCIENTIFIC | |
CALC_LAYOUT_STANDARD | |
CALC_LAYOUT_CONVERSION |
Definition at line 11 of file aboutdlg.c.
Referenced by MenuCommand().
void apply_int_mask | ( | calc_number_t * | a | ) |
Definition at line 26 of file fun_ieee.c.
Referenced by convert_real_integer(), DlgMainProc(), run_operator(), and upload_stat_number().
Definition at line 621 of file convert.c.
Referenced by ConvInit(), and DlgMainProc().
Definition at line 112 of file utl_ieee.c.
Referenced by update_radio().
void convert_text2number_2 | ( | calc_number_t * | a | ) |
Definition at line 86 of file utl_ieee.c.
Referenced by convert_text2number().
Definition at line 568 of file convert.c.
Referenced by DlgMainProc().
Definition at line 650 of file convert.c.
Referenced by DlgMainProc().
Definition at line 457 of file rpn_ieee.c.
Referenced by update_parent_display().
Definition at line 422 of file rpn_ieee.c.
Referenced by DlgMainProc().
void exec_closeparent | ( | calc_number_t * | number | ) |
Definition at line 436 of file rpn_ieee.c.
Referenced by run_rpar().
int exec_infix2postfix | ( | calc_number_t * | number, |
unsigned int | func | ||
) |
Definition at line 391 of file rpn_ieee.c.
Referenced by DlgMainProc(), and run_lpar().
Definition at line 470 of file rpn_ieee.c.
Referenced by evalStack(), exec_closeparent(), and run_canc().
Definition at line 50 of file htmlhelp.c.
Referenced by _tWinMain().
__int64 logic_dbl2int | ( | calc_number_t * | a | ) |
Definition at line 261 of file fun_ieee.c.
Referenced by rpn_and_f(), rpn_not(), rpn_or_f(), rpn_xor_f(), and run_operator().
double logic_int2dbl | ( | calc_number_t * | a | ) |
Definition at line 275 of file fun_ieee.c.
Referenced by run_operator().
void prepare_rpn_result_2 | ( | calc_number_t * | rpn, |
TCHAR * | buffer, | ||
int | size, | ||
int | base | ||
) |
Definition at line 23 of file utl_ieee.c.
Referenced by prepare_rpn_result().
void rpn_2pi | ( | calc_number_t * | c | ) |
Definition at line 295 of file fun_ieee.c.
void rpn_acos | ( | calc_number_t * | c | ) |
Definition at line 150 of file fun_ieee.c.
void rpn_acosh | ( | calc_number_t * | c | ) |
void rpn_alloc | ( | calc_number_t * | c | ) |
Definition at line 601 of file fun_ieee.c.
Referenced by exec_closeparent(), and run_dat_sta().
void rpn_asin | ( | calc_number_t * | c | ) |
Definition at line 144 of file fun_ieee.c.
void rpn_asinh | ( | calc_number_t * | c | ) |
void rpn_atan | ( | calc_number_t * | c | ) |
Definition at line 156 of file fun_ieee.c.
void rpn_atanh | ( | calc_number_t * | c | ) |
void rpn_ave | ( | calc_number_t * | c | ) |
Definition at line 467 of file fun_ieee.c.
void rpn_ave2 | ( | calc_number_t * | c | ) |
Definition at line 483 of file fun_ieee.c.
void rpn_cbrt | ( | calc_number_t * | c | ) |
Definition at line 387 of file fun_ieee.c.
void rpn_copy | ( | calc_number_t * | dst, |
calc_number_t * | src | ||
) |
Definition at line 591 of file fun_ieee.c.
Referenced by convert_text2number(), DlgMainProc(), evalStack(), exec_closeparent(), exec_infix2postfix(), run_dat_sta(), run_ms(), and run_mw().
void rpn_cos | ( | calc_number_t * | c | ) |
Definition at line 116 of file fun_ieee.c.
void rpn_cosh | ( | calc_number_t * | c | ) |
void rpn_dec2dms | ( | calc_number_t * | c | ) |
Definition at line 577 of file fun_ieee.c.
void rpn_dms2dec | ( | calc_number_t * | c | ) |
void rpn_exp | ( | calc_number_t * | c | ) |
void rpn_exp10 | ( | calc_number_t * | c | ) |
Definition at line 407 of file fun_ieee.c.
void rpn_exp2 | ( | calc_number_t * | c | ) |
void rpn_exp3 | ( | calc_number_t * | c | ) |
void rpn_fact | ( | calc_number_t * | c | ) |
Definition at line 224 of file fun_ieee.c.
void rpn_frac | ( | calc_number_t * | c | ) |
void rpn_free | ( | calc_number_t * | c | ) |
Definition at line 605 of file fun_ieee.c.
Referenced by clean_stat_list(), delete_stat_item(), and exec_closeparent().
void rpn_int | ( | calc_number_t * | c | ) |
Definition at line 201 of file fun_ieee.c.
Referenced by rpn_fact().
int rpn_is_zero | ( | calc_number_t * | c | ) |
Definition at line 596 of file fun_ieee.c.
Referenced by prepare_rpn_result_2(), rpn_sin(), run_ms(), and run_mw().
void rpn_ln | ( | calc_number_t * | c | ) |
void rpn_log | ( | calc_number_t * | c | ) |
void rpn_not | ( | calc_number_t * | c | ) |
Definition at line 280 of file fun_ieee.c.
void rpn_pi | ( | calc_number_t * | c | ) |
Definition at line 290 of file fun_ieee.c.
void rpn_reci | ( | calc_number_t * | c | ) |
void rpn_s | ( | calc_number_t * | c | ) |
Definition at line 553 of file fun_ieee.c.
void rpn_s_m1 | ( | calc_number_t * | c | ) |
Definition at line 558 of file fun_ieee.c.
void rpn_sign | ( | calc_number_t * | c | ) |
Definition at line 300 of file fun_ieee.c.
Referenced by DlgMainProc().
void rpn_sin | ( | calc_number_t * | c | ) |
Definition at line 101 of file fun_ieee.c.
void rpn_sinh | ( | calc_number_t * | c | ) |
void rpn_sqrt | ( | calc_number_t * | c | ) |
Definition at line 358 of file fun_ieee.c.
void rpn_sum | ( | calc_number_t * | c | ) |
Definition at line 499 of file fun_ieee.c.
void rpn_sum2 | ( | calc_number_t * | c | ) |
void rpn_tan | ( | calc_number_t * | c | ) |
Definition at line 131 of file fun_ieee.c.
void rpn_tanh | ( | calc_number_t * | c | ) |
BOOL rpn_validate_result | ( | calc_number_t * | c | ) |
void rpn_zero | ( | calc_number_t * | c | ) |
Definition at line 586 of file fun_ieee.c.
Referenced by convert_text2number(), DlgMainProc(), prepare_rpn_result(), rpn_cos(), rpn_sin(), rpn_tan(), run_canc(), and start_rpn_engine().
void run_operator | ( | calc_node_t * | result, |
calc_node_t * | a, | ||
calc_node_t * | b, | ||
unsigned int | operation | ||
) |
Definition at line 314 of file rpn_ieee.c.
Referenced by evalStack(), exec_closeparent(), run_mm(), and run_mp().
Definition at line 479 of file rpn_ieee.c.
Referenced by _tWinMain().
Definition at line 105 of file theme.c.
Referenced by _tWinMain().
Definition at line 120 of file theme.c.
Referenced by _tWinMain().
|
extern |
Definition at line 247 of file winmain.c.
Referenced by _tWinMain(), apply_int_mask(), build_operand(), check_csum(), clean_stat_list(), ConvAdjust(), convert_real_integer(), convert_text2number(), convert_text2number_2(), ConvExecute(), ConvInit(), delete_stat_item(), display_rpn_result(), DlgMainProc(), DlgStatProc(), enable_allowed_controls(), evalStack(), exec_closeparent(), exec_infix2postfix(), flush_postfix(), handle_context_menu(), handle_copy_command(), handle_sequence_input(), load_config(), logic_dbl2int(), OnSettingChange(), post_key_press(), prepare_rpn_result(), prepare_rpn_result_2(), process_vk_key(), ReadConversion(), rpn_acos(), rpn_acosh(), rpn_asin(), rpn_asinh(), rpn_atan(), rpn_atanh(), rpn_ave(), rpn_ave2(), rpn_cbrt(), rpn_cos(), rpn_cosh(), rpn_div_f(), rpn_div_i(), rpn_div_p(), rpn_exp(), rpn_exp10(), rpn_exp2(), rpn_exp3(), rpn_fact(), rpn_frac(), rpn_int(), rpn_ln(), rpn_log(), rpn_mod_f(), rpn_mod_i(), rpn_not(), rpn_pow_f(), rpn_reci(), rpn_s_ex(), rpn_shl_f(), rpn_shr_f(), rpn_sign(), rpn_sin(), rpn_sinh(), rpn_sqr_f(), rpn_sqrt(), rpn_sum(), rpn_sum2(), rpn_tan(), rpn_tanh(), run_canc(), run_dat_sta(), run_fe(), run_mm(), run_mp(), run_ms(), run_mw(), run_operator(), save_config(), set_rpn_result(), seta_assignment(), seta_ltorTerm(), start_rpn_engine(), stat_sum(), stat_sum2(), stop_rpn_engine(), SubclassButtonProc(), update_lcd_display(), update_memory_flag(), update_menu(), update_radio(), UpdateNumberIntl(), upload_stat_number(), validate_angle2rad(), and validate_rad2angle().
|
extern |
Definition at line 51 of file theme.c.
Referenced by SubclassButtonProc().
|
extern |
Definition at line 52 of file theme.c.
Referenced by SubclassButtonProc().
|
extern |
Definition at line 57 of file theme.c.
Referenced by SubclassButtonProc().
|
extern |
Definition at line 33 of file htmlhelp.c.
|
extern |
Definition at line 34 of file htmlhelp.c.
|
extern |
Definition at line 53 of file theme.c.
Referenced by SubclassButtonProc().
|
extern |
Definition at line 54 of file theme.c.
Referenced by SubclassButtonProc().
|
extern |
Definition at line 55 of file theme.c.
Referenced by SubclassButtonProc().
|
extern |
Definition at line 50 of file theme.c.
Referenced by SubclassButtonProc().