Search found 14 matches

by Franky666
Tue Nov 27, 2018 8:13 pm
Forum: Linux
Topic: Ubuntu 18.10 drops support for GTK2
Replies: 4
Views: 2711

Re: Ubuntu 18.10 drops support for GTK2

Where do you have this information from? :shock:

Really not supported anymore or just not installed by default? (I'm still on 18.04)

I mean there are still some applications out there which were never updated to GTK+3 (which is damn painful in some cases and as long as it works... :x )
by Franky666
Thu Mar 01, 2018 4:14 pm
Forum: Coding Questions
Topic: image saving algorithm
Replies: 9
Views: 2661

Re: image saving algorithm

It is hard to me to understand what you want exactly. So I might miss the topic. :mrgreen:

for this example final file is have 128 bytes. 4 tyles - blocks 8x8 pixels. but for this example only 3 tyles have "data". last one - 4 have all empty colors 0 for all 64 pixels (8x8). how to make some ...
by Franky666
Sun Feb 25, 2018 11:20 pm
Forum: Coding Questions
Topic: [Solved] User idle detection problem
Replies: 4
Views: 2102

Re: User idle detection problem

I don't have Windows so I can't test that.

But looking into the MSDN documentation of these two API functions might be helpful here:

https://msdn.microsoft.com/de-de/library/windows/desktop/ms724408(v=vs.85).aspx
The elapsed time is stored as a DWORD value. Therefore, the time will wrap around ...
by Franky666
Sun Feb 25, 2018 3:02 pm
Forum: Applications - Feedback and Discussion
Topic: PBMap - OSM, Here, Geoserver maps in a Canvas gadget
Replies: 143
Views: 69385

Re: PBMap - OSM, Here, Geoserver maps in a Canvas gadget

btw. DarkSoul is known an Franky666 here. :mrgreen:

If you don't understand german language: The program doesn't crash. It does hang in following situation:

The thread that is responsible to load the map tiles, wants to pass its PostEvent (the part of the code where the workaround is for) to the ...
by Franky666
Mon Feb 19, 2018 10:11 pm
Forum: Linux
Topic: 24 bit graphics driver mode
Replies: 3
Views: 2275

Re: 24 bit graphics driver mode

I'm on the same OS.
Can you five a code example where it happens so I can test? :D
by Franky666
Sun Feb 11, 2018 9:07 pm
Forum: Linux
Topic: Resampling problem (Audio plays too slow)
Replies: 1
Views: 2081

Re: Resampling problem (Audio plays too slow)

It's been dealt with.

I made a replacement using SDL and that is working fine. :mrgreen:
by Franky666
Sun Feb 11, 2018 9:04 pm
Forum: Linux
Topic: Red left border in CanvasGadget
Replies: 2
Views: 2335

Re: Red left border in CanvasGadget

How to workaround? I need a replacement for CatchImage() :mrgreen:
by Franky666
Sat Feb 03, 2018 11:32 pm
Forum: Linux
Topic: Red left border in CanvasGadget
Replies: 2
Views: 2335

Red left border in CanvasGadget

Hello,

Here is a bitmap file:
https://www.dropbox.com/s/zhdvzi0o1qtls3n/ex.bmp?dl=0

And here is a code snippet:

OpenWindow(0,0,0,640,480,"test")
CanvasGadget(0,0,0,640,480)
LoadImage(0, "ex.bmp")
StartDrawing(CanvasOutput(0))
DrawImage(ImageID(0),10,10)
StopDrawing()

Repeat
Until ...
by Franky666
Sat Feb 03, 2018 11:21 pm
Forum: Linux
Topic: Resampling problem (Audio plays too slow)
Replies: 1
Views: 2081

Resampling problem (Audio plays too slow)

Hello,

how can I manage to get Pure-Basic to play an audio file in the correct speed, if the sample rate of the audio file doesn't match the one used in the settings of the sound card?

Here is a snipped:
initSound()
LoadSound(0, "audio.wav")
PlaySound(0)
Debug GetSoundFrequency(0)
Delay(5000 ...
by Franky666
Mon Feb 25, 2008 8:11 pm
Forum: Applications - Feedback and Discussion
Topic: For the ascii art artists: AsciiPaint
Replies: 9
Views: 7807

Does it run on Vista? I can't test it because I don't have vista

@Rook Zimbabwe:
I also made a version in QB, that runs under DOS. I named it "AsciiArtX". I just used it for "graphical" user interfaces for the standard 80x25 text screen mode :D. Few years ago, I worked with QB until I discovered ...
by Franky666
Sun Feb 24, 2008 11:10 pm
Forum: Applications - Feedback and Discussion
Topic: For the ascii art artists: AsciiPaint
Replies: 9
Views: 7807

Oh no! :shock:

What Windows are you using?
Did you install DX 7.1 or greater? (I'm sure, you did so, but sometimes...)

The GUI works with OpenWindowedScreen(). There are just some variable declarations before opening.

It may be, because I use an older PB (3.3). I don't have enough money to buy ...
by Franky666
Sun Feb 24, 2008 10:10 pm
Forum: Applications - Feedback and Discussion
Topic: For the ascii art artists: AsciiPaint
Replies: 9
Views: 7807

Here is a picture from the main window in action:

It is a very large image. I don't know how I can show a tumbnail, which can be clicked to view it in full size

http://i30.tinypic.com/30semc5.jpg

I did some quick ascii art in the middle of the window. On the lower end from the window are the ...
by Franky666
Sun Feb 24, 2008 4:32 pm
Forum: Applications - Feedback and Discussion
Topic: For the ascii art artists: AsciiPaint
Replies: 9
Views: 7807

For the ascii art artists: AsciiPaint

I did rewrite my ascii-art application, which is named "AsciiPaint", because the older version was written for win 1.0x and does not work on modern systems. This version has a little bit old school style but I kept the look because I hate the standard skin from windows.

You can do some ascii art ...
by Franky666
Wed Jan 09, 2008 10:48 pm
Forum: Off Topic
Topic: [Funny] How to stop Internet Viruses once and for all ...
Replies: 6
Views: 1117

That's very funny! :D