michaeljustman said:Is it open-source?
SDL_Rect rect = {0, 0, 320, 240};
Uint32 colwhite = SDL_MapRGB(screen->format, 255,255,255);
SDL_FillRect(screen, &rect, colwhite);
Spykez said:michaeljustman said:Is it open-source?
plan on making it a disco ball light?
Hardyx said:If you permit me, I want to show some tricks:
You don't need a white bitmap image, you can use a function to fill the screen in white colour.
Then, you can use a little image for the title if you want.
Code:SDL_Rect rect = {0, 0, 320, 240}; Uint32 colwhite = SDL_MapRGB(screen->format, 255,255,255); SDL_FillRect(screen, &rect, colwhite);
And finally, don't link with SDL_mixer library, you don't need it.
Regards.
momosxp said:JWM2 it freezes after the second time you start it because of GLBasic. There is the new GLBasiv v7 Beta where the problem is solved now.
Another flashlight app. (JWM2 already wrote one, He had this idea before )
greenmikey said:I keep reading fleshlight instead of flashlight when I read this on the front page.