Skip to content

Commit

Permalink
Delete some outdated xp theme stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Sep 20, 2015
1 parent ea271dd commit d746d21
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 648 deletions.
11 changes: 1 addition & 10 deletions Windows/Debugger/Debugger_Disasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
#include "base/stringutil.h"
#include "util/text/utf8.h"

#ifdef THEMES
#include "Windows/XPTheme.h"
#endif

#include "Common/CommonWindows.h"
#include <windowsx.h>
#include <commctrl.h>
Expand Down Expand Up @@ -95,18 +91,13 @@ LRESULT CALLBACK FuncListProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lPa
return (LRESULT)CallWindowProc((WNDPROC)DefFuncListProc,hDlg,message,wParam,lParam);
}

CDisasm::CDisasm(HINSTANCE _hInstance, HWND _hParent, DebugInterface *_cpu) : Dialog((LPCSTR)IDD_DISASM, _hInstance, _hParent)
{
CDisasm::CDisasm(HINSTANCE _hInstance, HWND _hParent, DebugInterface *_cpu) : Dialog((LPCSTR)IDD_DISASM, _hInstance, _hParent) {
cpu = _cpu;
lastTicks = PSP_IsInited() ? CoreTiming::GetTicks() : 0;
keepStatusBarText = false;
hideBottomTabs = false;

SetWindowText(m_hDlg, ConvertUTF8ToWString(_cpu->GetName()).c_str());
#ifdef THEMES
//if (WTL::CTheme::IsThemingSupported())
//EnableThemeDialogTexture(m_hDlg ,ETDT_ENABLETAB);
#endif

RECT windowRect;
GetWindowRect(m_hDlg,&windowRect);
Expand Down
7 changes: 0 additions & 7 deletions Windows/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@
#include "UI/OnScreenDisplay.h"
#include "Windows/MainWindowMenu.h"

#ifdef THEMES
#include "XPTheme.h"
#endif

#define MOUSEEVENTF_FROMTOUCH_NOPEN 0xFF515780 //http://msdn.microsoft.com/en-us/library/windows/desktop/ms703320(v=vs.85).aspx
#define MOUSEEVENTF_MASK_PLUS_PENTOUCH 0xFFFFFF80

Expand Down Expand Up @@ -142,9 +138,6 @@ namespace MainWindow
}

void Init(HINSTANCE hInstance) {
#ifdef THEMES
WTL::CTheme::IsThemingSupported();
#endif
// Register classes - Main Window
WNDCLASSEX wcex;
memset(&wcex, 0, sizeof(wcex));
Expand Down
1 change: 0 additions & 1 deletion Windows/PPSSPP.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,6 @@
<ClInclude Include="W32Util\PropertySheet.h" />
<ClInclude Include="W32Util\ShellUtil.h" />
<ClInclude Include="W32Util\TabControl.h" />
<ClInclude Include="W32Util\XPTheme.h" />
<ClInclude Include="InputBox.h" />
<ClInclude Include="MainWindow.h" />
<ClInclude Include="DSoundStream.h" />
Expand Down
3 changes: 0 additions & 3 deletions Windows/PPSSPP.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,6 @@
<ClInclude Include="W32Util\ShellUtil.h">
<Filter>Windows\W32Util</Filter>
</ClInclude>
<ClInclude Include="W32Util\XPTheme.h">
<Filter>Windows\W32Util</Filter>
</ClInclude>
<ClInclude Include="InputBox.h">
<Filter>Windows\UI</Filter>
</ClInclude>
Expand Down
Loading

0 comments on commit d746d21

Please sign in to comment.