Search found 40 matches

by ❤x1
Thu Sep 12, 2024 12:06 pm
Forum: Announcement
Topic: ProGUI V3 Alpha 3 Ready for testing!
Replies: 227
Views: 97250

Re: ProGUI V3 Alpha 1.0 Ready for testing!

It's superfast on my comp, but I'm rocking a RTX 3080 so it might not be representative.
by ❤x1
Fri Aug 16, 2024 2:35 pm
Forum: Announcement
Topic: ProGUI V3 Alpha 3 Ready for testing!
Replies: 227
Views: 97250

Re: ProGUI V3 Alpha 1.0 Ready for testing!

The resizeable animated window example is perfectly smooth, GPU accelerated desktop is so cool.
Couldn't really figure out much without documentation, though. I'll be there for the release!
by ❤x1
Tue May 21, 2024 7:49 pm
Forum: Announcement
Topic: ProGUI V3 Alpha Sneak Peek!
Replies: 58
Views: 29827

Re: ProGUI V3 Alpha Sneak Peek!

Hey, ProGUI 3 looks remarkable; do you have an estimated time of arrival? Will it be sold as sources or binaries?
by ❤x1
Sun Sep 24, 2023 4:43 pm
Forum: Applications - Feedback and Discussion
Topic: PBEdit - a Canvas-based Texteditor
Replies: 103
Views: 43220

Re: PBEdit - a Canvas-based Texteditor

Hello,
PBEdit looks super impressive, but I'm puzzled: how are we supposed to use the auto-completion/indentation on Windows?
There is no KeyDown event for Tab, since the key cycles through every gadget on the window.
by ❤x1
Sun Sep 24, 2023 3:53 pm
Forum: Feature Requests and Wishlists
Topic: No keydown event for tab on a canvas
Replies: 3
Views: 949

Re: No keydown event for tab on a canvas

Oh. Ok then, it's probably not a bug.
by ❤x1
Sun Sep 24, 2023 3:32 pm
Forum: Feature Requests and Wishlists
Topic: No keydown event for tab on a canvas
Replies: 3
Views: 949

No keydown event for tab on a canvas

Hello,

On Windows 11 with PB 6.03b9, there is no KeyDown event for tab key on a canvas gadget, but there is one for KeyUp.

Procedure CanvasCallback_KeyUp()
Debug "KeyUp: " + GetGadgetAttribute(0, #PB_Canvas_Key)
EndProcedure

Procedure CanvasCallback_KeyDown()
Debug "KeyDown ...
by ❤x1
Sat Jul 08, 2023 5:12 pm
Forum: Off Topic
Topic: Unrest in France
Replies: 13
Views: 2471

Re: Unrest in France

Freedom without weaponry is an illusion.
There is no country allowing people to hold fire arms in the top 10 democracies in the world (according to the V-Dem or the Economist ) nor in the top 10 countries providing human freedom (according to the Cato Institute ), nor the top 10 countries ...
by ❤x1
Thu May 25, 2023 3:58 pm
Forum: Announcement
Topic: Chromium WebGadget v4
Replies: 241
Views: 74462

Re: Chromium WebGadget v3

Given your recent productivity, I feel I should tell you that you are allowed to sleep. You know that, right?
by ❤x1
Wed Apr 19, 2023 1:46 pm
Forum: Announcement
Topic: PureBasic 6.02 LTS is out !
Replies: 89
Views: 32722

Re: PureBasic 6.02 beta 1 is out !

But Windows 7 support ended January 14, 2020. Even Win 8.1 isn't supported since last January.
Many features regularly requested are incompatible with such old software. The most obvious example is a new WebView : Chromium dropped its support for those OSes, which are respectively 14 and 11 years ...
by ❤x1
Thu Apr 13, 2023 11:32 am
Forum: Feature Requests and Wishlists
Topic: DPI Scaling not updating
Replies: 8
Views: 1966

Re: DPI Scaling not updating

I figured how to enable per monitor DPI awareness on windows 8.1 and above, see here : viewtopic.php?p=599281
by ❤x1
Thu Apr 13, 2023 9:02 am
Forum: Windows
Topic: Proper DPI Awarness
Replies: 3
Views: 1227

Proper DPI Awarness

I figured it out :
#WM_DPICHANGED = $2E0 ;https://learn.microsoft.com/en-us/windows/win32/hidpi/wm-dpichanged

Procedure EnableDPIAwarness()
Protected ver.OSVERSIONINFOEX, hDLL.i, Result

ver\dwOSVersionInfoSize = SizeOf(ver)

hDLL = OpenLibrary(#PB_Any, "ntdll.dll")
If hDLL
CallFunction ...
by ❤x1
Wed Apr 12, 2023 9:28 pm
Forum: Bugs - Windows
Topic: ClearType and vector text rendering.
Replies: 2
Views: 841

Re: ClearType and vector text rendering.


However, I think it is related to GDI+ used here on windows.
I think I can make an educated guess here : DrawVectorText is a simple wrapper of AddPathText + fillpath and that's why the colors are lost.

I tried to keep the issue focused on colors because I hope the fix is reasonably simple, but ...
by ❤x1
Wed Apr 12, 2023 6:45 pm
Forum: Bugs - Windows
Topic: ClearType and vector text rendering.
Replies: 2
Views: 841

ClearType and vector text rendering.

Hello o/

On Windows, PureBasic seems to render text using ClearType, except in one case :
https://i.imgur.com/CS4kVm4.png
As you can see, when drawing text using DrawVectorParagraph, everything works as expected, but with DrawVectorText, colors are lost.

It might not seem all that important, but ...
by ❤x1
Thu Mar 09, 2023 5:53 pm
Forum: Announcement
Topic: PureBasic 6.01 LTS is released !
Replies: 92
Views: 34532

Re: PureBasic 6.01 LTS is released !

Have you disabled the debugger? I doubt not drawing for each window update would actually slow down the whole process.

Here are my results, averaged over 5 runs :
Original code :
PB 6.01 ASM PB 6.01 C PB 6.00 ASM PB 6.00 C
15941ms 16365ms 15526ms 16283ms
14259ms 16422ms 15615ms 15516ms
14384ms ...
by ❤x1
Sun Feb 12, 2023 12:57 pm
Forum: Coding Questions
Topic: What does #PB_Font_HighQuality do?
Replies: 0
Views: 531

What does #PB_Font_HighQuality do?

On an up-to-date Windows 10 x64, with PB 6.01b3, I compared all the font rendering solution (that I know of) and couldn't see a difference : they are absolutely identical down to the pixel.
https://i.imgur.com/2tIairJ.png

If OpenWindow(0, 0, 0, 800, 470, "#PB_Font_HighQuality", #PB_Window ...