Search Results

Search results 1-1 of 1.

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

  • Using GUI_SetOrientation

    Squirrel - - emWin related

    Post

    Hi I'm completely new to emWin. I need to create screens with a bitmap as a background to operate in landscape or portrait modes. There are different versions of the bitmap for the 2 orienations. The display devive is 480x272. For landscape operation I can create a window 480x272, place an IMAGE that is defined as 0,0 to 480,272 on it and load a BMP file into it. I can then draw buttons on it - it is all fine. For portrait mode I call GUI_SetOrientation() with GUI_SWAP_XY set.I now create a wind…