?? gui_pen.c
字號(hào):
/*************************************************************************************************************
uC/GUI
嵌入式通用圖形軟件
File : GUIPen.C
Purpose : Getting / Setting pen attributes
************************************************************************************************************/
#include "GUI_Protected.H"
/*************************************************************************************************************
* Get / Set Attributes *
*************************************************************************************************************/
U8 GUI_GetPenSize (void)
{
U8 r;
GUI_LOCK();
r = GUI_Context.PenSize;
GUI_UNLOCK();
return r;
}
U8 GUI_GetPenShape (void)
{
U8 r;
GUI_LOCK();
r = GUI_Context.PenShape;
GUI_UNLOCK();
return r;
}
/*************************************************************************************************************
* Set Pen attributes *
Purpose: Assign color/index to foreground/ background
*************************************************************************************************************/
U8 GUI_SetPenSize (U8 PenSize)
{
U8 r;
GUI_LOCK();
r = GUI_Context.PenSize;
GUI_Context.PenSize = PenSize;
GUI_UNLOCK();
return r;
}
U8 GUI_SetPenShape (U8 PenShape)
{
U8 r;
GUI_LOCK();
r = GUI_Context.PenShape;
GUI_Context.PenShape = PenShape;
GUI_UNLOCK();
return r;
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -