Search Results

Search results 1-20 of 36.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    Hi Florian I am using STM32CubeMX. Maybe the axes can be changed there? For now, the proposal with adding the LCDConf.c file reports errors. Best regards

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    In which file should I put it?

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    OK. But I had to set pixel x 2 to get what I wanted: GUI_RECT Rect1 = {0, 0, 640, 120}; I have one more problem. I want to rotate 90 degrees SPINBOX. Can it be done by skinning?

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    What does this mean + 40?

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    Hi I want to put NUMBER on position x = 250, y = 40. I have the following code. Why can't I do that? How to declare GUI_RECT? static void _cbCallback(WM_MESSAGE * pMsg) { WM_HWIN hWin; WM_HWIN hItem; int NCode; int Id; GUI_RECT Rect = {10, 10, 40, 80}; hItem = pMsg->hWin; switch (pMsg->MsgId) { case WM_INIT_DIALOG: WINDOW_SetBkColor(hItem, GUI_BLUE); hItem = WM_GetDialogItem(pMsg->hWin, ID_BUTTON_0); BUTTON_SetFont(hItem, GUI_FONT_24B_ASCII); BUTTON_SetText(hItem, "START"); BUTTON_SetSkin(hItem,…

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    Thanks for the clarification. All the time I mean WIDGET with vertical descriptions.

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    Can you convert WIDGET EDIT and SPINBOX in a similar way?

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    Thank you.

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    I want to rotate the inscription on the button. What's wrong here? #define ID_WINDOW_0 (GUI_ID_USER + 0x00) #define ID_BUTTON_0 (GUI_ID_USER + 0x01) // START #define ID_BUTTON_1 (GUI_ID_USER + 0x02) // STOP #define ID_BUTTON_2 (GUI_ID_USER + 0x03) // UP #define ID_BUTTON_3 (GUI_ID_USER + 0x04) // DOWN static const GUI_WIDGET_CREATE_INFO _aDialogCreate[] = { { WINDOW_CreateIndirect, "Window", ID_WINDOW_0, 0, 0, 480, 272, WM_CF_SHOW, 0 }, { BUTTON_CreateIndirect, "START", ID_BUTTON_0, 30, 20, 40, …

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    What is the difference between _cbButton and cbButton?

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    Thank you!

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    Thank you! How do you flip the button 90 and the text on it?

  • STM32F746G-Discovery

    Andrzej - - emWin related

    Post

    When to use _cbCallback and when _cbDialog?

  • Quote from volodymyr: “Quote from Andrzej: “How to display the variable value on the screen? ” Hello. If you need to display some variable with constant refreshing period (for example 200 ms) you can use Timer for it. Here is a small example that explains the principle: C Source Code (26 lines)” Quote from Andrzej: “Thank you. However, I don't know how to integrate it into my program. I have the external variable "poster", they have to be numbers 1 to 6. They change in another part of the progra…

  • /* * myrolster.c * * Created on: 04.02.2019 * Author: P */ #include "stm32746g_discovery.h" #include "stm32746g_discovery_lcd.h" #include "stm32746g_discovery_sdram.h" #include "stm32746g_discovery_ts.h" #include "GUI.h" #include "DIALOG.h" #include "WM.h" #include "BUTTON.h" #include "EDIT.h" #define ID_WINDOW_0 (GUI_ID_USER + 0x00) #define ID_BUTTON_0 (GUI_ID_USER + 0x01) #define ID_BUTTON_1 (GUI_ID_USER + 0x02) #define ID_BUTTON_2 (GUI_ID_USER + 0x03) #define ID_SPINBOX_0 (GUI_ID_USER + 0x08)…

  • Thank you. However, I don't know how to integrate it into my program. I have the external variable "poster", they have to be numbers 1 to 6. They change in another part of the program. I want to display the variable value on an ongoing basis. I have prepared ID_TEXT_3 but I do not know how to display it to reflect the changes.

  • How to display the variable value on the screen?

  • STM32F746G Discovery

    Andrzej - - emWin related

    Post

    Thangs.

  • STM32F746G Discovery

    Andrzej - - emWin related

    Post

    I want to read the number set in SPINBOX, can it be that way? case ID_SPINBOX_1: switch (NCode) { case WM_NOTIFICATION_VALUE_CHANGED: hItem = WM_GetDialogItem(pMsg->hWin, ID_SPINBOX_1); showing = SPINBOX_GetValue(pMsg->hWinSrc); break; } break;

  • stm32f746 discovery

    Andrzej - - emWin related

    Post

    Thanks!