| Summary: | Patch to split SDL_uikitviewcontroller in its own module | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Kees Bakker <kees> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | icculus |
| Version: | HG 2.0 | ||
| Hardware: | iPhone/iPod touch | ||
| OS: | iOS (All) | ||
| Attachments: | The patch | ||
Created attachment 675 [details]
The patch
This is sitting in my sandbox repo now. I'll move this over to the main repo and resolve this bug soon. Thanks! --ryan. This is in the main repo now, thanks! --ryan. |
The code for SDL_uikitviewcontroller is in src/video/uikit/SDL_uikitview.h and in src/video/uikit/SDL_uikitwindow.m. For new developers it is not immediately clear where the code for SDL_uikitviewcontroller is. The attached ("hg export") patch creates src/video/uikit/SDL_uikitviewcontroller.h and src/video/uikit/SDL_uikitviewcontroller.m. The code itself wasn't changed, just copied to a new module. It makes the resulting uikit code a little cleaner.