Win32 - Ram Watch - Add Separator button
This commit is contained in:
parent
29acd2d238
commit
cc38aeeef8
|
@ -1991,6 +1991,38 @@
|
|||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\bitmaps\IDB_FRAMEADVANCE.bmp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bitmaps\IDB_OPEN.bmp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bitmaps\IDB_PAUSE.bmp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bitmaps\IDB_PLAY.bmp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bitmaps\IDB_RESET.bmp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bitmaps\IDB_ROTATECCW.bmp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bitmaps\IDB_ROTATECW.bmp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\bitmaps\IDB_STOP.bmp"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
<Global
|
||||
|
|
|
@ -59,6 +59,7 @@ unsigned int GetCurrentValue(AddressWatcher& watch)
|
|||
|
||||
bool IsSameWatch(const AddressWatcher& l, const AddressWatcher& r)
|
||||
{
|
||||
if (r.Size == 'S') return false;
|
||||
return ((l.Address == r.Address) && (l.Size == r.Size) && (l.Type == r.Type)/* && (l.WrongEndian == r.WrongEndian)*/);
|
||||
}
|
||||
|
||||
|
@ -1001,6 +1002,17 @@ LRESULT CALLBACK RamWatchProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||
SetFocus(GetDlgItem(hDlg,IDC_WATCHLIST));
|
||||
}
|
||||
return true;
|
||||
|
||||
case IDC_C_WATCH_SEPARATE:
|
||||
AddressWatcher separator;
|
||||
separator.Address = 0;
|
||||
separator.WrongEndian = false;
|
||||
separator.Size = 'S';
|
||||
separator.Type = 'S';
|
||||
InsertWatch(separator, "----------------------------");
|
||||
SetFocus(GetDlgItem(hDlg,IDC_WATCHLIST));
|
||||
return true;
|
||||
|
||||
case IDC_C_WATCH_UP:
|
||||
{
|
||||
watchIndex = ListView_GetSelectionMark(GetDlgItem(hDlg,IDC_WATCHLIST));
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue