Search found 1563 matches

by DrV
Sep 06, 2008 17:12
Forum: Windows
Topic: Anyone know of an compiler that makes really fast EXEs?
Replies: 6
Views: 1906

In any case, if it isn't FreeBASIC, this isn't the place to discuss it.
by DrV
Sep 06, 2008 17:09
Forum: Game Dev
Topic: SDL and Joysticks...
Replies: 1
Views: 1867

I am not familiar with the SDL joystick support, but FB's built-in GetJoystick supports multiple devices as well (see the first parameter).
by DrV
Sep 05, 2008 15:07
Forum: DOS
Topic: QB45 & VBDOS Libraries and FreeBasic
Replies: 6
Views: 3587

Even if the same object and library file formats were used, QB code is still 16-bit code, not suitable for use with FreeBASIC. You cannot use or convert QB lib or obj files in any way that would make them useful with FreeBASIC. If you have the source code to these object and library files, it could ...
by DrV
Sep 03, 2008 20:48
Forum: Community Discussion
Topic: Chrome is fast!
Replies: 26
Views: 5250

I saw the weird text entry problem too, except it doesn't actually act as if insert is pressed - it just looks that way. If you cause the page to be redrawn (switch away from and back to the Chrome window), all your text will still be there as you typed it.
by DrV
Sep 03, 2008 3:19
Forum: Beginners
Topic: Sizeof Array question
Replies: 19
Views: 4094

Perhaps you want UBound?
by DrV
Sep 03, 2008 3:06
Forum: Community Discussion
Topic: Mumbling about RAD
Replies: 26
Views: 6790

I've thought about writing a GUI toolkit and IDE for quite a while myself, but I don't think the time is quite right yet - I think it would be best to have more OOP features (at the very least, virtual methods and inheritance) to make the interface cleaner (and I would not want to rewrite the whole ...
by DrV
Sep 03, 2008 2:55
Forum: Community Discussion
Topic: Freebasic's grammar
Replies: 6
Views: 1840

The grammar could be extracted by hand; there's still (informal) bits of it all around the parser (probably not complete, but a start, at least). However, as cha0s said, if you want to help along the Mac port, it'd be better to help with the C emitter (start at src/compiler/ir-hlc.bas), or if you ha...
by DrV
Sep 02, 2008 21:28
Forum: General
Topic: Offscreen Buffer vs Writing Directly to ScreenPtr
Replies: 5
Views: 1132

The fbgfx "screen" is just yet another offscreen system memory buffer. There is no benefit to adding another layer here. You can never directly write to the video memory with fbgfx.
by DrV
Sep 02, 2008 14:56
Forum: Documentation
Topic: True is false and false is true with ChDir?
Replies: 5
Views: 3642

The return value is not "true or false"; it's "success or failure". It does seem a little backwards to me as well, but that was the convention chosen (0 means success on most FB runtime functions that return a value).
by DrV
Sep 01, 2008 15:41
Forum: Windows
Topic: Determining the version of Windows.
Replies: 3
Views: 1386

Check out GetVersion and GetVersionEx on MSDN; that said, Windows version detection is a big mess, with some versions faking replies to make old programs run and so forth, so unless you really need to know the actual version, it is usually better to test for features.
by DrV
Aug 26, 2008 12:45
Forum: Linux
Topic: [Solved] Linux apps start in lower left corner of screen
Replies: 19
Views: 5424

To clarify, the h value from fb_hX11EnterFullscreen is usually the same as fb_x11.h; it would differ in the case that there is no matching resolution but there is a mode with a larger height but equal width (then the window will still take up the entire screen, but the blitter will copy to the cente...
by DrV
Aug 25, 2008 16:50
Forum: Linux
Topic: [Solved] Linux apps start in lower left corner of screen
Replies: 19
Views: 5424

These changes solved my problem with centering the window, but during testing I realized that the function XresizeWindow() was causing the display problems that I have been having so I made one more change to lib_gfx_driver_x11.c if (fb_x11.flags & (DRIVER_CENTER)) XMoveResizeWindow(fb_x11.disp...
by DrV
Aug 25, 2008 0:23
Forum: General
Topic: URLDownloadToFile
Replies: 3
Views: 1622

Where is URLDownloadToFile declared? I do not find it in any of the existing FB headers.
by DrV
Aug 24, 2008 4:17
Forum: Linux
Topic: [Solved] Linux apps start in lower left corner of screen
Replies: 19
Views: 5424

Sounds fine to me too; I wouldn't be opposed to having a flag to start centered. Starting hidden seems a bit less useful to me, but I guess it could be ok (how would you show it later?).
by DrV
Aug 24, 2008 4:14
Forum: Linux
Topic: [solved] Mouse wheel bug
Replies: 2
Views: 1303

Thanks, fixed in r5092.

Go to advanced search