Replies: 4 comments 9 replies
-
Do you want the list of possible resolutions or the current resolutions? The latter can be done with the https://wiki.libsdl.org/SDL2/SDL_DisplayMode There is also this pretty good C# binding for SDL2 |
Beta Was this translation helpful? Give feedback.
-
I need a list of all possible resolutions supported by the display.. in the case of multiple monitors would expect some way to get the number of monitors and list of supported resolutions etc but also the current active screen resolution... seems abit silly a crossplatform framework made it a v11 and still doesn't have anything for this. I might just use JavaFX, give up on C# Net stuff it's all just incomplete from just about everything from docs to api. In other news it seems AI had more faith in this than I do lol.. "Could you write a script to get the available screen resolutions that would work in c# Avalonia project?" using System; public class ScreenResolutionHelper yeaaaah |
Beta Was this translation helpful? Give feedback.
-
It's for a making a small desktop cross platform portable game launcher ui that needs to know what available resolutions are supported by the available monitors on that computer, so that it can provide those options to the user to choose and provide those as args to the game before launching... but I'll just build it with javafx instead, they've got a screen builder ui that does actually support getting this information, I believe javfx is also a UI framework.. also Winforms was aswel and you could get that information.. things in MS land really have gotten shit.
.... yeah sure... well I guess other developers might also want to not bother with a framework who's developers don't see the need for it support things that don't cross there mind for what an app should be able to do, it begs the question of just what else is one going to find out later that it doesn't support. |
Beta Was this translation helpful? Give feedback.
-
I tried the updated one, it shows 'Frequency' in the debug for each screen, yet no way to get that in the code? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
that is all
Beta Was this translation helpful? Give feedback.
All reactions