Jump to content


  • Content Count

  • Joined

  • Last visited

About vrollei

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ok, not a problem, if I am only person here who uses gcc and got this warning..... I did not suggest to remove double const...., just make less warning with pragma and gcc...
  2. Hi, You are right it is c++ related error, it is error not warning. About gcc warnings: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] Is it possible to add this and solve these all warnings: #if defined(__GNUC__) #pragma GCC diagnostic ignored "-Wduplicate-decl-specifier" #endif
  3. Joel, do you mean this: That language construct is perfectly valid C but some compilers incorrectly generate warnings for it. This is actually a compiler bug caused by a misinterpretation of the C standard by the compiler writer. The most commonly known compiler with this bug is GCC. It looks like your compiler does one worse - it actually errors on it. Are you sure you just haven't set your compiler flags to error on all warnings? If not please send us the details of what compiler you are using so that we can put a special #ifdef around the code to account for its brokenness. I think the gfxconf option is something like GFX_OS_COMPILER_SHOW but check the gfxconf.example.h
  4. Can not find anything helpful in log.... any hint?
  5. Hi, I have added ChibiOS Kernel v5 support. How can I share it?
  6. Hi, I have migrated to version 2.8 from version 2.7 and gdispGFillStringBox draws text differently from previous version. If I use result of gdispGetStringWidth for gdispGFillStringBox as cx parameter then text will be wrapped. So I need to add at least 2 pixels to the result of gdispGetStringWidth to get correct result.
  7. Hi! Get compilation error: In file included from ugfx_2.8/src/ginput/ginput_driver_mouse.h:23:0, from main.cpp:37: ugfx_2.8/src/ginput/../gdriver/gdriver.h:91:33: error: duplicate 'const' typedef const struct GDriverVMT const GDriverVMTList[1]; gcc version 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204] (GNU Tools for Arm Embedded Processors 7-2017-q4-major) -std=c11
  8. @inmarket, @Joel Bodenmann, Anti-aliasing works fine with: #define GDISP_NEED_TEXT_WORDWRAP FALSE The problem only appears if word wrapping is enabled.
  9. @inmarket, do you mean ugfx_2.7/demos/modules/gdisp/fonts demo?
  10. Hi @inmarket, @Joel Bodenmann! This problems appears with different chars and fonts and it seams that chars look a little bit thicker compare to gdispFillStringBox. Examples are attached as pics.
  11. Hello @Joel Bodenmann! Any idea how to solve this issue? Thanks in advance!
  12. DrawPixel and GetPixel work fine. Sample of gdispGDrawStringBox result is attached.
  13. Hello, Joel! Thanks for reply! I use this font: #define GDISP_INCLUDE_FONT_DEJAVUSANS20_AA TRUE And set widget's font: dejavu_sans_20_anti_aliased = gdispOpenFont("DejaVuSans20_aa"); gwinSetFont(ghPicker, dejavu_sans_20_anti_aliased); The result is chars with white dots in the corner and around the char. gdispGFillStringBox function works fine.
  • Create New...