dewyatt
42439abb5e
Changed StopTextInput to take an SDL_Window parameter.
2010-07-10 13:15:47 -04:00
dewyatt
e24912e909
Changed StartTextInput to take an SDL_Window parameter.
2010-07-08 01:35:47 -04:00
Sam Lantinga
5096ebad2f
Fixed fullscreen window position
...
Fixed position calculation for centered windows
2010-07-06 08:22:36 -07:00
dewyatt
be448bd2f8
Added missing line to make things compile.
2010-07-06 03:27:22 -04:00
dewyatt
cbce4ce856
Added empty text input functions for win32.
2010-07-06 02:34:49 -04:00
dewyatt
3e89cf84fc
Merge
2010-07-06 02:07:42 -04:00
dewyatt
e0ea931fe8
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
2010-07-06 02:06:17 -04:00
dewyatt
df56227334
Added mouse button click to toggle IMM.
2010-07-06 02:00:15 -04:00
Sam Lantinga
77b65aa14a
Merged changes from default
2010-07-05 22:48:35 -07:00
Sam Lantinga
a4b79afc6a
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
a2dd563d6c
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
f6b92912cd
Fixed usage message - it shouldn't have a printf format specifier
2010-07-05 22:45:15 -07:00
Sam Lantinga
f37a98447c
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
acc9de6fd9
Added dependencies on SDL.lib and SDLmain.lib to the test programs
2010-07-05 17:14:37 -07:00
Sam Lantinga
6931049bd6
Split out the Visual C++ 2005 and 2008 projects explicitly.
...
Added the test programs to the Visual C++ 2008 project.
2010-07-05 17:10:34 -07:00
Sam Lantinga
671e388a00
Fixed revision type for SDL 1.3
2010-07-05 13:10:47 -07:00
Sam Lantinga
ee344feef6
Added missing file to the automated test project
2010-07-05 13:10:31 -07:00
Sam Lantinga
283fbbba2b
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
280d468210
Fixed compile warning with latest mingw32 compiler
2010-07-05 12:32:44 -07:00
dewyatt
1d207df86d
Fixed window title (from GLTSF to GLIMM).
2010-07-04 06:15:42 -04:00
dewyatt
1a58481158
Added Get_IMM method to Window.
...
Added focus gain/loss events for IMM.
2010-07-04 06:07:38 -04:00
dewyatt
0599258e20
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
672bd0bbc6
Typo in documentation
2010-06-27 23:17:36 -07:00
dewyatt
042d8c63b7
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
fe6051e551
Removed one more use of ()
2010-06-26 08:58:06 -07:00
Sam Lantinga
b90f3fea9c
Mostly cleaned up warnings with -Wmissing-prototypes
2010-06-26 08:56:48 -07:00
dewyatt
c317119131
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
d89ec9302c
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
3b8277d35f
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
1501ab5243
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
cc57e7b57c
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
0ef74d648d
Added vs2008 project files for GLTSF (2008 is much faster on my old computer)
2010-06-11 18:32:18 -04:00
dewyatt
81c3f5c611
Added else to make things clear.
2010-06-09 21:36:32 -04:00
dewyatt
52d35dd5ee
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
937bf58b98
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
3a228f30bf
Fixed wording for consistency
2010-06-06 21:09:45 -07:00
dewyatt
b6b16ecd84
Implementing base parts of TSF
2010-05-30 15:48:16 -04:00
dewyatt
72b5168bca
Adding some initial TSF code
2010-05-27 20:47:52 -04:00
dewyatt
c4cce4c1eb
Adding GLTSF (somewhat based on SFML, no actual TSF code yet)
2010-05-25 18:53:09 -04:00
Sam Lantinga
b8da79e726
SDL_KillThread() is no longer supported - it was always dangerous! :)
2010-05-24 22:56:36 -07:00
Sam Lantinga
85db8e6efd
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
083a3e00de
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
4b1c945432
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
9a5b4a1a84
Add a default revision string if we can't find hg
2010-05-09 19:55:28 -07:00
Sam Lantinga
47c0e1e892
Don't assume .bashrc exists. :)
2010-05-09 19:51:21 -07:00
Sam Lantinga
6f968d9e3f
Tagging version before everything gets ripped out.
2010-05-09 17:00:56 -07:00
Sam Lantinga
861f7cd38a
Make the compiler even happier
2010-05-09 16:16:11 -07:00
Sam Lantinga
1b3a6fb5b7
Make sure events are current before flushing them.
2010-05-09 16:15:14 -07:00
Sam Lantinga
29596b2204
Added missing header
2010-05-09 15:47:21 -07:00
Sam Lantinga
0b0a5e0be5
Removed unused variables
2010-05-09 15:46:19 -07:00