Read color value from coordinates.
Greetings,
I am trying to read the color value of a pixel in hex form. The motivation behind this is the function available in simulator shortcuts as it states,
F1
Enables/disables the display of pointer coordinates as well as RGB color of the pixel at that coordinate (in hexadecimal).
Link: https://support.touchgfx.com/4.19/docs/development/ui-development/working-with-touchgfx/simulator
I have tried many ways but got stuck at retrieving the value tft_framebuffer24 present in HALSDL2.cpp. Can anybody guide me on how can we retrieve the pixel color values at specific coordinates of my screen?