Eli Gottlieb
|
6d3fa3eec4
|
Added shapes folder to hg.
|
2010-07-26 21:49:32 -04:00 |
|
Eli Gottlieb
|
5e4e70b2bf
|
Working on Cocoa implementation.
|
2010-07-26 21:48:53 -04:00 |
|
Eli Gottlieb
|
1439b491f6
|
OK, it appears that dramatic hacks are not necessary to make Cocoa work...
|
2010-07-26 20:41:45 -04:00 |
|
Eli Gottlieb
|
1ed6481157
|
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
|
0b10a1cb52
|
More work on color-key mode.
|
2010-07-23 01:48:42 -04:00 |
|
Eli Gottlieb
|
5416c894f4
|
Added color-key mode and redid the code to work with it.
|
2010-07-22 23:11:01 -04:00 |
|
Eli Gottlieb
|
e58ba0a462
|
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
|
a765c590a3
|
Put the render loop back in its right place, but with delaying functionality to keep it down to roughly 60fps, not eating up all the X11 time.
|
2010-07-19 00:24:02 -04:00 |
|
Eli Gottlieb
|
725ae8e50b
|
Boxed up the rendering loop and turned it into a redraw/update function. This makes things way more responsive, usable again.
|
2010-07-18 23:51:47 -04:00 |
|
Eli Gottlieb
|
8a85a825dc
|
Added code to make testshape switch shapes on keystrokes and exit on an ESC keystroke.
|
2010-07-18 23:36:39 -04:00 |
|
Eli Gottlieb
|
d85a315678
|
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
|
f35e180363
|
Added #define's for error codes returned from SDL shaped-window API.
|
2010-07-18 22:24:52 -04:00 |
|
Eli Gottlieb
|
4cae3679e9
|
Same place as before, but optimizing a bit to try to isolate the spot in the program that locks things up.
|
2010-07-18 22:17:52 -04:00 |
|
Eli Gottlieb
|
c78de4899e
|
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
|
61b1acb7fb
|
Updated testeyes.c. It now shows some kind of gibberish Missingno-type picture somewhere on the screen and, possibly, hangs the window system. On the upside, the Missingno is definitely a non-rectangular window.
|
2010-07-18 15:15:05 -04:00 |
|
Eli Gottlieb
|
21443b71eb
|
Added SDL_win32shape.h to version control. D'oh.
|
2010-07-18 14:47:04 -04:00 |
|
Eli Gottlieb
|
bc85c58194
|
Added in Visual Studio patch.
|
2010-07-15 01:41:38 -04:00 |
|
Eli Gottlieb
|
8445183d9e
|
Numerous bug fixes that keep testeyes from crashing and dying.
|
2010-07-14 00:49:28 -04:00 |
|
Ryan C. Gordon
|
8607c1b980
|
Check configure-defined macro before doing _anything_ with XShape.
|
2010-07-13 02:43:49 -04:00 |
|
Ryan C. Gordon
|
bf17cebd40
|
Add XShape test to configure scripts.
|
2010-07-13 02:43:10 -04:00 |
|
Ryan C. Gordon
|
5d5a40c96b
|
Removed compiled testeyes from revision control. Added it to ignore list.
|
2010-07-13 02:27:59 -04:00 |
|
Ryan C. Gordon
|
ed00333a03
|
Make sure we have XShape symbols before we allow a shaped window.
|
2010-07-13 02:26:50 -04:00 |
|
Ryan C. Gordon
|
53fa99d66d
|
Add new X11 symbols that XShape support needs to the dynamic function list.
|
2010-07-13 02:12:14 -04:00 |
|
Eli Gottlieb
|
c26d5fb04d
|
Fixed a pair of syntax errors.
|
2010-07-11 17:11:22 -04:00 |
|
Eli Gottlieb
|
7e388bf184
|
Put in a couple of fixes that I realized hadn't gotten done when I wrote out the SCRUM stuff in TODO. Added SCRUM listings in TODO.
|
2010-07-09 20:24:44 -04:00 |
|
Eli Gottlieb
|
86a73e972e
|
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
|
7dd22bb21b
|
Fixed up shape files as best I can.
|
2010-07-07 16:20:54 -04:00 |
|
Eli Gottlieb
|
02cc7bc991
|
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
|
e8b3775471
|
Added SDL_x11shape.h and removed unnecessary header includes from SDL_x11shape.c. This should help Andreas and Sam to compile the new code.
|
2010-07-02 12:05:47 -04:00 |
|
Eli Gottlieb
|
fb3fca4026
|
Added SDL_x11shape.h.
|
2010-07-02 12:02:18 -04:00 |
|
Eli Gottlieb
|
749298e6c2
|
Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
|
2010-06-30 16:19:44 -04:00 |
|
Eli Gottlieb
|
756b99c69f
|
Added Andreas's fixes to the header and stub file for SDL_shape.
|
2010-06-21 23:08:10 -04:00 |
|
Eli Gottlieb
|
c20899a378
|
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
|
390be0affb
|
Doxygen commenting is all finished up.
|
2010-06-10 17:50:38 -04:00 |
|
Eli Gottlieb
|
847ce12a33
|
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
|
5cbb32b33d
|
Fixed names of driver-specific implementation files.
|
2010-06-05 15:12:27 -04:00 |
|
Eli Gottlieb
|
2ace9d0f8c
|
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
|
042c9e80f0
|
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
|
9f0bc591c6
|
Updated SDL_shape.h by adding a line break... somehow it's not being tracked correctly.`
|
2010-06-05 15:01:40 -04:00 |
|
Eli Gottlieb
|
0566e957f7
|
Fixed up new functions and files so that they build as part of SDL.
|
2010-06-03 17:21:40 -04:00 |
|
Eli Gottlieb
|
b24db2415a
|
Stubbed out the new drawing, filling, and geometry functions for ellipses and polygons.
|
2010-06-03 16:21:04 -04:00 |
|
Eli Gottlieb
|
46c89257a5
|
Added management and drawing functions for ellipses and polygons.
|
2010-06-03 14:43:38 -04:00 |
|
Eli Gottlieb
|
fbdbdbcac3
|
Moved the SDL_Eyes test program for shaped windows into the Hg repository and got it building and linking as a test.
|
2010-05-31 21:23:06 -04:00 |
|
Eli Gottlieb
|
fee0949a87
|
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
|
46a886a498
|
Changed API for shaped windows to make it much, much simpler. A shaped window's shape mask is now accessed as a render target, which means we can get at it with blit and draw functions, as well as (most likely) OpenGL.
|
2010-05-25 00:23:41 -04:00 |
|
Eli Gottlieb
|
89f8f1be75
|
I'm actually going to have to alter this proposed API a fair bit, but it's coming along. I want to keep it as orthogonal to the rest of SDL as possible.
|
2010-05-23 01:27:09 -04:00 |
|
Eli Gottlieb
|
1e5d71184b
|
Moved SDL_shape.h, and building out the API as needed by SDL_Eyes.
|
2010-05-21 17:28:12 -04:00 |
|
Eli Gottlieb
|
0b3c3e9554
|
Added stub files, working on sample program SDLeyes.
|
2010-05-21 14:50:04 -04: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 |
|