added: button sqrt() on the first tab
(there was not a function to it) git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@232 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -220,11 +220,11 @@ BEGIN
|
||||
BS_AUTORADIOBUTTON | BS_LEFT | WS_TABSTOP,21,42,256,10
|
||||
CONTROL "precision 3",IDC_RADIO_PRECISION_3,"Button",
|
||||
BS_AUTORADIOBUTTON | BS_LEFT | WS_TABSTOP,21,73,256,10
|
||||
LTEXT "info 1",IDC_LABEL_PRECISION_1_INFO,38,24,239,8,NOT
|
||||
LTEXT "info 1",IDC_LABEL_PRECISION_1_INFO,34,24,243,8,NOT
|
||||
WS_GROUP
|
||||
LTEXT "info 2",IDC_LABEL_PRECISION_2_INFO,38,55,239,8,NOT
|
||||
LTEXT "info 2",IDC_LABEL_PRECISION_2_INFO,34,55,243,8,NOT
|
||||
WS_GROUP
|
||||
LTEXT "info 3",IDC_LABEL_PRECISION_3_INFO,38,85,239,8,NOT
|
||||
LTEXT "info 3",IDC_LABEL_PRECISION_3_INFO,34,85,243,8,NOT
|
||||
WS_GROUP
|
||||
END
|
||||
|
||||
|
@@ -1200,6 +1200,12 @@ BOOL WmTabCommand_Press_gamma(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||
return true;
|
||||
}
|
||||
|
||||
BOOL WmTabCommand_Press_sqrt(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
InsertText("sqrt()", -1);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1263,6 +1269,8 @@ void CreateTabCommandMessagesTable(Messages<BOOL> & cmessages)
|
||||
cmessages.Associate(IDC_BUTTON_EXP, WmTabCommand_Press_exp);
|
||||
cmessages.Associate(IDC_BUTTON_BRACKETS_ALL, WmTabCommand_Press_bracketsall);
|
||||
cmessages.Associate(IDC_BUTTON_1DIV_BRACKETS_ALL, WmTabCommand_Press_1div_bracketsall);
|
||||
cmessages.Associate(IDC_BUTTON_SQRT, WmTabCommand_Press_sqrt);
|
||||
|
||||
|
||||
cmessages.Associate(IDC_BUTTON_ADD_VARIABLE, Variables::WmTabCommand_AddVariable);
|
||||
cmessages.Associate(IDC_BUTTON_EDIT_VARIABLE, Variables::WmTabCommand_EditVariable);
|
||||
|
Reference in New Issue
Block a user