Headers for emWin lib
Dependents: DISCO-F746NG_rtos_test
emWin_header/GUI_SetOrientation.h@0:1bf8f02b0770, 2016-03-26 (annotated)
- Committer:
- redbird
- Date:
- Sat Mar 26 22:49:50 2016 +0000
- Revision:
- 0:1bf8f02b0770
new code integration
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
redbird | 0:1bf8f02b0770 | 1 | /********************************************************************* |
redbird | 0:1bf8f02b0770 | 2 | * SEGGER Microcontroller GmbH & Co. KG * |
redbird | 0:1bf8f02b0770 | 3 | * Solutions for real time microcontroller applications * |
redbird | 0:1bf8f02b0770 | 4 | ********************************************************************** |
redbird | 0:1bf8f02b0770 | 5 | * * |
redbird | 0:1bf8f02b0770 | 6 | * (c) 1996 - 2014 SEGGER Microcontroller GmbH & Co. KG * |
redbird | 0:1bf8f02b0770 | 7 | * * |
redbird | 0:1bf8f02b0770 | 8 | * Internet: www.segger.com Support: support@segger.com * |
redbird | 0:1bf8f02b0770 | 9 | * * |
redbird | 0:1bf8f02b0770 | 10 | ********************************************************************** |
redbird | 0:1bf8f02b0770 | 11 | |
redbird | 0:1bf8f02b0770 | 12 | ** emWin V5.24 - Graphical user interface for embedded applications ** |
redbird | 0:1bf8f02b0770 | 13 | All Intellectual Property rights in the Software belongs to SEGGER. |
redbird | 0:1bf8f02b0770 | 14 | emWin is protected by international copyright laws. Knowledge of the |
redbird | 0:1bf8f02b0770 | 15 | source code may not be used to write a similar product. This file may |
redbird | 0:1bf8f02b0770 | 16 | only be used in accordance with the following terms: |
redbird | 0:1bf8f02b0770 | 17 | |
redbird | 0:1bf8f02b0770 | 18 | The software has been licensed to NXP Semiconductors USA, Inc. whose |
redbird | 0:1bf8f02b0770 | 19 | registered office is situated at 411 E. Plumeria Drive, San Jose, |
redbird | 0:1bf8f02b0770 | 20 | CA 95134, USA solely for the purposes of creating libraries for |
redbird | 0:1bf8f02b0770 | 21 | NXPs M0, M3/M4 and ARM7/9 processor-based devices, sublicensed and |
redbird | 0:1bf8f02b0770 | 22 | distributed under the terms and conditions of the NXP End User License |
redbird | 0:1bf8f02b0770 | 23 | Agreement. |
redbird | 0:1bf8f02b0770 | 24 | Full source code is available at: www.segger.com |
redbird | 0:1bf8f02b0770 | 25 | |
redbird | 0:1bf8f02b0770 | 26 | We appreciate your understanding and fairness. |
redbird | 0:1bf8f02b0770 | 27 | ---------------------------------------------------------------------- |
redbird | 0:1bf8f02b0770 | 28 | File : GUI_SetOrientation.h |
redbird | 0:1bf8f02b0770 | 29 | Purpose : Private include file for GUI_SetOrientation_xxx |
redbird | 0:1bf8f02b0770 | 30 | ---------------------------END-OF-HEADER------------------------------ |
redbird | 0:1bf8f02b0770 | 31 | */ |
redbird | 0:1bf8f02b0770 | 32 | |
redbird | 0:1bf8f02b0770 | 33 | #ifndef GUI_SETORIENTATION_H |
redbird | 0:1bf8f02b0770 | 34 | #define GUI_SETORIENTATION_H |
redbird | 0:1bf8f02b0770 | 35 | |
redbird | 0:1bf8f02b0770 | 36 | #include "GUI_Private.h" |
redbird | 0:1bf8f02b0770 | 37 | |
redbird | 0:1bf8f02b0770 | 38 | #ifdef __cplusplus |
redbird | 0:1bf8f02b0770 | 39 | extern "C" { |
redbird | 0:1bf8f02b0770 | 40 | #endif |
redbird | 0:1bf8f02b0770 | 41 | |
redbird | 0:1bf8f02b0770 | 42 | /********************************************************************* |
redbird | 0:1bf8f02b0770 | 43 | * |
redbird | 0:1bf8f02b0770 | 44 | * Types |
redbird | 0:1bf8f02b0770 | 45 | * |
redbird | 0:1bf8f02b0770 | 46 | ********************************************************************** |
redbird | 0:1bf8f02b0770 | 47 | */ |
redbird | 0:1bf8f02b0770 | 48 | /********************************************************************* |
redbird | 0:1bf8f02b0770 | 49 | * |
redbird | 0:1bf8f02b0770 | 50 | * DRIVER_CONTEXT |
redbird | 0:1bf8f02b0770 | 51 | */ |
redbird | 0:1bf8f02b0770 | 52 | typedef struct DRIVER_CONTEXT DRIVER_CONTEXT; |
redbird | 0:1bf8f02b0770 | 53 | |
redbird | 0:1bf8f02b0770 | 54 | struct DRIVER_CONTEXT { |
redbird | 0:1bf8f02b0770 | 55 | void (* pfLog2Phys)(DRIVER_CONTEXT * pContext, int x, int y, int * px_phys, int * py_phys); |
redbird | 0:1bf8f02b0770 | 56 | U8 * pData; |
redbird | 0:1bf8f02b0770 | 57 | int BytesPerPixel; |
redbird | 0:1bf8f02b0770 | 58 | int BytesPerLine; |
redbird | 0:1bf8f02b0770 | 59 | int Orientation; |
redbird | 0:1bf8f02b0770 | 60 | int xSize, ySize; |
redbird | 0:1bf8f02b0770 | 61 | int vxSize, vySize; |
redbird | 0:1bf8f02b0770 | 62 | int PixelOffset; |
redbird | 0:1bf8f02b0770 | 63 | const GUI_ORIENTATION_API * pDrawingAPI; |
redbird | 0:1bf8f02b0770 | 64 | }; |
redbird | 0:1bf8f02b0770 | 65 | |
redbird | 0:1bf8f02b0770 | 66 | /********************************************************************* |
redbird | 0:1bf8f02b0770 | 67 | * |
redbird | 0:1bf8f02b0770 | 68 | * Private interface |
redbird | 0:1bf8f02b0770 | 69 | * |
redbird | 0:1bf8f02b0770 | 70 | ********************************************************************** |
redbird | 0:1bf8f02b0770 | 71 | */ |
redbird | 0:1bf8f02b0770 | 72 | void GUI__Sort(int * p0, int * p1); |
redbird | 0:1bf8f02b0770 | 73 | |
redbird | 0:1bf8f02b0770 | 74 | #ifdef __cplusplus |
redbird | 0:1bf8f02b0770 | 75 | } |
redbird | 0:1bf8f02b0770 | 76 | #endif |
redbird | 0:1bf8f02b0770 | 77 | |
redbird | 0:1bf8f02b0770 | 78 | #endif /* GUI_SETORIENTATION_H */ |
redbird | 0:1bf8f02b0770 | 79 | |
redbird | 0:1bf8f02b0770 | 80 | /*************************** End of file ****************************/ |