Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no process of pressing and releasing on the image and text #53

Open
LordsWars opened this issue Aug 30, 2024 · 1 comment
Open

no process of pressing and releasing on the image and text #53

LordsWars opened this issue Aug 30, 2024 · 1 comment

Comments

@LordsWars
Copy link

Hello. It really bothered me that the picture was not clickable, I suffered and fixed it, added arrows to the top and down by copying them from the buttons and changing the drawing of the arrows themselves inside, but as for the clickability of the text, I don’t understand yet how to do it correctly, inflate the GUI or do it in the program, because there you need to create a window with a mini keyboard. Or generally make a class input text with all the individual functions. In general, I don’t know yet how to do it correctly. In general, I got into the code with my feet and fixed it so that it would be possible to rotate the screen normally, redid the pictures on the bmp2с.exe conversion program and changed the orientation of the pictures, in general, now my screen rotates 360 degrees, the pictures are drawn correctly and the colors go without distortion. It remains to pick apart the font work and add Cyrillic to all fonts. The plans include adding a percentage bar, a scroll bar, a round check point (multi-line and with the choice of only one item) to the program. I didn't bother to figure out how to do the "extraction" and that's why I'm putting together here what I've got so far, in case the owner of the code doesn't like it :)

gui.zip

@LordsWars
Copy link
Author

There is an example of work in Keil uVision5 with 2 screens via SPI bus and via 8080 + FMSC protocol on the STM32F407ZET platform
https://stm32-base.org/boards/STM32F407ZGT6-STM32F4XX
Moreover, SPI is software-based, like touch, there are small nuances on the touch panel and, accordingly, a 10% mismatch horizontally, but this is insignificant if you press with your finger, but if you use a stylus, then there is an option to the left of the buttons not to press the button :) But this can be eliminated by calibrating each time before use (does not work)... there are comments, of course, but few.
If necessary, write, I will post here...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant