I program in Linux only, but ...
I simply ask SCREENINFO about the driver.
If it is an empty string, I am in console.
(Some of the other info also confirns NOT graphics, but this is the easiest.)
Does that work in Windows, also?
Search found 283 matches
- Sep 14, 2018 8:15
- Forum: Community Discussion
- Topic: Feature request: instrisic Defines for console / gui mode
- Replies: 60
- Views: 2022
I like the idea that metadata AND directory size would be the major reasons for the slow open/close operations. If the the filesystem is the way you want to manage your data - for whatever reason - perhaps a ramdisk is your answer. It is trivial in Linux, not hard in Windows. You can do a mount with...
Sooner or later, everyone wants their program to execute faster. And, perception of language speed does influence choice of language for a project. WE know FB is fast. A beginner or even a good programmer in another language may not appreciate how fast FB really can be. (Someone: coding more tasks a...
Perhaps. But gfxlib and default palette would be missed by most if it were not on the PALETTE page. Opengl and pixel formats are on the SCREEN page. More. If it helps someone to understand better how to use the power of FB, isn't that enough reason to include a link? I agree, generally, a keyword pa...
Good start. Thank you. -------------------- Perhaps the title 'Class types' could be changed in the future to 'Complex types'. Then any non-simple, non-basic type could be listed there, also. I have no problem with a duplicate reference in different places on the same page. Obvious that a class is a...
Very good. I missed that reference page. ANY reference toward something is better than none. Putting the possibility of using a function as a type in the first level pages can at least start someone down the road. With some inspiration and imagination of some of the new, young people out there, a be...
page https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDim contains reference to https://www.freebasic.net/wiki/wikka.php?wakka=DataType This page has references to: https://www.freebasic.net/wiki/wikka.php?wakka=CatPgStdDataTypes https://www.freebasic.net/wiki/wikka.php?wakka=CatPgUserDefTypes Da...
- Jun 22, 2018 19:43
- Forum: Documentation
- Topic: topic proposal: variables: globals, shared, private
- Replies: 0
- Views: 350
New programmer: Everything declared in the main, everything shared. Simple. Textbook programmer: Everything encapsulated, nothing shared, everything referenced. SO MUCH to remember. Enthusiastic programmer: Everything pointered @. Can get to anything, anywhere, easily. So easy to segfault. None of t...
- Jun 22, 2018 19:27
- Forum: Documentation
- Topic: topic proposal: differences/changes when you move to multithread
- Replies: 4
- Views: 341
Everyone WANTS to do it, but the learning curve seems too steep. Using multithreading(MT) is certainly a different way to think, and can be a very difficult concept to correctly appreciate the changes needed. Once simple code can seem to get 10 times more complicated. Many objections always thrown o...
Hi, lizard I read with interest your testing of Linux versions. Good info. My preference has been Lubuntu, but I admit I have not taken the trouble and work you have to test others. It is a somewhat minimal Ubuntu variety, so some extra work may be needed by the user. At least it uses the Ubuntu rep...
- May 31, 2018 0:25
- Forum: Linux
- Topic: Full Screen w/multiple monitors in Ubuntu
- Replies: 5
- Views: 463
Graphics in Linux without X-windows means you have to roll-your-own with another graphics library. No X-windows in Linux pretty much means no desktop environment. I doubt you want to reinvent all of those wheels. FB graphics aren't the best, but they are pretty fast. 1 - What do you want to do that ...