Jump to content

Joel Bodenmann

Administrators
  • Posts

    2,620
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Joel Bodenmann

  1. I guess you simply didn't click the Close button in the target editor dialog. I'll consider renaming that button to something like Apply or Save.

    I'm completely unable to reproduce the issue with the image.

  2. Release v0.23.3 is now available for download. Changelog:

    • Cleaning the project / regenerating the project no longer removes the output directory itself but only its content
    • Fixing issue with auto-sizing images on multi-state images for widgets that take multiple images for multiple states
    • Fixing issue with image resource editor dialog
    • Adding more userfriendly messages to the image resource editor dialog
    • Fixing issue with invalid container code generation
  3. Hi,

    This is basically simple math. The most commonly used interpolation algorithms are usually the extremely simple linear, quadratic or cubic ones. However, what algorithm you choose depends almost only on your application (on what kind of data you're plotting). Sometimes you might want to resort to splines instead.
    Regarding libraries: Usually this stuff is extremely simple (it's basic math). I am sure that there are tons of great libraries for generic data interpolation and so on, but on an µGFX application you're usually dealing with quite a static environment where your data is always very similar. Therefore, I'd recommend to just figure out what matches your data the best and then implement that function in your application.

    TL;DR: What algorithm to use really just depends on the data you're plotting.

  4. Thank you for your feedback :)

    I've added everything that wasn't already on the list to our todo list. Stuff like the post-generation scripts and the start-up color won't be done quickly, but we're getting there. I assume that we'll have an update by next week.

     

    Quote

    Can I add/change gfxconf.h defines? For example, I want to add GDISP_NEED_UTF8 and GDISP_NEED_PIXELREAD and some other defines.

    Those will eventually be added to the Target editor.

  5. Glad to hear that you managed to get it working.

     

    33 minutes ago, aymen said:

    But i still have a question : is it possible to launch the calibration process manually? For example only if i push a button at start up or if i have a jumper in a given position...

    I can't check right now but as far as I know there's no high-level API call for that at the moment.

  6. gmvmt is a VMT (virtual method table). calsave is a function pointer in that table. Your custom saving routine is registered there. Therefore, gmvmt(m)->calsave() will call your custom saving function.

    If you get a hard-fault at that point your function is either not properly registered (wrong address?) or the implementation of your own function is causing the hardfault. Step into that function to check which one is the case.

  7. Hello & welcome to the µGFX community!

     

    1 minute ago, SlowGoing said:

    Spelling mistake in gwinLabelCreate (should be gwinGLabelCreate).

    That's not correct, see below.

     

    1 minute ago, SlowGoing said:

    I keep getting compiler error "undefined reference to `gwinGLabelCreate'"

    What am I missing ?

    Did you enable the label widget in the configuration file?
    If that's not the case you're most likely not including all files properly.

×
×
  • Create New...