Jump to content

topsecret9x

Members
  • Posts

    12
  • Joined

  • Last visited

  1. @inmarket Thank you for your answer. I still have a question: In /driver/gdisp/framebuffer/gdisp_lld_framebuffer.c, I saw PIXEL_ADDR(g, pos)[0], is this the data array to draw? If I change the value, is it directly changed on framebuffer right away?
  2. Hi everyone, I already tracked to this function gdisp_lld_draw_pixel(GDisplay *g) in /driver/gdisp/framebuffer/gdisp_lld_framebuffer.c and I have a question: Whenever I want to draw anything, such as Background, BMP picture, .. on framebuffer, this function is always called? Or any other functions else? And another question for gwinDestroy(GHandle gh) and gwinSetVisible(GHandle gh, bool_t visible), I tracked but can't find which functions are called to clear the buffer and redraw, such as that function above gdisp_lld_draw_pixel(GDisplay *g). Can you guys help me to point out this? Thank you very much.
  3. @inmarket thank you very much.
  4. Sure, I got it.
  5. thank you again, @ Joel Bodenmann
  6. I think my explanation already unhinged you. Sorry about that. I only need 1 thing in this case: How can I rotate the ugfx GUI as I mention in the picture above?
  7. because I used 2 layers, layer 1 is video, layer 2 is ugfx GUI, and ugfx can't rotate video, then I must use another software to rotate it, but that soft doesn't support both video and GUI at the same time, so my solution is using that soft for video, and ugfx for GUI.
  8. Hi everyone, Now I’m facing a problem like this: My device’s lcd is 854x480 (already rotated with other software to be 480x854 as picture below), and the framebuffer is 480x854. So I have 2 options to match the framebuffer of ugfx with my lcd: 1. Increase framebuffer size, such as 854x480 (or 854x854), but whenever 1 axis becomes larger than 480, the GUI icons is tear shaped. 2. Rotate, but as this picture below, I can’t have the right rotation GUI against the LCD. I already re-config the rotate formula in gdisp_lld_framebuffer.c but still can’t. So please help me in this case, I really appreciate that. Thank you very much.
  9. thank you so much, I already hack the driver to display ARGB8888 image.
  10. Hi, Now I'm developing GUI for a board, and I found that ugfx has the many usefull functions I can use, but now I'm facing a problem that: - My board is using framebuffer, and I alr tested imagebox with 2-byte images such as RGB565 - BMP files, it works fine. - But my aim is drawing a GUI can be fully transparent, it's mean I MUST to use ARGB888 4-byte - which doesn't supported in driver/gdisp/framebuffer, and now I don't know how to this. Please help me in this case. I really appreciate that. Thank you for reading. Have a nice day.
×
×
  • Create New...