Hi all,
I have an application that is made of several dialogs.
My system is STM32F103VET based and connected via FSMC controller / 8080 interface to a 480x272 display, 565 color depth.
I want to activate MEMDEV for some windows and not on others in order to prevent slow windows update.
Consider the first dialog created at application start:
Here the MEMDEV is correctly activated for this dialog
Now, if I create a new dialog with the same function parameter:
Memdev is not activate in this new dialog.
But if I set the global flag at initialisation:
It correctly works for all windows and dialogs, so I suppose it is not a memory issue, I also tried to increase the memory allocated for GUI and nothing changes.
But I do not want MEMDEV on all dialogs.
What can I do?
Thanks
I have an application that is made of several dialogs.
My system is STM32F103VET based and connected via FSMC controller / 8080 interface to a 480x272 display, 565 color depth.
I want to activate MEMDEV for some windows and not on others in order to prevent slow windows update.
Consider the first dialog created at application start:
C Source Code
- static const GUI_WIDGET_CREATE_INFO _aDialogCreate[] = {
- { WINDOW_CreateIndirect, "Window", ID_WINDOW_0, 0, 0, 480, 272, WM_CF_MEMDEV_ON_REDRAW, 0x0, 0 },
- { PROGBAR_CreateIndirect, NULL, ID_PROGBAR_0, 10, 200, 460, 45, PROGBAR_CF_HORIZONTAL, 0x0, 0},
- { BUTTON_CreateIndirect, NULL, ID_BUTTON_0, 435, 1, 40, 33, 0, 0x0, 0}
- };
Here the MEMDEV is correctly activated for this dialog
Now, if I create a new dialog with the same function parameter:
C Source Code
- static const GUI_WIDGET_CREATE_INFO _aDialogCreate[] = {
- { WINDOW_CreateIndirect, NULL, ID_WINDOW_0, 0, 0, 480, 272, WM_CF_MEMDEV, 0x0, 0},
- { LISTWHEEL_CreateIndirect, NULL, ID_LISTWHEEL_0, 86, 70, 30, 93, 0, 0x0, 0 },
- { LISTWHEEL_CreateIndirect, NULL, ID_LISTWHEEL_1, 121, 70, 30, 93, 0, 0x0, 0 },
- { LISTWHEEL_CreateIndirect, NULL, ID_LISTWHEEL_2, 176, 70, 30, 93, 0, 0x0, 0 },
- { LISTWHEEL_CreateIndirect, NULL, ID_LISTWHEEL_3, 210, 70, 100, 93, 0, 0x0, 0 },
- { LISTWHEEL_CreateIndirect, NULL, ID_LISTWHEEL_4, 316, 70, 60, 93, 0, 0x0, 0 },
- { BUTTON_CreateIndirect, "SAVE", ID_BUTTON_SAVE, 165, 190, 60, 60, 0, 0x0, 0 },
- { BUTTON_CreateIndirect, "CANCEL", ID_BUTTON_CANCEL, 245, 190, 60, 60, 0, 0x0, 0 },
- };
Memdev is not activate in this new dialog.
But if I set the global flag at initialisation:
It correctly works for all windows and dialogs, so I suppose it is not a memory issue, I also tried to increase the memory allocated for GUI and nothing changes.
But I do not want MEMDEV on all dialogs.
What can I do?
Thanks