STM32CubeF4/Projects/WIN32/STemWin_Simulation/Config/SIMConf.c

72 lines
2.7 KiB
C
Raw Normal View History

2019-05-01 00:27:23 +08:00
/*********************************************************************
* Portions COPYRIGHT 2017 STMicroelectronics *
* Portions SEGGER Microcontroller GmbH & Co. KG *
* Solutions for real time microcontroller applications *
**********************************************************************
* *
* (c) 1996 - 2017 SEGGER Microcontroller GmbH & Co. KG *
* *
* Internet: www.segger.com Support: support@segger.com *
* *
**********************************************************************
** emWin V5.40 - Graphical user interface for embedded applications **
emWin is protected by international copyright laws. Knowledge of the
source code may not be used to write a similar product. This file may
only be used in accordance with a license and should not be re-
distributed in any way. We appreciate your understanding and fairness.
----------------------------------------------------------------------
File : SIMConf.c
Purpose : Windows Simulator configuration
---------------------------END-OF-HEADER------------------------------
*/
/**
******************************************************************************
* @attention
*
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.st.com/software_license_agreement_liberty_v2
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************
*/
#ifdef WIN32
#include "LCD_SIM.h"
/*********************************************************************
*
* Public code
*
**********************************************************************
*/
/*********************************************************************
*
* SIM_X_Config
*
* Purpose:
* Called during the initialization process in order to configure
* the simulator.
*/
void SIM_X_Config() {
SIM_GUI_SetTransColor(0xff0000); // Define the transparent color
}
#else
void SIMConf_C(void); // Avoid empty object files
void SIMConf_C(void) {}
#endif
/*************************** End of file ****************************/