Search found 1364 matches

by jacdelad
Thu Mar 28, 2024 2:49 am
Forum: Feature Requests and Wishlists
Topic: EncodeSprite()
Replies: 2
Views: 101

EncodeSprite()

Hello, I wish to get the function EncodeSprite(), which converts a sprite into an image. For now, when taking a screenshot from a screen (opened with OpenScreen()) I have to grab the sprite and save it on disk, then reload it. This is suboptimal: Procedure ScreenToClipBoard() Protected Sprite,TempIm...
by jacdelad
Tue Mar 26, 2024 9:50 pm
Forum: 3D Programming
Topic: Vehicle question. How to remove the vehicle.
Replies: 2
Views: 166

Re: Vehicle question. How to remove the vehicle.

The vehicle is an entity, you can remove it via FreeEntity(), see CreateVehicle: https://www.purebasic.com/documentation/vehicle/createvehicle.html . Plus: The new created vehicle is a regular entity, so all entity functions can be used to manipulate a vehicle. https://www.purebasic.com/documentatio...
by jacdelad
Tue Mar 26, 2024 1:58 pm
Forum: Coding Questions
Topic: ListIcons: color of selected row, can be set?
Replies: 4
Views: 195

Re: ListIcons: color of selected row, can be set?

Blueb, I think morosh means to give selected lines a different colour than Windows normally uses, not just select them.
by jacdelad
Tue Mar 26, 2024 1:56 pm
Forum: Tricks 'n' Tips
Topic: ListIconGadget color-matching grid lines
Replies: 2
Views: 209

Re: ListIconGadget color-matching grid lines

Very nice, never thought about the grid lines, but I will definitely look closer at them from now on.
by jacdelad
Tue Mar 26, 2024 1:55 pm
Forum: Bugs - Documentation
Topic: [Done] PDFVectorOutput function for Windows
Replies: 3
Views: 274

Re: [Done] PDFVectorOutput function for Windows

6.04, but 6.10 seems to be almost ready. The amount of new and fixed features is worth waiting a tiny bit longer.
by jacdelad
Tue Mar 26, 2024 4:05 am
Forum: Tricks 'n' Tips
Topic: Determine whether to use dark or light font/drawing...
Replies: 1
Views: 125

Determine whether to use dark or light font/drawing...

Hi, I don't know if this was posted here before, but I couldn't find something similar. I needed a simple test whether to draw light or dark text on a canvas with a not predefined color. There are some algorithms and explanations out there which are more or lesse complex. Some even used several stag...
by jacdelad
Tue Mar 26, 2024 3:55 am
Forum: 3D Programming
Topic: How do I put different textures on the sides of a cube?
Replies: 9
Views: 506

Re: How do I put different textures on the sides of a cube?

Thanks very much. Unfortunately the board is still missing the parts, but it slowly evolves. I'll release the source when it's done (the Gerber module just needs one more feature to be 100% compatible with Gerber-X (minus the attributes, which don't affect drawing)).
by jacdelad
Tue Mar 26, 2024 3:06 am
Forum: 3D Programming
Topic: How do I put different textures on the sides of a cube?
Replies: 9
Views: 506

Re: How do I put different textures on the sides of a cube?

Oh my, it took me a long time to adapt this tiny codes, but it works now. Thanks very much, Comtois and pf shadoko!!!
Image
by jacdelad
Mon Mar 25, 2024 10:24 pm
Forum: Coding Questions
Topic: IniEngine3D let's the computer go black for a fraction of a second
Replies: 2
Views: 111

Re: IniEngine3D let's the computer go black for a fraction of a second

Hi mk-soft, I'm not switching between graphic modes, just opening a simple window and using OpenWindowedScreen() on it. Unfortunately I don't know much about said computer, as it's provided by my employer. But hardware switching could be a reason. We don't need to waste too much time on thinking abo...
by jacdelad
Mon Mar 25, 2024 6:26 pm
Forum: Coding Questions
Topic: IniEngine3D let's the computer go black for a fraction of a second
Replies: 2
Views: 111

IniEngine3D let's the computer go black for a fraction of a second

Hi, I recently started using the 3D engine on Windows. Now, some somputer turn the screen black for a second or less when starting the program. I moved the line with "InitEngine3D()" into the subroutine which which starts the 3D stuff, but it always occurs on startup (which is surely norma...
by jacdelad
Mon Mar 25, 2024 1:00 pm
Forum: Coding Questions
Topic: quick reading a file of 15 GByte.... how?
Replies: 22
Views: 953

Re: quick reading a file of 15 GByte.... how?

How about reading a huge block and parsing it with RegEx? Then read the next block and SK on. The only thing to do is make sure the end of the block ends with a line break (move the file pointer back to the last line break for the next read operation) and test it with several block sizes.
by jacdelad
Sat Mar 23, 2024 10:06 am
Forum: Off Topic
Topic: PureBasic icon
Replies: 10
Views: 480

Re: PureBasic icon

Now with Raspberry Pi support we need a new logo, or a longer line for Linux. :wink:
by jacdelad
Wed Mar 20, 2024 11:41 pm
Forum: Feature Requests and Wishlists
Topic: Requested API Structure and constants
Replies: 69
Views: 97126

Re: Requested API Structure and constants

#PB_MessageRequester_Question = 32 Just a sidenote: Microsoft itself writes we shouldn't use this one, as the purpose isn't always clear (whatever...) and it may be unsupported in the future. https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messagebox at "MB_ICONQUESTION&...
by jacdelad
Mon Mar 18, 2024 9:17 pm
Forum: Announcement
Topic: ProGUI V3 Alpha Sneak Peek!
Replies: 12
Views: 1007

Re: ProGUI V3 Alpha Sneak Peek!

Looks good. I just visited your website and the price seems to be good too. If I purchase it, will I get updates forever or will I (maybe) have to repurchase it again at one point?
by jacdelad
Fri Mar 15, 2024 2:05 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 283
Views: 36162

Re: PureBasic 6.10 beta 8 is out !

:D Is there a way to support the project financially independently of buying a license? I purchased my PB license 21 years ago. I'm starting to feel guilty about having paid for it just this once... PS: Who can do a current interview with the makers of PB? What is the current situation? Who is invo...