Skip to content

Commit

Permalink
Added Clear button to select key dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisn committed Dec 10, 2023
1 parent 79ff298 commit 588b94a
Show file tree
Hide file tree
Showing 16 changed files with 691 additions and 303 deletions.
5 changes: 3 additions & 2 deletions Src/BeebEm.rc
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,16 @@ BEGIN
CTEXT "b0",IDC_STATIC,157,10,13,12
END

IDD_SELECT_KEY DIALOGEX 0, 0, 149, 60
IDD_SELECT_KEY DIALOGEX 0, 0, 149, 78
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Press key for unshifted press..."
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
LTEXT "Assigned to PC key(s):",IDC_STATIC,7,7,74,8
LTEXT "Static",IDC_ASSIGNED_KEYS,15,21,127,8
CONTROL "Shift",IDC_SHIFT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,40,31,10
PUSHBUTTON "OK",IDOK,92,39,50,14
PUSHBUTTON "&Clear",IDC_CLEAR,92,37,50,14
PUSHBUTTON "OK",IDOK,92,56,50,14
END

IDD_DEBUG DIALOGEX 0, 0, 529, 387
Expand Down
6 changes: 4 additions & 2 deletions Src/BeebEm.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
<ClCompile Include="FileUtils.cpp" />
<ClCompile Include="FolderSelectDialog.cpp" />
<ClCompile Include="ide.cpp" />
<ClCompile Include="KeyMap.cpp" />
<ClCompile Include="IP232.cpp" />
<ClCompile Include="ListView.cpp" />
<ClCompile Include="Log.cpp" />
Expand Down Expand Up @@ -225,7 +226,7 @@
<ClCompile Include="tube.cpp" />
<ClCompile Include="uef.cpp" />
<ClCompile Include="UEFState.cpp" />
<ClCompile Include="userkybd.cpp" />
<ClCompile Include="UserKeyboardDialog.cpp" />
<ClCompile Include="UserPortBreakoutBox.cpp" />
<ClCompile Include="uservia.cpp" />
<ClCompile Include="via.cpp" />
Expand Down Expand Up @@ -351,6 +352,7 @@
<ClInclude Include="Master512CoPro.h" />
<ClInclude Include="ide.h" />
<ClInclude Include="IP232.h" />
<ClInclude Include="KeyMap.h" />
<ClInclude Include="Log.h" />
<ClInclude Include="Main.h" />
<ClInclude Include="Messages.h" />
Expand Down Expand Up @@ -379,7 +381,7 @@
<ClInclude Include="tube.h" />
<ClInclude Include="uef.h" />
<ClInclude Include="UEFState.h" />
<ClInclude Include="userkybd.h" />
<ClInclude Include="UserKeyboardDialog.h" />
<ClInclude Include="UserPortBreakoutBox.h" />
<ClInclude Include="uservia.h" />
<ClInclude Include="version.h" />
Expand Down
10 changes: 8 additions & 2 deletions Src/BeebEm.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@
<ClCompile Include="IP232.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="KeyMap.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="ListView.cpp">
<Filter>Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -198,7 +201,7 @@
<ClCompile Include="UEFState.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="userkybd.cpp">
<ClCompile Include="UserKeyboardDialog.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="UserPortBreakoutBox.cpp">
Expand Down Expand Up @@ -362,6 +365,9 @@
<ClInclude Include="IP232.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="KeyMap.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="ListView.h">
<Filter>Header Files</Filter>
</ClInclude>
Expand Down Expand Up @@ -452,7 +458,7 @@
<ClInclude Include="UEFState.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="userkybd.h">
<ClInclude Include="UserKeyboardDialog.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="UserPortBreakoutBox.h">
Expand Down
Loading

0 comments on commit 588b94a

Please sign in to comment.