|
Randor wrote: That's not entirely true, looks like there is a memory pool and allocations implementation. There is room for improvement here, but it's there.
Weird, I was just going by what the author of LVGL told me. Maybe I misunderstood him, or he me.
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: Weird, I was just going by what the author of LVGL told me. Wierd, I know. Some might say it's a complete mystery.
|
|
|
|
|
I'm going to chalk it up to a misunderstanding. Gabor knows LVGL pretty darn well.
To err is human. Fortune favors the monsters.
|
|
|
|
|
How did you create your lvlg dev environment.
I downloaded there packages both VS and Codeblocks, but it's a basket load of chaos.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
It depends on what you're building for. I build the tests and stuff on linux, but when I use it with platform IO i can use it from windows, just using the PIO libraries. I recommend using platform IO. The only reason I build for linux is I'm contributing.
I hope you're not using this for desktop graphics. There are a lot better options out there for that. As a rule of thumb this is for little LCDs that usually connect to MCUs via SPI or similar.
To err is human. Fortune favors the monsters.
|
|
|
|
|
what options do you recommend?
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
It really depends on what you want to do. Without knowing what you're even trying to build, I can't tell you anything at all.
Edit: Never mind. Your other response cleared it up.
I don't do graphics on the desktop so I am not the one to ask. I've seen graphics libraries on code project.
I do know that SDL is probably the most popular desktop class cross platform graphics library around.
But if it's not IoT, I don't touch it.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I was considering the desktop graphics as target. I looked at the platform IO stuff but too cryptically documented At least for my eyes.
I currently use glvw library for my graphics, but it's pretty low level. I really like the looks of vglv stuff, but I functionality overrides. I guess I'll return to glfw.
I am working on a GLFW driven windows console. Stupid, but trying to get away from windows driven windows console for my big application.
At least I can create (from bitmaps, yes ) and control the fonts I like. Thanx for your quick feed back.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Don't use LVGL for desktop graphics.
To err is human. Fortune favors the monsters.
|
|
|
|
|
understood. thanx
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 449 6/6
⬜🟨🟨⬜⬜
⬜⬜⬜⬜⬜
⬜🟩⬜🟨⬜
⬜🟩⬜🟨🟩
🟩🟩⬜⬜🟩
🟩🟩🟩🟩🟩
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Wordle 449 3/6
⬛⬛🟨🟨⬛
🟩⬛🟨🟨⬛
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 449 4/6
🟨⬜🟨⬜⬜
🟨⬜🟨🟩⬜
🟩🟨🟩⬜⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 449 5/6
⬛🟩⬛⬛⬛
⬛🟩⬛⬛⬛
⬛🟩⬛⬛⬛
🟨🟩⬛⬛🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 449 5/6
⬜⬜🟨⬜🟨
⬜🟨🟨⬜⬜
🟩⬜🟨🟩⬜
🟩🟩⬜🟩⬜
🟩🟩🟩🟩🟩
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 449 4/6
🟨⬜⬜⬜⬜
🟨⬜⬜🟨⬜
⬜🟨🟩🟩🟨
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 449 4/6
🟨⬜🟨⬜⬜
⬜⬜⬜🟨⬜
🟨⬜⬜⬜⬜
🟩🟩🟩🟩🟩
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Wordle 449 4/6
⬜⬜🟨⬜⬜
🟨🟨⬜⬜🟨
🟨🟨🟨⬜⬜
🟩🟩🟩🟩🟩
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 449 6/6
⬜⬜🟨⬜⬜
🟨⬜🟨⬜⬜
🟩🟩⬜🟨⬜
🟩🟩⬜⬜🟩
⬜⬜⬜⬜⬜
🟩🟩🟩🟩🟩
Had to look this one up.
Used my fifth try to exclude five letters, but even with the remaining ones I couldn't make any word I knew.
The answer is an MMORPG from when I was still in elementary (when MMORPGs weren't all that popular because internet was slow and expensive and you couldn't make phone calls).
One of the earliest and longest running MMORPGs actually.
That, of course, wasn't the answer, so I translated it and I know this word by its far more common synonym...
|
|
|
|
|
I struggled with this one!
Wordle 449 6/6
⬛⬛🟨⬛⬛
🟨⬛⬛⬛⬛
⬛🟨⬛🟨⬛
🟩🟩⬛🟨⬛
🟩🟩⬛⬛🟩
🟩🟩🟩🟩🟩
Get me coffee and no one gets hurt!
|
|
|
|
|
Did you hear about the fire in the shoe factory?
10,000 soles were lost.
The police said that some heel started it.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Uhh... you posted that here last week?
|
|
|
|
|
I stutter.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I am getting to the stage of conquering Kotlin where I start feeling comfortable regarding myself as a Kotlin coder. Kotlin, of course, is the primary tool for writing code for the Android platform. Yes, Java can code for Android as well, but Java is getting long in the tooth.
A couple of days ago, I had to code a dialog box with CANCEL and PROCEED buttons, where the user can confirm some choice (or cancel out of it.) The idea was for the UI to stop and wait for user input. But I tried everything and there was no way to stop the UI. It would pop up my dialog, but instead of waiting it went on its merry way, continuing to execute statements. It nearly drove me nuts, until in desperation I googled the problem. And there was the answer: Some Android expert said there is no way to stop the Android UI, as everything in Android is async. Aaaargh! I wish somebody told me that! I bought 3 books on writing Kotlin code for Android and not one shared that little gem with me.
It seems you may have to make some fancy moves while waiting for user input, to make sure the UI doesn't wander off and do something stupid!
Get me coffee and no one gets hurt!
|
|
|
|
|
Not nearly as nuclear, but I found a nice replacement for js alert that is real cool and lightweight but unlike alert, does not stop execution. it's the last statement in the readme.md as if the dev is sorry about it.
|
|
|
|