don't have frame around window when running in Windows |
don't have frame around window when running in Windows |
David Olofson
Guest
|
On Mon, Jul 25, 2016 at 4:35 AM, bilsch01 wrote:
[...]
This sounds like a bug... AFAIK, there should always be a border on platforms with windowing systems, unless you're using SDL_WINDOW_BORDERLESS. Do other SDL applications (such as the included tests) get window borders? Oh, and which Windows version are you using? -- //David Olofson - Consultant, Developer, Artist, Open Source Advocate .--- Games, examples, libraries, scripting, sound, music, graphics ---. | http://consulting.olofson.net http://olofsonarcade.com | '---------------------------------------------------------------------' _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
bilsch01
|
I went to your site and downloaded ballfield-1.0.tar.gz. It requires SDL 1.2.0 - not what I need to test SDL-2.0.3. Can you tell me a specific program to use?
DELL N4110, CPU Intel i3, Windows 7 64bit, Building for 32-bit Windows using 32-bit MinGW and 32-bit libraries and headers Bill S. |
|||||||||||
|
don't have frame around window when running in Windows |
David Olofson
Guest
|
On Mon, Jul 25, 2016 at 5:47 PM, bilsch01 wrote:
Yeah, those examples are ancient... Unless I'm forgetting something, my only open source SDL2 project so far is Kobo Redux (https://github.com/olofson/koboredux), and that's not exactly a minimal example. :-)
Not sure how you've installed SDL, but the library itself comes with a bunch of test/example programs. There are probably precompiled binaries of them somewhere, but I've never actually looked for any myself. You can either download the source code and compile some test programs from there; https://libsdl.org/download-2.0.php ...or look around for tutorials and the like, with source and binaries; http://lazyfoo.net/tutorials/SDL/ (Wasn't there a massive list of software using SDL somewhere as well...? I don't know if there is an updated one for SDL2.)
So, it's not a Windows 10 issue, at least. (It still seems to trigger or cause issues with a lot of software, so the first thing to try when having issues on Win10 is testing on any other Windows version to see if the issue remains.) -- //David Olofson - Consultant, Developer, Artist, Open Source Advocate .--- Games, examples, libraries, scripting, sound, music, graphics ---. | http://consulting.olofson.net http://olofsonarcade.com | '---------------------------------------------------------------------' _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||
|
Re: don't have frame around window when running in Windows |
bilsch01
|
Please see the program below. Originally I built and ran it in Ubuntu environment. There is a frame around the SDL window with a title in upper left corner. When my program switches operating mode or the data set being used it writes the status in the upper left (title area) of the frame using
SDL_SetWindowTitle(win1, headr) It is a very useful feature. Now I have built the program for use with Windows. It works fine except for one thing - in Windows no frame is displawed around the SDL window. So, in Windows I don't have the program status displayed. Can someone here tell me how to get the frame displayed around the the SDL window? When running in Ubuntu I have the frame, when running in Windows I don't have the frame. TIA. Bill S.
|
|||||||||||||
|
bilsch01
|
This is SDL 2.0.4
Bill S. |
|||||||||||
|