dewyatt
3d5a6d8597
Initial IMM implementation.
...
IME input should now work fairly well.
2010-07-12 11:33:27 -04:00
dewyatt
2f1a5c4653
Changed StopTextInput to take an SDL_Window parameter.
2010-07-10 13:15:47 -04:00
dewyatt
2beaeb4080
Changed StartTextInput to take an SDL_Window parameter.
2010-07-08 01:35:47 -04:00
Sam Lantinga
9807496e30
Fixed fullscreen window position
...
Fixed position calculation for centered windows
2010-07-06 08:22:36 -07:00
dewyatt
9fad608a86
Added missing line to make things compile.
2010-07-06 03:27:22 -04:00
dewyatt
a9eb1670a1
Added empty text input functions for win32.
2010-07-06 02:34:49 -04:00
dewyatt
07e6c52137
Merge
2010-07-06 02:07:42 -04:00
dewyatt
bfba97da7f
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
2010-07-06 02:06:17 -04:00
dewyatt
56aecc4828
Added mouse button click to toggle IMM.
2010-07-06 02:00:15 -04:00
Sam Lantinga
8145b50223
Merged changes from default
2010-07-05 22:48:35 -07:00
Sam Lantinga
320eb4600b
Cleaned up the mouse window focus handling: you always pass in the relative window when sending a mouse event.
...
Fixed a bug where only mouse wheel up was sent on Mac OS X
Fixed a bug where mouse window focus was getting hosed by the fullscreen mouse code on Mac OS X
2010-07-05 22:48:13 -07:00
Sam Lantinga
8cafde92ae
Removed obsolete test program. Ryan may resurrect it when the new multi-mouse code is implemented.
2010-07-05 22:45:45 -07:00
Sam Lantinga
baf073e263
Fixed usage message - it shouldn't have a printf format specifier
2010-07-05 22:45:15 -07:00
Sam Lantinga
d376b59257
Removed SDL.lib and SDLmain.lib from the projects since the dependencies are set up properly.
2010-07-05 18:18:25 -07:00
Sam Lantinga
05acefbdd3
Added dependencies on SDL.lib and SDLmain.lib to the test programs
2010-07-05 17:14:37 -07:00
Sam Lantinga
cd68729bb4
Split out the Visual C++ 2005 and 2008 projects explicitly.
...
Added the test programs to the Visual C++ 2008 project.
--HG--
rename : VisualC/SDL/SDL.vcproj => VisualC/SDL/SDL_VS2005.vcproj
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
rename : VisualC/SDLmain/SDLmain.vcproj => VisualC/SDLmain/SDLmain_VS2005.vcproj
rename : VisualC/tests/automated/automated.vcproj => VisualC/tests/automated/automated_VS2008.vcproj
rename : VisualC/tests/checkkeys/checkkeys.vcproj => VisualC/tests/checkkeys/checkkeys_VS2005.vcproj
rename : VisualC/tests/graywin/graywin.vcproj => VisualC/tests/graywin/graywin_VS2005.vcproj
rename : VisualC/tests/loopwave/loopwave.vcproj => VisualC/tests/loopwave/loopwave_VS2005.vcproj
rename : VisualC/tests/testalpha/testalpha.vcproj => VisualC/tests/testalpha/testalpha_VS2005.vcproj
rename : VisualC/tests/testdraw2/testdraw2.vcproj => VisualC/tests/testdraw2/testdraw2_VS2005.vcproj
rename : VisualC/tests/testfile/testfile.vcproj => VisualC/tests/testfile/testfile_VS2005.vcproj
rename : VisualC/tests/testgamma/testgamma.vcproj => VisualC/tests/testgamma/testgamma_VS2005.vcproj
rename : VisualC/tests/testgl/testgl.vcproj => VisualC/tests/testgl/testgl_VS2005.vcproj
rename : VisualC/tests/testgl2/testgl2.vcproj => VisualC/tests/testgl2/testgl2_VS2005.vcproj
rename : VisualC/tests/testjoystick/testjoystick.vcproj => VisualC/tests/testjoystick/testjoystick_VS2005.vcproj
rename : VisualC/tests/testoverlay/testoverlay.vcproj => VisualC/tests/testoverlay/testoverlay_VS2005.vcproj
rename : VisualC/tests/testoverlay2/testoverlay2.vcproj => VisualC/tests/testoverlay2/testoverlay2_VS2005.vcproj
rename : VisualC/tests/testpalette/testpalette.vcproj => VisualC/tests/testpalette/testpalette_VS2005.vcproj
rename : VisualC/tests/testplatform/testplatform.vcproj => VisualC/tests/testplatform/testplatform_VS2005.vcproj
rename : VisualC/tests/testpower/testpower.vcproj => VisualC/tests/testpower/testpower_VS2005.vcproj
rename : VisualC/tests/testsprite/testsprite.vcproj => VisualC/tests/testsprite/testsprite_VS2005.vcproj
rename : VisualC/tests/testsprite2/testsprite2.vcproj => VisualC/tests/testsprite2/testsprite2_VS2005.vcproj
rename : VisualC/tests/testvidinfo/testvidinfo.vcproj => VisualC/tests/testvidinfo/testvidinfo_VS2005.vcproj
rename : VisualC/tests/testwin/testwin.vcproj => VisualC/tests/testwin/testwin_VS2005.vcproj
rename : VisualC/tests/testwm/testwm.vcproj => VisualC/tests/testwm/testwm_VS2005.vcproj
2010-07-05 17:10:34 -07:00
Sam Lantinga
e03c43c49b
Fixed revision type for SDL 1.3
2010-07-05 13:10:47 -07:00
Sam Lantinga
02dc648ea2
Added missing file to the automated test project
2010-07-05 13:10:31 -07:00
Sam Lantinga
feac47e6de
Make sure SDL gets installed to the correct prefix for the new cross-compiler tools.
2010-07-05 12:41:28 -07:00
Sam Lantinga
7ea6ef0d5a
Fixed compile warning with latest mingw32 compiler
2010-07-05 12:32:44 -07:00
dewyatt
71f0192c59
Fixed window title (from GLTSF to GLIMM).
2010-07-04 06:15:42 -04:00
dewyatt
6d7e820588
Added Get_IMM method to Window.
...
Added focus gain/loss events for IMM.
2010-07-04 06:07:38 -04:00
dewyatt
825ef53157
Added GLIMM (using IMM instead of TSF)
...
Uses small bit of TSF to fully disable cicero (TSF for non-TSF enabled apps)
2010-06-30 17:29:20 -04:00
Sam Lantinga
5f38782163
Typo in documentation
2010-06-27 23:17:36 -07:00
dewyatt
cbda698ad4
Added condition check macros to make the code clear and easier to debug.
...
Updated code to use macros.
2010-06-27 22:03:08 -04:00
Sam Lantinga
09f20dba54
Removed one more use of ()
2010-06-26 08:58:06 -07:00
Sam Lantinga
95fbd50b15
Mostly cleaned up warnings with -Wmissing-prototypes
2010-06-26 08:56:48 -07:00
dewyatt
4b2cb56c12
Starting to implement ITextStoreACP.
...
It's very incomplete and will probably change quite a bit but it's a start.
ITextStoreACP is the minimum interface to be considered TSF-aware.
2010-06-21 17:16:37 -04:00
Sam Lantinga
b46edfbdc6
Hello Sam.
...
I did fix/update the SDL 1.3 pandora port today ( 11 june 2010 ) and you can find the "hg diff" attached :)
David Carré ( Cpasjuste )
2010-06-17 22:23:20 -07:00
Sam Lantinga
8840de14d1
Fixed mouse focus window reporting
...
FIXME: Should the window be a parameter to the mouse events again?
2010-06-17 12:33:05 -07:00
dewyatt
4ec949ec5b
Added support for On_Resized event to App.
...
Added OpenGL code to draw a rotating triangle.
Rearranged main loop code.
2010-06-12 03:21:54 -04:00
dewyatt
f5b3329281
Renamed Window::Update to Window::Handle_Events.
...
Removed Window::Clear.
Added Window::Show_Cursor/Hide_Cursor.
Added On_Resized event.
2010-06-12 03:19:43 -04:00
dewyatt
fca96b4c82
Added vs2008 project files for GLTSF (2008 is much faster on my old computer)
2010-06-11 18:32:18 -04:00
dewyatt
36437b89ca
Added else to make things clear.
2010-06-09 21:36:32 -04:00
dewyatt
649b23090a
Added On_Char method to Window_Listener for WM_CHAR messages.
...
Removed a lot of TSF code because part of it was wrong and part was too complicated.
Added Clear method to clear the window.
IME input should work in both windowed mode and fullscreen mode with these changes.
I have tested on Windows XP SP3 and Windows 7 Ultimate in VirtualBox.
When you type a character (with an IME or not), the console will show the code point as U+XXXX.
You use Left Alt+Shift (or whatever you have it set to) to switch input languages as usual.
Hit ESC to exit (or close the window in windowed mode).
The program will pause before exiting so you can review the console output (press a key to exit).
2010-06-09 00:03:54 -04:00
dewyatt
52def78851
Change SDL to not use DefWindowProc as the window class' window procedure.
...
For some reason, having lpfnWndProc=DefWindowProc during window class registration causes IME input to not work in windows.
With this small change, IME input should now work in SDL windows but not in fullscreen mode.
2010-06-08 05:22:49 -04:00
Sam Lantinga
82f6deccfd
Fixed wording for consistency
2010-06-06 21:09:45 -07:00
dewyatt
a1f1bc8952
Implementing base parts of TSF
2010-05-30 15:48:16 -04:00
dewyatt
301e0597a3
Adding some initial TSF code
2010-05-27 20:47:52 -04:00
dewyatt
249f46e706
Adding GLTSF (somewhat based on SFML, no actual TSF code yet)
2010-05-25 18:53:09 -04:00
Sam Lantinga
52154ae7e4
SDL_KillThread() is no longer supported - it was always dangerous! :)
2010-05-24 22:56:36 -07:00
Sam Lantinga
21099fe988
author Eric Wing <ewing . public |-at-| gmail . com>
...
Wed May 12 12:49:28 2010 -0700 (5 days ago)
Added the automated test plist file and modified .hgignore to be less aggressive.
Discovered that the new plist file for the automated test was not checked in because the .hgignore file was too aggressive. I changed the .hgignore to not ignore the Xcode directory and instead added a longer list of things to ignore.
2010-05-17 23:13:33 -07:00
Eric Wing
9919f22b4f
Added the automated test plist file and modified .hgignore to be less aggressive.
...
Discovered that the new plist file for the automated test was not checked in because the .hgignore file was too aggressive. I changed the .hgignore to not ignore the Xcode directory and instead added a longer list of things to ignore.
2010-05-12 12:49:28 -07:00
Sam Lantinga
338f95eb06
Removed multi-mouse / multi-keyboard support in anticipation of a real multi-mouse and multi-touch API.
...
Plus, this lets me start implementing cursor support.
2010-05-09 20:47:22 -07:00
Sam Lantinga
d12afdaedb
Add a default revision string if we can't find hg
2010-05-09 19:55:28 -07:00
Sam Lantinga
36bb08a19e
Don't assume .bashrc exists. :)
2010-05-09 19:51:21 -07:00
Sam Lantinga
cc3f18a315
Tagging version before everything gets ripped out.
2010-05-09 17:00:56 -07:00
Sam Lantinga
76cf0cd0c0
Make the compiler even happier
2010-05-09 16:16:11 -07:00
Sam Lantinga
2a8171b8b7
Make sure events are current before flushing them.
2010-05-09 16:15:14 -07:00
Sam Lantinga
906341c826
Added missing header
2010-05-09 15:47:21 -07:00