Jump to content

Joel Bodenmann

Administrators
  • Posts

    2,656
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Joel Bodenmann

  1. 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.

  2. 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.

  3. On 01/06/2018 at 08:21, AlexK17 said:

    Issue where the maximum display size couldn't be larger than 640 x 480px,

    not FIXED.

    All widgets whose y-axis coordinates are greater than 480, after loading the project, are located above this coordinate.

    We'll investigate this.

     

    On 01/06/2018 at 09:11, AlexK17 said:

    To background style, it would be nice to add a text primitive.

    Added to the ToDo list.

  4. 12 hours ago, Paul Christopher said:

    Thank you, inmarket and Joel! I have now implemented the fillrect function used in the Adafruit library as GDISP_HARDWARE_FILLS, and indeed, it is much faster now. All in all, I'm quite happy with the performance: Clearing the screen with a certain color takes 33ms on the ESP32 using SPI.

    Nice, glad to hear that you got everything working! :)
    We'd appreciate it if you could create a ready-to-run example for the downloads page and maybe some documentation for the wiki.

     

    12 hours ago, Paul Christopher said:

    What would be a good example in the code base to test whether multithreading / scheduling really works with my patch?

    Have a look at /demos/gos.

     

    12 hours ago, Paul Christopher said:

    Is this the time for me now to dive into GWIN? Or for what is the ugfx scheduler actually used?

    The scheduler is also used for things like GTIMER which in turn is used by GINPUT and GWIN. As mentioned above, /demos/gos should help.

  5. Version 0.23.1 has just been released. Changelog:

    • Updating About dialog
    • Changing default font generator size from 8px to 16px
    • Fixing issue where console widget isn't loaded from project file
    • Fixing issue where the visible attribute affected the enable attribute
    • Fixing issue where the generated calibration code contains syntax errors (missing commas)
    • Fixing an issue where the maximum display size couldn't be larger than 640 x 480px
    • Fixing an issue where using the mouse wheel on the zoom slider didn't update the actual zoom factor
    • Fixing some resource files issues
    • Fixing issues with dialog box close events
    • Adding new bugs with dialog box close events to fix later
  6. 1 hour ago, krisPainkiller said:

    The reading are very responsive though not much accurate on the four angles of my touch screen.

    https://wiki.ugfx.io/index.php/Touchscreen_Calibration#Extreme_coordinates

     

    1 hour ago, krisPainkiller said:

    I've also tested the touch_driver_test demo using its tunings and calibrations but the readings aren't responsive at all. It is very difficult to calibrate the touch screen with this demo for me.

    What do you mean by "not very responsive"? What's the behavior in a regular GWIN application like?

  7. That's interesting.

    Could you please leave some detailed information of the compiler you're using and also your build flags?

     

    4 hours ago, Rafael Zingler said:

    This problem only happens when I use the console during startup.

    What does that mean? Can you please give some more details?

  8. Hello and welcome to the µGFX community!

    Unfortunately, there isn't an existing GINPUT driver for that touch screen controller. However, it's very easy to add a new one. Take the existing drivers as an example. You can simply copy the one who matches your controller the best (eg. don't take the ones which use the microcontroller's ADC to determine the touch coordinates) and modify from there.
    The entire driver interface is well documented in the corresponding GINPUT documentation.

    Please don't hesitate to ask if you have any questions - we're happy to help wherever we can!

  9. On 22/05/2018 at 20:45, inmarket said:

    Use radio widgets with the button draw routine.

    Correction: Use the checkbox widget, not the radio widget.

     

    15 hours ago, king2 said:

    Can you tell when new Studio (without 640px width limit) could be expected?

    We don't have any fixed release cycle. We can basically release at any time. I guess we can fire something up this or next week.

  10. Welcome to the µGFX community & thank you very much for your feedback!

     

    On 22/05/2018 at 16:31, eco said:

    - a grid option to place elements

    Added to the todo/wish list.
     

    On 22/05/2018 at 16:31, eco said:

    - markers to show alignments between elements (when borders of elements are aligned, a line in the designer is shown)

    Added to the todo/wish list.
     

    On 22/05/2018 at 16:31, eco said:

    - align tool (left, top, right, bottom,center, middle ) that works between label and edit of same height

    Unless I'm misunderstanding you that should already exist (and work). Select multiple items and have a look at the context menu.

×
×
  • Create New...