mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
修改宏命名格式 #31
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef __LCUI_LINUX_DISPLAY_H__
|
||||
#define __LCUI_LINUX_DISPLAY_H__
|
||||
#ifndef LCUI_LINUX_DISPLAY_H
|
||||
#define LCUI_LINUX_DISPLAY_H
|
||||
|
||||
int LCUI_InitLinuxDisplay( LCUI_DisplayDriver driver );
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __LCUI_LINUX_EVENTS_H__
|
||||
#define __LCUI_LINUX_EVENTS_H__
|
||||
#ifndef LCUI_LINUX_EVENTS_H
|
||||
#define LCUI_LINUX_EVENTS_H
|
||||
|
||||
|
||||
int LCUI_InitLinuxApp( LCUI_AppDriver app );
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __LCUI_LINUX_KEYBOARD_H__
|
||||
#define __LCUI_LINUX_KEYBOARD_H__
|
||||
#ifndef LCUI_LINUX_KEYBOARD_H
|
||||
#define LCUI_LINUX_KEYBOARD_H
|
||||
|
||||
void LCUI_InitLinuxKeyboard( void );
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __LCUI_LINUX_MOUSE_H__
|
||||
#define __LCUI_LINUX_MOUSE_H__
|
||||
#ifndef LCUI_LINUX_MOUSE_H
|
||||
#define LCUI_LINUX_MOUSE_H
|
||||
|
||||
void LCUI_InitLinuxMouse( void );
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __WINDOWS_EVENTS_H
|
||||
#define __WINDOWS_EVENTS_H
|
||||
#ifndef LCUI_WINDOWS_EVENTS_H
|
||||
#define LCUI_WINDOWS_EVENTS_H
|
||||
|
||||
typedef struct WIN_SysEvent_ {
|
||||
HWND hwnd;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef LCUI_WINDOWS_KEYBOARD__
|
||||
#define LCUI_WINDOWS_KEYBOARD__
|
||||
#ifndef LCUI_WINDOWS_KEYBOARD_H
|
||||
#define LCUI_WINDOWS_KEYBOARD_H
|
||||
|
||||
void LCUI_InitWinKeyboard( void );
|
||||
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifndef __DICT_H
|
||||
#define __DICT_H
|
||||
#ifndef LCUI_UTIL_DICT_H
|
||||
#define LCUI_UTIL_DICT_H
|
||||
|
||||
/** 哈希表节点结构 */
|
||||
typedef struct DictEntry {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// dirent.h -- Directory Entry pperation set.
|
||||
#ifndef LCUI_DIRECTORY_ENTRY_H
|
||||
#define LCUI_DIRECTORY_ENTRY_H
|
||||
#ifndef LCUI_UTIL_DIRENT_H
|
||||
#define LCUI_UTIL_DIRENT_H
|
||||
|
||||
LCUI_BEGIN_HEADER
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
* 没有,请查看:<http://www.gnu.org/licenses/>.
|
||||
* ****************************************************************************/
|
||||
|
||||
#ifndef __LC_FRAME_CONTROL_H
|
||||
#define __LC_FRAME_CONTROL_H
|
||||
#ifndef LCUI_UTIL_FRAMECTRL_H
|
||||
#define LCUI_UTIL_FRAMECTRL_H
|
||||
|
||||
LCUI_BEGIN_HEADER
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
/* ***************************************************************************
|
||||
* rect.h -- Rectangle area handling
|
||||
*
|
||||
* Copyright (C) 2012-2015 by
|
||||
* Liu Chao
|
||||
* Copyright (C) 2012-2016 by Liu Chao <lc-soft@live.cn>
|
||||
*
|
||||
* This file is part of the LCUI project, and may only be used, modified, and
|
||||
* distributed under the terms of the GPLv2.
|
||||
@@ -23,8 +22,7 @@
|
||||
/* ****************************************************************************
|
||||
* rect.h -- 矩形区域处理
|
||||
*
|
||||
* 版权所有 (C) 2012-2015 归属于
|
||||
* 刘超
|
||||
* 版权所有 (C) 2012-2016 归属于 刘超 <lc-soft@live.cn>
|
||||
*
|
||||
* 这个文件是LCUI项目的一部分,并且只可以根据GPLv2许可协议来使用、更改和发布。
|
||||
*
|
||||
@@ -38,6 +36,7 @@
|
||||
* 您应已收到附随于本文件的GPLv2许可协议的副本,它通常在LICENSE.TXT文件中,如果
|
||||
* 没有,请查看:<http://www.gnu.org/licenses/>.
|
||||
* ****************************************************************************/
|
||||
|
||||
#ifndef LCUI_UTIL_RECT_H
|
||||
#define LCUI_UTIL_RECT_H
|
||||
|
||||
|
||||
@@ -63,12 +63,12 @@ typedef char TCHAR;
|
||||
LCUI_BEGIN_HEADER
|
||||
|
||||
/**
|
||||
* 清除字符串首尾的字符
|
||||
* @param[out] outstr 处理后的字符串
|
||||
* @param[in] instr 需要处理的字符串
|
||||
* @param[in] charlist 需要清除的字符列表,当为NULL时,默认清除空白符
|
||||
* @return 处理后的字符串的长度
|
||||
*/
|
||||
* 清除字符串首尾的字符
|
||||
* @param[out] outstr 处理后的字符串
|
||||
* @param[in] instr 需要处理的字符串
|
||||
* @param[in] charlist 需要清除的字符列表,当为NULL时,默认清除空白符
|
||||
* @return 处理后的字符串的长度
|
||||
*/
|
||||
LCUI_API int strtrim( char *outstr, const char *instr, const char *charlist );
|
||||
|
||||
LCUI_END_HEADER
|
||||
|
||||
Reference in New Issue
Block a user