Jump to content

Kirill

Members
  • Content Count

    4
  • Joined

  • Last visited

About Kirill

  • Rank
    Newbie
  • Birthday 12/12/1987

Recent Profile Visitors

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

  1. I found if I try to assign only "down" button: gwinAttachToggle(ghList1, BUTTON_ENTER, 0) Without assign "up" button. Click actually does not works. (Inside code I found that GLIST_FLG_SELECTED assign from element 0 to element1 but at the same time event "up" emitted too and it moves select flag from element 1 to element 0). It works correctly only if I assign both button: gwinAttachToggle(ghList1, BUTTON_ENTER, 0) gwinAttachToggle(ghList1, BUTTON_ESC, 1)
  2. I think example should be like this: static void createWidgets(void) { GWidgetInit wi; gwinWidgetClearInit(&wi); // Apply the list parameters wi.g.width = 200; wi.g.height = 100; wi.g.y = 10; wi.g.x = 10; wi.text = "List Name"; // Create the actual list ghList1 = gwinListCreate(NULL, &wi, FALSE); }
  3. Hi, I figured out some strange behaviour I tried to do example from here https://wiki.ugfx.io/index.php/List In example: static void createWidgets(void) { GWidgetInit wi; // Apply some default values for GWIN wi.customDraw = 0; wi.customParam = 0; wi.customStyle = 0; wi.g.show = FALSE; // Apply the list parameters wi.g.width = 200; wi.g.height = 100; wi.g.y = 10; wi.g.x = 10; wi.text = "List Name"; // Create the actual list ghList1 = gwinListCreate(NULL, &wi, FALSE); } There are no wi.g.parent set. So during initialisation we add widget to windowM
  4. Hi, I already use ugfx in my pet project, but right now it a little ugly, I think with ugfx-studio I can make UI better. Add me to beta-testers please.
×
×
  • Create New...