diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-13 04:28:21 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-13 04:28:21 +0000 |
commit | ed224137da84e8e214588f4207f0da2842a47cf4 (patch) | |
tree | 396a03edd2827da6b3ecd9c6cfa6bdf65ee18da9 /iax/dial_dlg.cpp | |
parent | 8861255967216dc365a9e81b2b4cb6668010ed2e (diff) |
updated dependencies
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@283 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'iax/dial_dlg.cpp')
-rw-r--r-- | iax/dial_dlg.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/iax/dial_dlg.cpp b/iax/dial_dlg.cpp index 29fcf66..1201806 100644 --- a/iax/dial_dlg.cpp +++ b/iax/dial_dlg.cpp @@ -142,8 +142,8 @@ static BOOL CALLBACK DlgProcDial(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l int input = SendDlgItemMessage(hwndDlg, IDC_SLD_IN, TBM_GETPOS, 0, 0),
output = SendDlgItemMessage(hwndDlg, IDC_SLD_OUT, TBM_GETPOS, 0, 0);
- iaxc_input_level_set(input / 100.0);
- iaxc_output_level_set(output / 100.0);
+ iaxc_input_level_set(input / 100.0f);
+ iaxc_output_level_set(output / 100.0f);
}
break;
case WM_COMMAND:
@@ -159,6 +159,7 @@ static BOOL CALLBACK DlgProcDial(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l if(buff[0]) {
Call(buff);
SetFocus(GetDlgItem(hwndDlg, IDC_CMB_NUM));
+ SendMessage(hwndDlg, WMU_REFRESHLINEINFO, 0, 0);
}
}
return TRUE;
@@ -295,15 +296,15 @@ void InitDialDialog() { }
}
- hBrushActive = CreateSolidBrush(RGB(0, 0xff, 0));
- hBrushFree = CreateSolidBrush(RGB(0xD0, 0xD0, 0xD0));
- hBrushActiveSelect = CreateSolidBrush(RGB(0x80, 0xff, 0x80));
- hBrushFreeSelect = CreateSolidBrush(RGB(0xff, 0xff, 0xff));
+ hBrushActive = CreateSolidBrush(RGB(0, 0xff, 0)); // green
+ hBrushFree = CreateSolidBrush(RGB(0xD0, 0xD0, 0xD0)); // grey
+ hBrushActiveSelect = CreateSolidBrush(RGB(0x80, 0xff, 0x80)); // light green
+ hBrushFreeSelect = CreateSolidBrush(RGB(0xff, 0xff, 0xff)); // white
- hBrushRingIn = CreateSolidBrush(RGB(0xff, 0, 0xff));
- hBrushRingOut = CreateSolidBrush(RGB(0, 0, 0xff));
- hBrushRingInSelect = CreateSolidBrush(RGB(0xff, 0x80, 0xff));
- hBrushRingOutSelect = CreateSolidBrush(RGB(0x80, 0x80, 0xff));
+ hBrushRingIn = CreateSolidBrush(RGB(0xff, 0, 0xff)); // purple
+ hBrushRingOut = CreateSolidBrush(RGB(0, 0, 0xff)); // blue
+ hBrushRingInSelect = CreateSolidBrush(RGB(0xff, 0x80, 0xff)); // light-purple
+ hBrushRingOutSelect = CreateSolidBrush(RGB(0x80, 0x80, 0xff)); // light-blue
hkid = GlobalAddAtom("IAX plugin hk id");
CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_DIAL), 0, DlgProcDial, 0);
|