Sam Lantinga
|
0cb6385637
|
File style cleanup for the SDL 2.0 release
|
2013-05-18 14:17:52 -07:00 |
|
Sam Lantinga
|
95dcfa4c28
|
Happy New Year!
|
2013-02-15 08:47:44 -08:00 |
|
Sam Lantinga
|
a1afe6c175
|
tree 5b46fd5b8c94
parent 971b278f0756
author Edward Rudd <urkle@outoforder.cc> 1358022907 18000
committer Edward Rudd <urkle@outoforder.cc> 1358022907 18000
revision 6819
branch default
Remove some redundant assigns
|
2013-02-11 21:47:13 -08:00 |
|
Sam Lantinga
|
f380ecb137
|
Removed executable bit from source files
|
2012-09-27 14:35:28 -07:00 |
|
Sam Lantinga
|
028e5dcdbd
|
Happy New Year!
|
2011-12-31 09:28:07 -05:00 |
|
Sam Lantinga
|
ad2a21d404
|
Lots of fixes importing SDL source wholesale into a new iOS project
--HG--
rename : src/libm/math.h => src/libm/math_libm.h
|
2011-10-31 05:56:58 -04:00 |
|
Sam Lantinga
|
b0660ba5ff
|
SDL 1.3 is now under the zlib license.
|
2011-04-08 13:03:26 -07:00 |
|
Sam Lantinga
|
018af55e16
|
Window coordinates are in the global space and windows are not tied to a particular display.
Also added Ctrl-Enter keybinding to the test code to toggle fullscreen mode for testing.
|
2011-02-10 14:44:25 -08:00 |
|
egottlieb
|
b72231e508
|
Create all shaped windows at -1000,-1000 and save the real coordinates.
|
2010-08-17 01:11:11 -04:00 |
|
egottlieb
|
9f396e2964
|
Condensed flag-setting code and put parantheses in the appropriate places. It was that, in the end.
|
2010-08-16 01:17:19 -04:00 |
|
Eli Gottlieb
|
80d2377e78
|
Set flag bits *exactly* as Andreas showed me in his screenshot. This shouldn't be different, but what do I know about C's order of operations?
|
2010-08-15 23:57:50 -04:00 |
|
egottlieb
|
affaf98f34
|
Added hiding-as-positioning trick and finally fixed flags.
|
2010-08-15 21:46:04 -04:00 |
|
Eli Gottlieb
|
b3840496be
|
Changed flags and positioning (for the fake-hiding) as Andreas recommended.
|
2010-08-15 18:52:57 -04:00 |
|
egottlieb
|
6d46437524
|
Mostly seem to have fixed SDL_CalculateShapeTree. Mostly. There still seem to be some rendering artifacts, stepping effects, and such on Windows -- which indicates subtle logic errors in SDL_CalculateShapeTree().
Oh well, back into the salt mine.
|
2010-08-14 20:29:51 -04:00 |
|
egottlieb
|
4e4cb86ffe
|
Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now!
|
2010-08-14 16:14:36 -04:00 |
|
Eli Gottlieb
|
0a86be6abb
|
Added SDL_SetWindowPosition() call to SDL_SetWindowShape(), going to see what this does on Windows.
|
2010-08-12 18:17:15 -04:00 |
|
Eli Gottlieb
|
25775cdb23
|
Fixed a bug in X11 shaping that refused to use color-key mode.
|
2010-08-10 16:10:26 -04:00 |
|
Eli Gottlieb
|
f294cf6a4c
|
Fixed formatting of SDL_shape.c post-merge again.
|
2010-08-09 20:32:15 -04:00 |
|
Eli Gottlieb
|
f4b4b47ab1
|
Fixed overwriting of SDL_shape.c in merge.
|
2010-08-09 20:27:45 -04:00 |
|
Eli Gottlieb
|
30693e9160
|
Reformatting code to match the rest of SDL. Variable names seem OK; replaced tabs with 4 spaces each for indentation.
|
2010-08-09 15:37:20 -04:00 |
|
egottlieb
|
56ab3ca590
|
Worked on Windows implementation and the quad-trees.
|
2010-08-02 01:54:59 -04:00 |
|
Eli Gottlieb
|
6c23f8c602
|
Fixed a couple of bugs in the general and X11 shape code, and fixed a bug in testshape that was keeping it from recognizing surfaces without alpha. Thanks to Andreas's bit-bashing tip, X11 shaped windows now work entirely, AFAICT.
|
2010-08-01 21:10:42 -04:00 |
|
Eli Gottlieb
|
d5e0ecb0f0
|
Added Andreas's patch to fix my silly C++-style errors.
|
2010-07-29 22:57:39 -04:00 |
|
Eli Gottlieb
|
9a3f51f3c5
|
Wrote out the system for breaking shape-masks into quad-trees of rectangles, and added code to conglomerate those quad-trees of rectangles into regions for setting shapes under Win32.
|
2010-07-28 23:35:24 -04:00 |
|
Eli Gottlieb
|
01cddf42c7
|
OK, it appears that dramatic hacks are not necessary to make Cocoa work...
|
2010-07-26 20:41:45 -04:00 |
|
Eli Gottlieb
|
155833dd81
|
Rejiggering the way shaped windows are created as preparation for OS X implementation. Fixed overdrive bug in test program that appears to have been introduced by someone other than myself.
|
2010-07-26 17:27:04 -04:00 |
|
Eli Gottlieb
|
6cc1b97fc5
|
More work on color-key mode.
|
2010-07-23 01:48:42 -04:00 |
|
Eli Gottlieb
|
abb4ad73c5
|
Added color-key mode and redid the code to work with it.
|
2010-07-22 23:11:01 -04:00 |
|
Eli Gottlieb
|
f9048e7257
|
Reapplied Win32 make-it-build patch. What's going on? Still get rendering artifacts when testing on x11, have literally no idea why.
|
2010-07-20 12:42:43 -04:00 |
|
Eli Gottlieb
|
70ad6fd4e9
|
Minor bugfixes. testshape now draws a shaped window with bizarre, pixellated gashes of transparency across it, and in doing so seems to hog a system resource and slow the rest of the video system down.
|
2010-07-18 23:05:40 -04:00 |
|
Eli Gottlieb
|
4922edee74
|
Added #define's for error codes returned from SDL shaped-window API.
|
2010-07-18 22:24:52 -04:00 |
|
Eli Gottlieb
|
86f3a25266
|
Rewrote test program for shaped windows. It definitely displays recognizable pictures now, but the resizing and shaping functionality isn't behaving correctly, possibly due to a miscalculation of alpha values.
|
2010-07-18 21:31:22 -04:00 |
|
Eli Gottlieb
|
21d029da3b
|
Added in Visual Studio patch.
|
2010-07-15 01:41:38 -04:00 |
|
Eli Gottlieb
|
20c4883dee
|
Numerous bug fixes that keep testeyes from crashing and dying.
|
2010-07-14 00:49:28 -04:00 |
|
Eli Gottlieb
|
c1483580f5
|
Fixed a pair of syntax errors.
|
2010-07-11 17:11:22 -04:00 |
|
Eli Gottlieb
|
7e0f1f1898
|
Ported over, to the best of my ability, the code for Win32 shaped windows and patched in the correct C syntax and coding conventions of SDL.
|
2010-07-08 22:52:49 -04:00 |
|
Eli Gottlieb
|
e5592bfb4b
|
Fixed up shape files as best I can.
|
2010-07-07 16:20:54 -04:00 |
|
Eli Gottlieb
|
9f24e9f619
|
Updated test code, updated win32 code a bit (still not complete, but hopefully tonight), and removed the last vestiges of ellipse and polygon drawing support.
|
2010-07-06 22:05:22 -04:00 |
|
Eli Gottlieb
|
ea29eee83c
|
Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
|
2010-06-30 16:19:44 -04:00 |
|
Eli Gottlieb
|
2c8b1ce8f7
|
Added Andreas's fixes to the header and stub file for SDL_shape.
|
2010-06-21 23:08:10 -04:00 |
|
Eli Gottlieb
|
00e7bc8b93
|
Replaced the model of treating a window's shape as a render target with treating a window's shape as a surface passed into an SDL_SetWindowShape() function. I'll send this off to Andreas and Sam and start coding.
|
2010-06-19 23:10:57 -04:00 |
|
Eli Gottlieb
|
3389f25629
|
Stubbed out the new get/set parameter functions, added the start of the enum, union, and struct for those parameters themselves, and added doxygen comments throughout the SDL_shape.h header.
|
2010-06-10 17:37:19 -04:00 |
|
Eli Gottlieb
|
3b75623708
|
Removed and added back SDL_shape.{c,h} wholesale. Will this get them tracked properly?
|
2010-06-05 15:07:14 -04:00 |
|
Eli Gottlieb
|
17e8b4796b
|
Took away a line break to make SDL_shape.c new. Why isn't hg tracking these two files properly?
|
2010-06-05 15:02:26 -04:00 |
|
Eli Gottlieb
|
608b696abd
|
Added the standard headers and footers that make SDL_shape.h and SDL_shape.c integrate properly into the build.
|
2010-05-27 16:44:35 -04:00 |
|
Eli Gottlieb
|
1f57c052c4
|
Moved SDL_shape.h, and building out the API as needed by SDL_Eyes.
|
2010-05-21 17:28:12 -04:00 |
|
Eli Gottlieb
|
c40fb5a65d
|
Added stub files, working on sample program SDLeyes.
|
2010-05-21 14:50:04 -04:00 |
|