Search found 821 matches
- Feb 22, 2022 13:04
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
you seem to question my knowledge of linux. i migrated to this system 2 years ago and i think i know it well. if you want to have an idea of my skills, please visit my blog here: https://www.developpez.net/forums/u1007051/quezako2016/ it's in french sorry but you can use a translation site... i spe...
- Feb 20, 2022 21:53
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
I tried to test but this library requires libwebkitgtk-1.0-0 which is obsolete under ubuntu 20.04 the new package is libwebkit2gtk-4.0-37. it would be possible to force the installation of version 1.0.0 but it could destabilize the distribution. it's not worth it. yeah well it does not actually REQ...
- Feb 20, 2022 13:44
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
oh if you want an actual "bug" then i noticed that on linux, just openwindow+closewindow triggers a GTK assert, related to gadgets, so theres some detail to be fixed :) I tried on Linux : include "window9.bi" var hmain=openwindw("",10,10,500,500) closewindow(hmain) wit...
- Feb 20, 2022 12:17
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
Where did you see aggression? I just made my position clear. hehe well "not agression", but in a harsh way... maybe you didnt even noticed :) but all that he wanted as to be able to USE the library in C, so yes all you had to do is expose the complications on that ... convert the headers,...
- Feb 19, 2022 20:17
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
oh if you want an actual "bug" then i noticed that on linux, just openwindow+closewindow triggers a GTK assert, related to gadgets, so theres some detail to be fixed
- Feb 19, 2022 20:01
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
Yes for my last sentence I was thinking also about UboundIncBin Of course, I did not just write in the help that the IncludeBinary and Catch_image functions are connected. because thats the only way to have an image buffer from pointer, since there isnt a function to get/set bitmap bits No, not the...
- Feb 19, 2022 19:40
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
I know that height can be negative, the problem is not here but there : .biSizeImage = (.biWidth*abs(.biHeight)*.biBitCount\8) biHeight is defined ulong so and filled with -16 so abs (.biHeight) -->4294967280 and not 16....... So the final size is not 1024 but a huge value. hum... so its promoting ...
- Feb 19, 2022 13:14
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
@Mysoft Catch_image is related to IncludeBinary . You are using a hacky way to deliver an image. I will not even analyze the correctness of the transferred image, but how in your example will Catch_image get the size of the buffer? Before using any hacker tricks, you need to study everything well! ...
- Feb 19, 2022 13:08
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
@Mysoft Ulong and long are same values in memory but when use as variable or structure field in calculations there is a big difference. dim as long lg=-16 dim as ulong ulg=-16 print lg,abs(lg) print ulg,abs(ulg) sleep Just to avoid futures bugs ;-) @VANYA Yes for my last sentence I was thinking als...
- Feb 19, 2022 1:55
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
@Mysoft I tested with includebinary an external bmp file without any problem. There are at least 2 problems in your BMP format : - ulong for height as -16 gives a very big number so the size is huge. Using long is better. The second point shiould not be a real problem. - in pixels(16*16*4) *4 is no...
- Feb 18, 2022 20:51
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
also as for the documentation....
for GetSizeFromFont()
for GetSizeFromFont()
doesnt GetObject() returning a LOGFONT does the trick for this one?Gets the font size. in windows there is no way to get the size for the system font that is obtained by using GetSystemDefaultFont
- Feb 18, 2022 20:04
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
Now checked all your problems on 20.04 Catch_Image , StatusBarGadget , ResizeWindow - work fine ok so lets start with those... i installed a ubuntu 20.04 VM, and got the same results and my friend with window9 (re-downloaded today), and etc... and same issues there... so lets start one thing at tim...
- Feb 18, 2022 18:37
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
Hi. Could you make this library usable from plain C? I mean plain C. I used to see C++ headers on this very thread which isn't what I'm seeking. Thanks. Update: let me make it more clear. I'm asking about a plain C compatible DLL and a plain C header. I wanted to make a binding to C# (use P/Invoke,...
- Feb 09, 2022 16:13
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
@Mysoft What version of linux did you test this on? What is the bitness of the system 32 or 64 bit? ubuntu 20.4 LTS (64bit freebasic), it does not show on the window, and even the "resize" of my "code control (main window)" fails because it draws till the status bar top position...
- Feb 09, 2022 15:38
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270843
Re: GUI library for Windows \ Linux (window9)
@Mysoft What version of linux did you test this on? What is the bitness of the system 32 or 64 bit? ubuntu 20.4 LTS (64bit freebasic), it does not show on the window, and even the "resize" of my "code control (main window)" fails because it draws till the status bar top position...