annotate src/video/uikit/jump.c @ 2399:d904584ea86d gsoc2008_iphone

Added SDL_WindowData for UIKit video driver. Now looks up instances here instead of assuming we're referring to a singleton.
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Tue, 22 Jul 2008 22:59:59 +0000
parents 5c27688b08cf
children
rev   line source
2356
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
1 /*
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
2 * jump.c
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
3 * iPodSDL
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
4 *
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
5 * Created by Holmes Futrell on 7/2/08.
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
6 * Copyright 2008 __MyCompanyName__. All rights reserved.
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
7 *
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
8 */
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
9
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
10 #include "jump.h"
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
11
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
12 jmp_buf env;
5c27688b08cf These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
13 jmp_buf *jump_env() { return &env; }