Move debugger ui files into a subdirectory. Primarily to make it easy to keep debugger strings out of translations, but also because it is more organized.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7163 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2011-02-13 06:06:32 +00:00
parent 1d2c936f08
commit a8992b7960
41 changed files with 135 additions and 140 deletions

View File

@ -13,57 +13,54 @@ set(LIBS core
${X11_LIBRARIES})
if(wxWidgets_FOUND)
set(SRCS ${SRCS}
set(SRCS Src/ARCodeAddEdit.cpp
Src/AboutDolphin.cpp
Src/ARCodeAddEdit.cpp
Src/CheatsWindow.cpp
Src/ConfigMain.cpp
Src/Debugger/BreakpointDlg.cpp
Src/Debugger/BreakpointView.cpp
Src/Debugger/BreakpointWindow.cpp
Src/Debugger/CodeView.cpp
Src/Debugger/CodeWindow.cpp
Src/Debugger/CodeWindowFunctions.cpp
Src/Debugger/DSPDebugWindow.cpp
Src/Debugger/DSPRegisterView.cpp
Src/Debugger/DebuggerPanel.cpp
Src/Debugger/DebuggerUIUtil.cpp
Src/Debugger/JitWindow.cpp
Src/Debugger/MemoryCheckDlg.cpp
Src/Debugger/MemoryView.cpp
Src/Debugger/MemoryWindow.cpp
Src/Debugger/RegisterView.cpp
Src/Debugger/RegisterWindow.cpp
Src/Frame.cpp
Src/FrameAui.cpp
Src/FrameTools.cpp
Src/GameListCtrl.cpp
Src/GeckoCodeDiag.cpp
Src/HotkeyDlg.cpp
Src/InputConfigDiag.cpp
Src/InputConfigDiagBitmaps.cpp
Src/ISOFile.cpp
Src/ISOProperties.cpp
Src/InputConfigDiag.cpp
Src/InputConfigDiagBitmaps.cpp
Src/LogWindow.cpp
Src/Main.cpp
Src/MemcardManager.cpp
Src/MemoryCards/GCMemcard.cpp
Src/NetWindow.cpp
Src/PatchAddEdit.cpp
Src/PHackSettings.cpp
Src/UDPConfigDiag.cpp
Src/WiimoteConfigDiag.cpp
Src/MemoryCards/WiiSaveCrypted.cpp
Src/NetWindow.cpp
Src/PHackSettings.cpp
Src/PatchAddEdit.cpp
Src/UDPConfigDiag.cpp
Src/VideoConfigDiag.cpp
Src/WXInputBase.cpp
Src/WxUtils.cpp
Src/BreakpointDlg.cpp
Src/BreakpointView.cpp
Src/BreakpointWindow.cpp
Src/CodeView.cpp
Src/CodeWindow.cpp
Src/CodeWindowFunctions.cpp
Src/DebuggerPanel.cpp
Src/DebuggerUIUtil.cpp
Src/DSPDebugWindow.cpp
Src/DSPRegisterView.cpp
Src/JitWindow.cpp
Src/MemoryCheckDlg.cpp
Src/MemoryView.cpp
Src/MemoryWindow.cpp
Src/RegisterView.cpp
Src/RegisterWindow.cpp
Src/VideoConfigDiag.cpp)
Src/WiimoteConfigDiag.cpp
Src/WxUtils.cpp)
set(WXLIBS ${wxWidgets_LIBRARIES}
${GTK2_LIBRARIES})
else(wxWidgets_FOUND)
set(SRCS ${SRCS}
Src/MainNoGUI.cpp)
else()
set(SRCS Src/MainNoGUI.cpp)
endif()
if(WIN32)
@ -81,15 +78,13 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR
set(LIBS ${LIBS} usbhid)
endif()
set(EXEGUI dolphin-emu)
set(EXENOGUI dolphin-emu-nogui)
if(wxWidgets_FOUND)
add_executable(${EXEGUI} ${SRCS})
target_link_libraries(${EXEGUI} ${LIBS} ${WXLIBS})
install(TARGETS ${EXEGUI} RUNTIME DESTINATION ${bindir})
set(DOLPHIN_EXE dolphin-emu)
else()
add_executable(${EXENOGUI} ${SRCS})
target_link_libraries(${EXENOGUI} ${LIBS})
install(TARGETS ${EXENOGUI} RUNTIME DESTINATION ${bindir})
set(DOLPHIN_EXE dolphin-emu-nogui)
endif()
add_executable(${DOLPHIN_EXE} ${SRCS})
target_link_libraries(${DOLPHIN_EXE} ${LIBS} ${WXLIBS})
install(TARGETS ${DOLPHIN_EXE} RUNTIME DESTINATION ${bindir})

View File

@ -216,18 +216,18 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
<ItemGroup>
<ClCompile Include="Src\AboutDolphin.cpp" />
<ClCompile Include="Src\ARCodeAddEdit.cpp" />
<ClCompile Include="Src\BreakpointDlg.cpp" />
<ClCompile Include="Src\BreakpointView.cpp" />
<ClCompile Include="Src\BreakpointWindow.cpp" />
<ClCompile Include="Src\Debugger\BreakpointDlg.cpp" />
<ClCompile Include="Src\Debugger\BreakpointView.cpp" />
<ClCompile Include="Src\Debugger\BreakpointWindow.cpp" />
<ClCompile Include="Src\CheatsWindow.cpp" />
<ClCompile Include="Src\CodeView.cpp" />
<ClCompile Include="Src\CodeWindow.cpp" />
<ClCompile Include="Src\CodeWindowFunctions.cpp" />
<ClCompile Include="Src\Debugger\CodeView.cpp" />
<ClCompile Include="Src\Debugger\CodeWindow.cpp" />
<ClCompile Include="Src\Debugger\CodeWindowFunctions.cpp" />
<ClCompile Include="Src\ConfigMain.cpp" />
<ClCompile Include="Src\DebuggerPanel.cpp" />
<ClCompile Include="Src\DebuggerUIUtil.cpp" />
<ClCompile Include="Src\DSPDebugWindow.cpp" />
<ClCompile Include="Src\DSPRegisterView.cpp" />
<ClCompile Include="Src\Debugger\DebuggerPanel.cpp" />
<ClCompile Include="Src\Debugger\DebuggerUIUtil.cpp" />
<ClCompile Include="Src\Debugger\DSPDebugWindow.cpp" />
<ClCompile Include="Src\Debugger\DSPRegisterView.cpp" />
<ClCompile Include="Src\Frame.cpp" />
<ClCompile Include="Src\FrameAui.cpp" />
<ClCompile Include="Src\FrameTools.cpp" />
@ -238,7 +238,7 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
<ClCompile Include="Src\InputConfigDiagBitmaps.cpp" />
<ClCompile Include="Src\ISOFile.cpp" />
<ClCompile Include="Src\ISOProperties.cpp" />
<ClCompile Include="Src\JitWindow.cpp" />
<ClCompile Include="Src\Debugger\JitWindow.cpp" />
<ClCompile Include="Src\LogWindow.cpp" />
<ClCompile Include="Src\Main.cpp" />
<ClCompile Include="Src\MainNoGUI.cpp">
@ -252,14 +252,14 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
<ClCompile Include="Src\MemcardManager.cpp" />
<ClCompile Include="Src\MemoryCards\GCMemcard.cpp" />
<ClCompile Include="Src\MemoryCards\WiiSaveCrypted.cpp" />
<ClCompile Include="Src\MemoryCheckDlg.cpp" />
<ClCompile Include="Src\MemoryView.cpp" />
<ClCompile Include="Src\MemoryWindow.cpp" />
<ClCompile Include="Src\Debugger\MemoryCheckDlg.cpp" />
<ClCompile Include="Src\Debugger\MemoryView.cpp" />
<ClCompile Include="Src\Debugger\MemoryWindow.cpp" />
<ClCompile Include="Src\NetWindow.cpp" />
<ClCompile Include="Src\PatchAddEdit.cpp" />
<ClCompile Include="Src\PHackSettings.cpp" />
<ClCompile Include="Src\RegisterView.cpp" />
<ClCompile Include="Src\RegisterWindow.cpp" />
<ClCompile Include="Src\Debugger\RegisterView.cpp" />
<ClCompile Include="Src\Debugger\RegisterWindow.cpp" />
<ClCompile Include="Src\stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">Create</PrecompiledHeader>
@ -278,17 +278,17 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
<ClInclude Include="resource.h" />
<ClInclude Include="Src\AboutDolphin.h" />
<ClInclude Include="Src\ARCodeAddEdit.h" />
<ClInclude Include="Src\BreakpointDlg.h" />
<ClInclude Include="Src\BreakpointView.h" />
<ClInclude Include="Src\BreakpointWindow.h" />
<ClInclude Include="Src\Debugger\BreakpointDlg.h" />
<ClInclude Include="Src\Debugger\BreakpointView.h" />
<ClInclude Include="Src\Debugger\BreakpointWindow.h" />
<ClInclude Include="Src\CheatsWindow.h" />
<ClInclude Include="Src\CodeView.h" />
<ClInclude Include="Src\CodeWindow.h" />
<ClInclude Include="Src\Debugger\CodeView.h" />
<ClInclude Include="Src\Debugger\CodeWindow.h" />
<ClInclude Include="Src\ConfigMain.h" />
<ClInclude Include="Src\DebuggerPanel.h" />
<ClInclude Include="Src\DebuggerUIUtil.h" />
<ClInclude Include="Src\DSPDebugWindow.h" />
<ClInclude Include="Src\DSPRegisterView.h" />
<ClInclude Include="Src\Debugger\DebuggerPanel.h" />
<ClInclude Include="Src\Debugger\DebuggerUIUtil.h" />
<ClInclude Include="Src\Debugger\DSPDebugWindow.h" />
<ClInclude Include="Src\Debugger\DSPRegisterView.h" />
<ClInclude Include="Src\Frame.h" />
<ClInclude Include="Src\GameListCtrl.h" />
<ClInclude Include="Src\GeckoCodeDiag.h" />
@ -297,20 +297,20 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
<ClInclude Include="Src\InputConfigDiag.h" />
<ClInclude Include="Src\ISOFile.h" />
<ClInclude Include="Src\ISOProperties.h" />
<ClInclude Include="Src\JitWindow.h" />
<ClInclude Include="Src\Debugger\JitWindow.h" />
<ClInclude Include="Src\LogWindow.h" />
<ClInclude Include="Src\Main.h" />
<ClInclude Include="Src\MemcardManager.h" />
<ClInclude Include="Src\MemoryCards\GCMemcard.h" />
<ClInclude Include="Src\MemoryCards\WiiSaveCrypted.h" />
<ClInclude Include="Src\MemoryCheckDlg.h" />
<ClInclude Include="Src\MemoryView.h" />
<ClInclude Include="Src\MemoryWindow.h" />
<ClInclude Include="Src\Debugger\MemoryCheckDlg.h" />
<ClInclude Include="Src\Debugger\MemoryView.h" />
<ClInclude Include="Src\Debugger\MemoryWindow.h" />
<ClInclude Include="Src\NetWindow.h" />
<ClInclude Include="Src\PatchAddEdit.h" />
<ClInclude Include="Src\PHackSettings.h" />
<ClInclude Include="Src\RegisterView.h" />
<ClInclude Include="Src\RegisterWindow.h" />
<ClInclude Include="Src\Debugger\RegisterView.h" />
<ClInclude Include="Src\Debugger\RegisterWindow.h" />
<ClInclude Include="Src\stdafx.h" />
<ClInclude Include="Src\UDPConfigDiag.h" />
<ClInclude Include="Src\VideoConfigDiag.h" />

View File

@ -84,55 +84,55 @@
<ClCompile Include="Src\PHackSettings.cpp">
<Filter>GUI</Filter>
</ClCompile>
<ClCompile Include="Src\DebuggerUIUtil.cpp">
<ClCompile Include="Src\Debugger\DebuggerUIUtil.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\VideoConfigDiag.cpp">
<Filter>GUI\Video</Filter>
</ClCompile>
<ClCompile Include="Src\CodeView.cpp">
<ClCompile Include="Src\Debugger\CodeView.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\MemoryView.cpp">
<ClCompile Include="Src\Debugger\MemoryView.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\DebuggerPanel.cpp">
<ClCompile Include="Src\Debugger\DebuggerPanel.cpp">
<Filter>GUI\Video</Filter>
</ClCompile>
<ClCompile Include="Src\BreakpointDlg.cpp">
<ClCompile Include="Src\Debugger\BreakpointDlg.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\BreakpointWindow.cpp">
<ClCompile Include="Src\Debugger\BreakpointWindow.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\CodeWindow.cpp">
<ClCompile Include="Src\Debugger\CodeWindow.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\CodeWindowFunctions.cpp">
<ClCompile Include="Src\Debugger\CodeWindowFunctions.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\DSPDebugWindow.cpp">
<ClCompile Include="Src\Debugger\DSPDebugWindow.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\JitWindow.cpp">
<ClCompile Include="Src\Debugger\JitWindow.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\MemoryCheckDlg.cpp">
<ClCompile Include="Src\Debugger\MemoryCheckDlg.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\MemoryWindow.cpp">
<ClCompile Include="Src\Debugger\MemoryWindow.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\RegisterWindow.cpp">
<ClCompile Include="Src\Debugger\RegisterWindow.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\RegisterView.cpp">
<ClCompile Include="Src\Debugger\RegisterView.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\DSPRegisterView.cpp">
<ClCompile Include="Src\Debugger\DSPRegisterView.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\BreakpointView.cpp">
<ClCompile Include="Src\Debugger\BreakpointView.cpp">
<Filter>GUI\Debugger</Filter>
</ClCompile>
</ItemGroup>
@ -210,52 +210,52 @@
<ClInclude Include="Src\PHackSettings.h">
<Filter>GUI</Filter>
</ClInclude>
<ClInclude Include="Src\DebuggerUIUtil.h">
<ClInclude Include="Src\Debugger\DebuggerUIUtil.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\VideoConfigDiag.h">
<Filter>GUI\Video</Filter>
</ClInclude>
<ClInclude Include="Src\CodeView.h">
<ClInclude Include="Src\Debugger\CodeView.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\MemoryView.h">
<ClInclude Include="Src\Debugger\MemoryView.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\DebuggerPanel.h">
<ClInclude Include="Src\Debugger\DebuggerPanel.h">
<Filter>GUI\Video</Filter>
</ClInclude>
<ClInclude Include="Src\BreakpointDlg.h">
<ClInclude Include="Src\Debugger\BreakpointDlg.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\BreakpointWindow.h">
<ClInclude Include="Src\Debugger\BreakpointWindow.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\CodeWindow.h">
<ClInclude Include="Src\Debugger\CodeWindow.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\DSPDebugWindow.h">
<ClInclude Include="Src\Debugger\DSPDebugWindow.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\JitWindow.h">
<ClInclude Include="Src\Debugger\JitWindow.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\MemoryCheckDlg.h">
<ClInclude Include="Src\Debugger\MemoryCheckDlg.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\MemoryWindow.h">
<ClInclude Include="Src\Debugger\MemoryWindow.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\RegisterWindow.h">
<ClInclude Include="Src\Debugger\RegisterWindow.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\RegisterView.h">
<ClInclude Include="Src\Debugger\RegisterView.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\DSPRegisterView.h">
<ClInclude Include="Src\Debugger\DSPRegisterView.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
<ClInclude Include="Src\BreakpointView.h">
<ClInclude Include="Src\Debugger\BreakpointView.h">
<Filter>GUI\Debugger</Filter>
</ClInclude>
</ItemGroup>

View File

@ -27,9 +27,9 @@
#include "HW/Memmap.h"
extern "C" {
#include "../resources/toolbar_add_breakpoint.c"
#include "../resources/toolbar_add_memorycheck.c"
#include "../resources/toolbar_debugger_delete.c"
#include "../../resources/toolbar_add_breakpoint.c"
#include "../../resources/toolbar_add_memorycheck.c"
#include "../../resources/toolbar_debugger_delete.c"
}

View File

@ -59,11 +59,11 @@
extern "C" // Bitmaps
{
#include "../resources/toolbar_play.c"
#include "../resources/toolbar_pause.c"
#include "../resources/toolbar_add_memorycheck.c"
#include "../resources/toolbar_debugger_delete.c"
#include "../resources/toolbar_add_breakpoint.c"
#include "../../resources/toolbar_play.c"
#include "../../resources/toolbar_pause.c"
#include "../../resources/toolbar_add_memorycheck.c"
#include "../../resources/toolbar_debugger_delete.c"
#include "../../resources/toolbar_add_breakpoint.c"
}
class CPluginInfo;

View File

@ -64,11 +64,11 @@
extern "C" // Bitmaps
{
#include "../resources/toolbar_play.c"
#include "../resources/toolbar_pause.c"
#include "../resources/toolbar_add_memorycheck.c"
#include "../resources/toolbar_debugger_delete.c"
#include "../resources/toolbar_add_breakpoint.c"
#include "../../resources/toolbar_play.c"
#include "../../resources/toolbar_pause.c"
#include "../../resources/toolbar_add_memorycheck.c"
#include "../../resources/toolbar_debugger_delete.c"
#include "../../resources/toolbar_add_breakpoint.c"
}
// Save and load settings

View File

@ -29,7 +29,7 @@
#include <vector>
#include "CDUtils.h"
#include "CodeWindow.h"
#include "Debugger/CodeWindow.h"
#include "LogWindow.h"
#if defined(HAVE_X11) && HAVE_X11
#include "X11Utils.h"

View File

@ -20,7 +20,7 @@
#include "Console.h"
#include "IniFile.h"
#include "FileUtil.h"
#include "DebuggerUIUtil.h"
#include "Debugger/DebuggerUIUtil.h"
#include <wx/fontmap.h>
// Milliseconds between msgQueue flushes to wxTextCtrl

View File

@ -36,8 +36,8 @@
#include "Globals.h" // Local
#include "Main.h"
#include "ConfigManager.h"
#include "CodeWindow.h"
#include "JitWindow.h"
#include "Debugger/CodeWindow.h"
#include "Debugger/JitWindow.h"
#include "ExtendedTrace.h"
#include "BootManager.h"
#include "Frame.h"

View File

@ -38,22 +38,22 @@ else:
'WiimoteConfigDiag.cpp',
'WXInputBase.cpp',
'WxUtils.cpp',
'BreakpointDlg.cpp',
'BreakpointView.cpp',
'BreakpointWindow.cpp',
'CodeView.cpp',
'CodeWindow.cpp',
'CodeWindowFunctions.cpp',
'DebuggerPanel.cpp',
'DebuggerUIUtil.cpp',
'DSPDebugWindow.cpp',
'DSPRegisterView.cpp',
'JitWindow.cpp',
'MemoryCheckDlg.cpp',
'MemoryView.cpp',
'MemoryWindow.cpp',
'RegisterView.cpp',
'RegisterWindow.cpp',
'Debugger/BreakpointDlg.cpp',
'Debugger/BreakpointView.cpp',
'Debugger/BreakpointWindow.cpp',
'Debugger/CodeView.cpp',
'Debugger/CodeWindow.cpp',
'Debugger/CodeWindowFunctions.cpp',
'Debugger/DebuggerPanel.cpp',
'Debugger/DebuggerUIUtil.cpp',
'Debugger/DSPDebugWindow.cpp',
'Debugger/DSPRegisterView.cpp',
'Debugger/JitWindow.cpp',
'Debugger/MemoryCheckDlg.cpp',
'Debugger/MemoryView.cpp',
'Debugger/MemoryWindow.cpp',
'Debugger/RegisterView.cpp',
'Debugger/RegisterWindow.cpp',
'VideoConfigDiag.cpp',
]

View File

@ -31,7 +31,7 @@
#include "VertexShaderManager.h"
#include "Core.h"
#include "DebuggerPanel.h"
#include "Debugger/DebuggerPanel.h"
#include "DLCache.h"
#include "EmuWindow.h"
#include "FileUtil.h"

View File

@ -25,7 +25,7 @@
#endif // HAVE_WX
#if defined(HAVE_WX) && HAVE_WX
#include "DebuggerPanel.h"
#include "Debugger/DebuggerPanel.h"
#endif // HAVE_WX
#include "MainBase.h"

View File

@ -63,7 +63,7 @@ Make AA apply instantly during gameplay if possible
#if defined(HAVE_WX) && HAVE_WX
#include "VideoConfigDiag.h"
#include "DebuggerPanel.h"
#include "Debugger/DebuggerPanel.h"
#endif // HAVE_WX
#include "MainBase.h"