How i can make Gridline in guix?
In reply to adboc:
In reply to niku:
Please take a look at an example for SK-S7G2, it draws a line (main_window_draw function is a draw function for main_window, set in GUIX Studio):
Please see GUIX user's guide for more gx_canvas_* functions.
The example draws a line in widget drawing function, which is called within interal GUIX System Thread. This is the recommended approach.
There are no I2C and SPI threads, but there are I2C and SPI drivers. The first one is needed for a touch panel controller (not used in this case), the second one is used for display initialization (required).
Drawing a pixel is just as easy as drawing a line, the updated example draws pixels using gx_canvas_pixel_draw: