nJoy: GUI update

- Config GUI now uses wxWidgets (should work in linux!)
- The alignment of text may look crappy in linux, so we still need to fix that.
- Opening the config GUI takes time, crappy XPM image of the controller loads slow (cant we use BMP files???) (line 240)
- Stupid GUI bug present when switching between a default joystick and one with no hat. (line 381)
- For some reason setting the value of a wxTextCtrl doesnt gets updated immediately (line 559)
- If you're using windows and dont want to use wxWidgets for the GUI, you can still use the old one by removing #define USE_WXWIDGETS from nJoy.h line 33.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@95 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Laurence Muller
2008-07-29 22:26:42 +00:00
parent 7894e6c9e9
commit 53ba40fd7f
10 changed files with 1640 additions and 33 deletions

View File

@ -30,6 +30,7 @@
//////////////////////////////////////////////////////////////////////////////////////////
// whole file... until we fix the GUI
#ifndef USE_WXWIDGETS
#ifdef _WIN32
#include <windows.h> // includes basic windows functionality
@ -39,8 +40,6 @@
#include "../Res/resource.h" // includes GUI IDs
#pragma comment(lib, "comctl32.lib")
//////////////////////////////////////////////////////////////////////////////////////////
// Config dialog functions
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
@ -72,3 +71,4 @@ void OpenAbout(HINSTANCE hInst, HWND _hParent);
BOOL CALLBACK AboutDlg(HWND abouthWnd, UINT message, WPARAM wParam, LPARAM lParam);
#endif
#endif