some win32 template so shuffle can implement the win32 side

the code in the .cpp was taken from SMFL source


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1966 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-01-20 23:09:24 +00:00
parent 8f2d1136a7
commit a3b9c39fbf
3 changed files with 432 additions and 2 deletions

View File

@ -46,12 +46,19 @@ protected:
EventHandler* eventHandler;
res origRes, currFullRes, currWinRes;
std::vector<res> fullResolutions;
static std::vector<res> fullResolutions;
virtual void SetRender(u32 x, u32 y) {
xRender = x;
yRender = y;
}
static const std::vector<res>& getFsResolutions() {
return fullResolutions;
}
static void addFSResolution(res fsr) {
fullResolutions.push_back(fsr);
}
public:
virtual void SwapBuffers() {};
@ -121,7 +128,8 @@ public:
updateDim();
}
// setResolution
// resolution iter
};