mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
宏定义VK_BACKSPACE纠正为VK_BACK
其它地方做了细节上的修改
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
|
||||
#define LCUIKEY_ESC VK_ESCAPE
|
||||
#define LCUIKEY_ENTER VK_RETURN
|
||||
#define LCUIKEY_BACKSPACE VK_BACKSPACE
|
||||
#define LCUIKEY_BACKSPACE VK_BACK
|
||||
#define LCUIKEY_DELETE VK_DELETE
|
||||
#define LCUIKEY_HOMEPAGE VK_HOME
|
||||
#define LCUIKEY_END VK_END
|
||||
|
||||
@@ -48,7 +48,7 @@ typedef struct _LCUI_ProgressBar LCUI_ProgressBar;
|
||||
/*************** 进度条 ********************/
|
||||
struct _LCUI_ProgressBar
|
||||
{
|
||||
pthread_t thread; /* 线程 */
|
||||
LCUI_Thread thread; /* 线程 */
|
||||
LCUI_Graph fore_graph; /* 前景图形 */
|
||||
LCUI_Graph flash_image; /* 附加的图形,实现进度条上移动的的闪光 */
|
||||
|
||||
|
||||
+5
-3
@@ -10,6 +10,8 @@
|
||||
#include LC_FONT_H
|
||||
#include LC_WIDGET_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
LCUI_System LCUI_Sys;
|
||||
|
||||
/************************* App Management *****************************/
|
||||
@@ -43,16 +45,16 @@ LCUI_App* LCUIApp_GetSelf( void )
|
||||
|| id == LCUI_Sys.self_id
|
||||
|| id == LCUI_Sys.timer_thread )
|
||||
{/* 由于内核及其它线程ID没有被记录,只有直接返回LCUI主程序的线程ID了 */
|
||||
return LCUIApp_Find(LCUI_Sys.self_id);
|
||||
return LCUIApp_Find((LCUI_ID)LCUI_Sys.self_id);
|
||||
}
|
||||
id = LCUIThread_GetRootThreadID( id );
|
||||
return LCUIApp_Find( id );
|
||||
return LCUIApp_Find( (LCUI_ID)id );
|
||||
}
|
||||
|
||||
/* 获取程序ID */
|
||||
LCUI_ID LCUIApp_GetSelfID( void )
|
||||
{
|
||||
return LCUIThread_SelfID();
|
||||
return (LCUI_ID)LCUIThread_SelfID();
|
||||
}
|
||||
|
||||
void LCUI_App_Init( LCUI_App *app )
|
||||
|
||||
@@ -48,6 +48,8 @@
|
||||
#include LC_ACTIVEBOX_H
|
||||
#include LC_RES_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
/*
|
||||
* 用了一个线程完成这些动画的每一帧的更新,还用了一个“库”,用于记录总动画信息;
|
||||
* 加了个队列,用于记录需要进行帧切换的动画,按照延迟时间从短到长排序,每一帧更新完后,
|
||||
|
||||
Reference in New Issue
Block a user