Search found 300 matches

by lassar
Jul 14, 2018 7:31
Forum: General
Topic: How do get libhqx-1.dll to work? (Solved)
Replies: 9
Views: 984

Re: How do get libhqx-1.dll to work?

You are right about the graphics screen, but it hangs.

When it comes to leaving the subroutine it hangs.

No way to leave the dll.
by lassar
Jul 14, 2018 1:48
Forum: General
Topic: How do get libhqx-1.dll to work? (Solved)
Replies: 9
Views: 984

Re: How do get libhqx-1.dll to work?

On a related note, I have been trying to convert a program to a dll. Trying to create a JPEG loader dll. When I include the jpeg code in the program it displays the jpeg. But when I make a dll out of it, It won't display the jpeg. It looks like freebasic does not support graphics in dll's ! Tried cr...
by lassar
Jul 13, 2018 15:55
Forum: General
Topic: How do get libhqx-1.dll to work? (Solved)
Replies: 9
Views: 984

How do get libhqx-1.dll to work? (Solved)

I have been trying to use libhqx-1.dll in a program. but all I get is the compiler
can't find libhqx-1.dll .

libhqx-1.dll is in the same directory as the program.

How do I fix this?
by lassar
Jul 12, 2018 0:35
Forum: General
Topic: How do you do a directx wrapper?
Replies: 1
Views: 310

How do you do a directx wrapper?

I have been trying to figure out how to improve my 640 by 480 program. Think the fonts would look better in the 1280 by 960 32 bit resolution. To avoid a lot of work, I think a directx wrapper with hq2x scaler would be the easiest way. Does anyone know of a directx wrapper that already does this. If...
by lassar
Jul 12, 2018 0:17
Forum: General
Topic: Can't get 1280x960 screen mode working
Replies: 7
Views: 563

Re: Can't get 1280x960 screen mode working

I expect that making chances in scale and layout would affect
the desktop and GDI programs, but not in full screen mode.

Did not change the dpi settings.

This is definitely a microsoft bug.
by lassar
Jul 10, 2018 20:58
Forum: General
Topic: A directx wrapper that can scale 2x?
Replies: 0
Views: 601

A directx wrapper that can scale 2x?

Does anyone know of a directx wrapper that can scale 2x

Preferably hq2x?

I have a program with a 640x480 resolution screen I want to scale up to 1280x960.
by lassar
Jul 10, 2018 14:09
Forum: General
Topic: Can't get 1280x960 screen mode working
Replies: 7
Views: 563

Re: Can't get 1280x960 screen mode working

I found the bug.

It's microsoft's bug!

In display setting, had the scale and layout at 150%

Did not change the dpi settings.

This did not mess with 640x480, but messed up 1280x960.

I hate bugs, especially microsoft bugs.
by lassar
Jul 09, 2018 2:51
Forum: General
Topic: Can't get 1280x960 screen mode working
Replies: 7
Views: 563

Can't get 1280x960 screen mode working

Have been using a 640x480 fullscreen resolution in a program. Trying to get double the fullscreen resolution, for better looking fonts. Have a windows 10 intel computer with intel graphics. My monitor's resolution is 1920 by 1080. Did a ScreenList(32) and it shows 1280x960 as a valid resolution. Loa...
by lassar
Jul 04, 2018 0:47
Forum: Community Discussion
Topic: Any examples of directx loading shaders?
Replies: 1
Views: 484

Any examples of directx loading shaders?

Looking for directx examples loading pixel shaders.

Want to use directx to load pixel art scalers to resize pixel art.

Anyone have any examples?
by lassar
Jul 03, 2018 11:36
Forum: Community Discussion
Topic: How do I convert old vga fonts to drawstring font?
Replies: 6
Views: 1145

Re: How do I convert old vga fonts to drawstring font?

I figured out how to improve the vga font using xbrz 2x scaler.

Does DrawString support transparency using alpha mode?
by lassar
Jul 02, 2018 3:43
Forum: Community Discussion
Topic: How do I convert old vga fonts to drawstring font?
Replies: 6
Views: 1145

How do I convert old vga fonts to drawstring font?

I have some vga 8x16 fonts, that I want to convert to drawstring fonts.

I can convert them easy enough to bitmap fonts.

They will need to be anti-aliased, and then converted to drawstring fonts.

Any idea how I can anti-alias them, and then convert them to drawstring fonts?
by lassar
Jun 25, 2018 11:27
Forum: General
Topic: How you use a shader in freebasic?
Replies: 4
Views: 431

How you use a shader in freebasic?

I am wanting to use either a hq2x OR xbrz GLSL shader in freebasic.

The best I can figure out is to maybe use opengl.

Does anyone have any code examples to use a shader in freebasic?

If one doubles the resolution, what happens to the relative size of the mouse cursor?
by lassar
Feb 15, 2018 19:53
Forum: Linux
Topic: How do I detect if a file is symbolic link?
Replies: 6
Views: 4515

Re: How do I detect if a file is symbolic link?

I was going the .bi files, and found readlink function. #LANG "fblite" #include "file.bi" #include "dir.bi" #include "crt/linux/unistd.bi" DECLARE FUNCTION GetRealink$(FilePath$) PRINT "Get real path of /lib/libm.so.6" DirName$ = GetRealink$("/l...
by lassar
Feb 15, 2018 16:10
Forum: Linux
Topic: How do I detect if a file is symbolic link?
Replies: 6
Views: 4515

How do I detect if a file is symbolic link?

How do I detect if a file is symbolic link?

Can you detect a symbolic link using DIR()?
by lassar
Jan 02, 2018 4:08
Forum: Linux
Topic: How do I install freebasic in ubuntu xenial?
Replies: 4
Views: 1618

How do I install freebasic in ubuntu xenial?

How do I install freebasic in ubuntu xenial?

I have checked the forum and all the post is rather old.

What I need to know about is the dependences.

Go to advanced search