亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? minigui.h

?? 這是ARM嵌入式系統(tǒng)的實驗教程中的MINIGUI的實驗源代碼!
?? H
?? 第 1 頁 / 共 5 頁
字號:
#endif

#ifdef _CURSOR_SUPPORT

/**
 * \fn HCURSOR GUIAPI LoadCursorFromFile (const char* filename)
 * \brief Loads a cursor from a M$ Windows cursor file.
 *
 * This function loads a cursor from M$ Windows *.cur file 
 * named \a filename and returns the handle to loaded cursor. 
 * The returned handle can be used by \a SetCursor to set new mouse cursor.
 *
 * \param filename The path name of the cursor file.
 * \return Handle to the cursor, zero on error.
 *
 * \note MiniGUI does not support 256-color or animation cursor.
 *
 * \sa SetCursor
 */
  HCURSOR GUIAPI LoadCursorFromFile (const char* filename);

/**
 * \fn HCURSOR GUIAPI LoadCursorFromMem (const void* area)
 * \brief Loads a cursor from a memory area.
 *
 * This function loads a cursor from a memory area pointed to by \a area. 
 * The memory has the same layout as a M$ Windows CURSOR file.
 * The returned handle can be used by \a SetCursor to set new mouse cursor.
 *
 * \param area The pointer to the cursor data.
 * \return Handle to the cursor, zero on error.
 *
 * \note MiniGUI does not support 256-color or animation cursor.
 *
 * \sa SetCursor
 */
  HCURSOR GUIAPI LoadCursorFromMem (const void* area);

/**
 * \fn HCURSOR GUIAPI CreateCursor (int xhotspot, int yhotspot, int w, int h, const BYTE* pANDBits, const BYTE* pXORBits, int colornum)
 * \brief Creates a cursor from memory data.
 *
 * This function creates a cursor from memory data rather than cursor file. 
 * \a xhotspot and \a yhotspot specify the hotpot of the cursor, \a w and \a h are 
 * the width and the height of the cursor respectively. \a pANDBits and \a pXORBits
 * are AND bitmask and XOR bitmask of the cursor. 
 * MiniGUI currently support mono-color cursor and 16-color cursor, \a colornum 
 * specifies the cursor's color depth. For mono-color, it should be 1, and for
 * 16-color cursor, it should be 4.
 *
 * \param xhotspot The x-coordinate of the hotspot.
 * \param yhotspot The y-coordinate of the hotspot.
 * \param w The width of the cursor.
 * \param h The height of the cursor.
 * \param pANDBits The pointer to AND bits of the cursor.
 * \param pXORBits The pointer to XOR bits of the cursor.
 * \param colornum The bit-per-pixel of XOR bits.
 * \return Handle to the cursor, zero on error.
 *
 * \note MiniGUI only support 2-color or 16-color cursor.
 */
  HCURSOR GUIAPI CreateCursor (int xhotspot, int yhotspot, int w, int h, 
               const BYTE* pANDBits, const BYTE* pXORBits, int colornum);

/**
 * \fn BOOL GUIAPI DestroyCursor (HCURSOR hcsr)
 * \brief Destroies a cursor object.
 *
 * This function destroys a cursor object specified by \a hcsr.
 *
 * \param hcsr Handle to the cursor.
 * \return TRUE on success, otherwise FALSE.
 */
  BOOL GUIAPI DestroyCursor (HCURSOR hcsr);

/**
 * \fn HCURSOR GUIAPI GetSystemCursor (int csrid)
 * \brief Gets the handle to a system cursor by its identifier.
 *
 * MiniGUI creates (MAX_SYSCURSORINDEX + 1) system cursors for application.
 * You can use \a GetSystemCursor to get the handle to these system cursors.
 * The identifier can be one of the following:
 * 
 *  - IDC_ARROW\n
 *    Normal arrow cursor.
 *  - IDC_IBEAM\n
 *    'I' shaped beam cursor, indicate an input field.
 *  - IDC_PENCIL\n
 *    Pencil-shape cursor.
 *  - IDC_CROSS\n
 *    Cross cursor.
 *  - IDC_MOVE\n
 *    Moving cursor.
 *  - IDC_SIZENWSE\n
 *    Sizing cursor, along north-west and south-east.
 *  - IDC_SIZENESW\n
 *    Sizing cursor, along north-east and south-west.
 *  - IDC_SIZEWE\n
 *    Sizing cursor, along west and east.
 *  - IDC_SIZENS\n
 *    Sizing cursor, along north and south.
 *  - IDC_UPARROW\n
 *    Up arrow cursor.
 *  - IDC_NONE\n
 *    None cursor.
 *  - IDC_HELP\n
 *    Arrow with question.
 *  - IDC_BUSY\n
 *    Busy cursor.
 *  - IDC_WAIT\n
 *    Wait cursor.
 *  - IDC_RARROW\n
 *    Right arrow cursor.
 *  - IDC_COLOMN\n
 *    Cursor indicates column.
 *  - IDC_ROW\n
 *    Cursor indicates row.
 *  - IDC_DRAG\n
 *    Draging cursor.
 *  - IDC_NODROP\n
 *    No droping cursor.
 *  - IDC_HAND_POINT\n
 *    Hand point cursor.
 *  - IDC_HAND_SELECT\n
 *    Hand selection cursor.
 *  - IDC_SPLIT_HORZ\n
 *    Horizontal splitting cursor.
 *  - IDC_SPLIT_VERT\n
 *    Vertical splitting cursor.
 *
 * \param csrid The identifier of the system cursor.
 * \return Handle to the system cursor, otherwise zero.
 */
  HCURSOR GUIAPI GetSystemCursor (int csrid);

/**
 * \fn HCURSOR GUIAPI GetCurrentCursor (void)
 * \brief Gets the handle to the current cursor.
 *
 * This function retrives the current cursor and returns its handle.
 *
 * \return Handle to the current system cursor, zero means no current cursor.
 */
  HCURSOR GUIAPI GetCurrentCursor (void);
#else
  #define LoadCursorFromFile(filename)    (do_nothing(), 0)
  #define CreateCursor(x, y, w, h, ANDbs, XORbs, cr) (do_nothing(), 0)
  #define DestroyCursor(hcsr)             (do_nothing(), 0)
  #define GetSystemCursor(csrid)          (do_nothing(), 0)
  #define GetCurrentCursor()              (do_nothing(), 0)
#endif /* _CURSOR_SUPPORT */

#define MAX_SYSCURSORINDEX    22

/* System cursor index. */
#define IDC_ARROW       0
#define IDC_IBEAM       1
#define IDC_PENCIL      2
#define IDC_CROSS       3
#define IDC_MOVE        4
#define IDC_SIZENWSE    5
#define IDC_SIZENESW    6
#define IDC_SIZEWE      7
#define IDC_SIZENS      8
#define IDC_UPARROW     9
#define IDC_NONE        10
#define IDC_HELP        11
#define IDC_BUSY        12
#define IDC_WAIT        13
#define IDC_RARROW      14
#define IDC_COLOMN      15
#define IDC_ROW         16
#define IDC_DRAG        17
#define IDC_NODROP      18
#define IDC_HAND_POINT  19
#define IDC_HAND_SELECT 20
#define IDC_SPLIT_HORZ  21
#define IDC_SPLIT_VERT  22

/**
 * \fn void GUIAPI ClipCursor (const RECT* prc)
 * \brief Clips the cursor range.
 *
 * This function sets cursor's clipping rectangle. \a prc 
 * is the new clipping rectangle in screen coordinates. If \a prc is NULL, 
 * \a ClipCursor will disable cursor clipping.
 *
 * \param prc The clipping rectangle.
 * \return None.
 */
void GUIAPI ClipCursor (const RECT* prc);

/**
 * \fn void GUIAPI GetClipCursor (RECT* prc)
 * \brief Gets the current cursor clipping rectangle.
 *
 * This function copies the current clipping rectangle to 
 * a RECT pointed to by \a prc.
 *
 * \param prc The clipping rectangle will be saved to this rectangle.
 * \return None.
 */
void GUIAPI GetClipCursor (RECT* prc);

/**
 * \fn void GUIAPI GetCursorPos (POINT* ppt)
 * \brief Gets position of the current cursor.
 *
 * This function copies the current mouse cursor position to 
 * a POINT structure pointed to by \a ppt.
 *
 * \param ppt The position will be saved in this buffer.
 * \return None.
 *
 * \sa SetCursorPos, POINT
 */
void GUIAPI GetCursorPos (POINT* ppt);

/**
 * \fn void GUIAPI SetCursorPos (int x, int y)
 * \brief Sets position of the current cursor.
 *
 * This function sets mouse cursor position with the given 
 * arguments: \a (x,y).
 *
 * \param x The x-corrdinate of the expected poistion.
 * \param y The y-corrdinate of the expected poistion.
 * \return None.
 *
 * \sa GetCursorPos
 */
void GUIAPI SetCursorPos (int x, int y);

#ifdef _CURSOR_SUPPORT
/**
 * \fn HCURSOR GUIAPI SetCursorEx (HCURSOR hcsr, BOOL set_def)
 * \brief Changes the current cursor.
 *
 * This function changes the current cursor to be \a hcsr,
 * and/or sets it to be the default cursor.
 *
 * If you pass \a set_def as TRUE, the expected cursor will be the default cursor. 
 * The default cursor will be used when you move cursor to the desktop.
 *
 * \param hcsr The expected cursor handle.
 * \param set_def Indicates whether setting the cursor as the default cursor.
 * \return The old cursor handle.
 *
 * \sa SetCursor, SetDefaultCursor, GetDefaultCursor
 */
  HCURSOR GUIAPI SetCursorEx (HCURSOR hcsr, BOOL set_def);

/**
 * \def SetCursor(hcsr)
 * \brief Changes the current cursor.
 *
 * This function changes the current cursor to be \a hcsr.
 *
 * \param hcsr The expected cursor handle.
 * \return The old cursor handle.
 *
 * \note This function defined as a macro calling \a SetCursorEx with
 * passing \a set_def as FALSE.
 *
 * \sa SetCursorEx, SetDefaultCursor
 */
  #define SetCursor(hcsr) SetCursorEx (hcsr, FALSE)

/**
 * \def SetDefaultCursor(hcsr)
 * \brief Changes the current cursor, and set it as the default cursor.
 *
 * This function changes the current cursor to be \a hcsr, and set it as the default cursor.
 *
 * \param hcsr The expected cursor handle.
 * \return The old cursor handle.
 *
 * \note This function defined as a macro calling \a SetCursorEx with
 * passing \a set_def as TRUE.
 *
 * \sa SetCursorEx, SetCursor
 */
  #define SetDefaultCursor(hcsr) SetCursorEx (hcsr, TRUE)

/**
 * \fn HCURSOR GUIAPI GetDefaultCursor (void)
 * \brief Gets the default cursor.
 *
 * This function gets the current default cursor.
 *
 * \return The current default cursor handle.
 *
 * \sa SetCursorEx, SetDefaultCursor
 */
  HCURSOR GUIAPI GetDefaultCursor (void);

#else
  #define SetCursorEx(hcsr, set_def)    (do_nothing(), 0)
  #define SetCursor(hcsr)               (do_nothing(), 0)
  #define SetDefaultCursor(hcsr)        (do_nothing(), 0)
  #define GetDefaultCursor()            (do_nothing(), 0)
#endif /* _CURSOR_SUPPORT */

#ifdef _CURSOR_SUPPORT

/**
 * \fn int GUIAPI ShowCursor (BOOL fShow)
 * \brief Shows or hides cursor.
 *
 * This function shows or hides cursor according to the argument \a fShow. 
 * Show cursor when \a fShow is TRUE, and hide cursor when \a fShow is FALSE.
 * MiniGUI maintains a showing count value. Calling \a ShowCursor once, the count 
 * will increase when \a fShow is TRUE, or decrease one when FALSE.
 * When the count is less than 0, the cursor will disapear actually.
 *
 * \param fShow Indicates show or hide the cursor.
 * \return Cursor showing count value. 
 */
  int GUIAPI ShowCursor (BOOL fShow);
#else
  #define ShowCursor(fShow)             (do_nothing(), 0)
#endif /* _CURSOR_SUPPORT */

    /** @} end of cursor_fns */

    /**
     * \defgroup key_status Asynchronous key status functions
     * @{
     */

/**
 * \fn BOOL GUIAPI GetKeyStatus (UINT uKey)
 * \brief Gets a key or a mouse button status.
 *
 * This function gets a key or a mouse button status, returns TRUE 
 * when pressed, or FALSE when released. \a uKey indicates 
 * the key or mouse button. For keys on keyboard, \a uKey should be 
 * the scancode of the key, for mouse button, \a uKey should be one 
 * value of the following:
 *
 *  - SCANCODE_LEFTBUTTON\n
 *    Left mouse button.
 *  - SCANCODE_MIDDLBUTTON\n
 *    Middle mouse button.
 *  - SCANCODE_RIGHTBUTTON\n
 *    Right mouse button.
 *
 * These constants and the scancodes of keys are defined in <minigui/common.h>.
 *
 * \param uKey Indicates the key or mouse button. 
 * \return Returns TRUE when pressed, or FALSE when released.
 *
 * \sa GetShiftKeyStatus
 */
BOOL GUIAPI GetKeyStatus (UINT uKey);

/**
 * \fn DWORD GUIAPI GetShiftKeyStatus (void)
 * \brief Gets status of the shift keys.
 *
 * This function gets ths status of the shift keys, the returned value 
 * indicates the status of shift keys -- CapsLock, ScrollLock, NumLock, Left Shift, 
 * Right Shift, Left Ctrl, Right Ctrl, Left Alt, and Right Alt. 
 * You can use KS_* ORed with the status value to determine one shift key's status:
 *
 *  - KS_CAPSLOCK\n
 *    Indicates that CapsLock is locked.
 *  - KS_NUMLOCK\n
 *    Indicates that NumLock is locked.
 *  - KS_SCROLLLOCK\n
 *    Indicates that ScrollLock is locked.
 *  - KS_LEFTCTRL\n
 *    Indicates that left Ctrl key is pressed.
 *  - KS_RIGHTCTRL\n
 *    Indicates that right Ctrl key is pressed.
 *  - KS_CTRL\n
 *    Indicates that either left or right Ctrl key is pressed.
 *  - KS_LEFTALT\n
 *    Indicates that left Alt key is pressed.
 *  - KS_RIGHTALT\n
 *    Indicates that right Alt key is pressed.
 *  - KS_ALT\n
 *    Indicates that either left or right Alt key is pressed.
 *  - KS_LEFTSHIFT\n
 *    Indicates that left Shift key is pressed.
 *  - KS_RIGHTSHIFT\n
 *    Indicates that right Shift key is pressed.
 *  - KS_SHIFT\n
 *    Indicates that either left or right Shift key is pressed.
 *
 * These constants are defined in <minigui/common.h>.
 *
 * \return The status of the shift keys.
 * \sa key_defs
 */
DWORD GUIAPI GetShiftKeyStatus (void);

    /** @} end 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲图片小说| 丝袜亚洲精品中文字幕一区| 亚洲综合色噜噜狠狠| 天天综合网天天综合色| 黑人巨大精品欧美一区| 91老师国产黑色丝袜在线| 欧美日韩夫妻久久| 国产亚洲欧洲一区高清在线观看| 亚洲免费大片在线观看| 青青草国产精品97视觉盛宴| 成人激情免费网站| 欧美日韩不卡视频| 国产精品久久影院| 日本在线观看不卡视频| 成人不卡免费av| 欧美久久久久久蜜桃| 国产精品久久久久久久午夜片| 午夜国产精品一区| 大胆欧美人体老妇| 日韩视频免费观看高清完整版 | 天堂在线亚洲视频| 成人爱爱电影网址| 精品久久久久久久久久久久包黑料| 18成人在线视频| 韩日欧美一区二区三区| 欧美日韩你懂得| 国产精品久久777777| 蜜臀精品一区二区三区在线观看 | 成人免费一区二区三区在线观看| 日本亚洲三级在线| 91日韩精品一区| 2021久久国产精品不只是精品| 一区二区三区久久| 成人黄色小视频在线观看| 日韩欧美国产精品一区| 亚洲午夜国产一区99re久久| 波波电影院一区二区三区| 精品乱码亚洲一区二区不卡| 亚洲中国最大av网站| 不卡av电影在线播放| 欧美电影免费观看高清完整版| 亚洲综合在线五月| 99麻豆久久久国产精品免费优播| 久久综合久久99| 美女精品一区二区| 欧美日韩一级视频| 一区二区三区四区在线免费观看| 成人一区二区三区视频| 久久精品日韩一区二区三区| 视频一区免费在线观看| 欧美羞羞免费网站| 亚洲免费观看高清在线观看| 不卡一区二区三区四区| 国产日韩高清在线| 激情综合色播激情啊| 欧美一级爆毛片| 奇米一区二区三区av| 91麻豆精品国产综合久久久久久| 亚洲一区二区三区激情| 欧洲激情一区二区| 亚洲精品国产精华液| 91女厕偷拍女厕偷拍高清| 欧美国产一区视频在线观看| 国产成都精品91一区二区三| 久久九九久久九九| 丁香六月久久综合狠狠色| 国产亚洲短视频| 国产成人在线视频免费播放| 国产视频一区二区三区在线观看| 国产在线日韩欧美| 精品国产人成亚洲区| 国内欧美视频一区二区| 欧美精品一区二区三区视频| 国产乱码精品一区二区三区忘忧草| 欧美mv日韩mv国产| 国产一区二区三区在线观看精品| 久久久午夜精品| 成人丝袜18视频在线观看| 国产精品久久久久一区| 91免费视频大全| 亚洲一区二区在线视频| 在线综合+亚洲+欧美中文字幕| 男女男精品视频| 久久先锋影音av| 成人av网在线| 一区二区三区四区在线播放| 欧美精品tushy高清| 久久精品久久99精品久久| 精品国产1区二区| 国产成人综合亚洲网站| 亚洲男人的天堂一区二区| 日本道精品一区二区三区| 肉色丝袜一区二区| 亚洲精品在线观看网站| 福利视频网站一区二区三区| 亚洲精品国产精品乱码不99 | 喷白浆一区二区| 久久久亚洲精品一区二区三区| 成人爱爱电影网址| 亚洲国产精品影院| 精品成人a区在线观看| 成人激情av网| 亚洲高清免费视频| 久久久精品国产免费观看同学| 成人激情电影免费在线观看| 一区二区在线观看免费视频播放| 91麻豆精品国产自产在线 | 中文字幕av资源一区| 97精品视频在线观看自产线路二| 亚洲一区二区三区精品在线| 日韩午夜小视频| 成人av网址在线观看| 五月天激情小说综合| 久久久亚洲综合| 欧美日韩一区二区三区四区 | 国产欧美日韩在线| 在线免费av一区| 黄一区二区三区| 亚洲激情校园春色| 欧美精品一区二区在线观看| 色哟哟亚洲精品| 精品一区二区久久久| 亚洲免费观看视频| 久久青草欧美一区二区三区| 91麻豆国产福利精品| 麻豆91在线看| 亚洲男人天堂一区| 国产亚洲污的网站| 欧美日韩国产综合一区二区| 福利一区在线观看| 麻豆精品久久久| 亚洲欧美激情一区二区| 久久综合999| 欧美日韩午夜在线| proumb性欧美在线观看| 久久精品久久99精品久久| 一区二区在线观看免费| 久久久国产精华| 日韩亚洲欧美一区二区三区| 91免费视频观看| 国产成人av影院| 久久精品99国产精品| 亚洲综合视频网| 亚洲同性gay激情无套| 久久久久久一二三区| 91麻豆精品国产自产在线观看一区| 99re亚洲国产精品| 风间由美中文字幕在线看视频国产欧美| 亚洲高清三级视频| 久久精品国产一区二区三| 亚洲人亚洲人成电影网站色| 久久中文字幕电影| 日韩精品中文字幕一区二区三区 | 亚洲成人中文在线| 中文字幕中文乱码欧美一区二区 | 风间由美一区二区三区在线观看 | 精品电影一区二区三区| 欧美日韩国产不卡| 在线观看一区二区视频| 成人精品在线视频观看| 国产综合久久久久影院| 青青草视频一区| 青草国产精品久久久久久| 亚洲第一狼人社区| 亚洲一区二区三区在线| 亚洲区小说区图片区qvod| 中文字幕va一区二区三区| 国产午夜精品久久久久久免费视 | 成人高清视频在线| 国产成人精品综合在线观看| 国产一区二区三区在线观看免费| 久久精品二区亚洲w码| 久久不见久久见免费视频7| 日韩高清在线不卡| 日韩在线a电影| 三级欧美韩日大片在线看| 亚洲成a人片综合在线| 午夜激情一区二区三区| 日韩福利电影在线| 日韩国产高清在线| 青青草97国产精品免费观看无弹窗版| 日韩和欧美一区二区三区| 丝袜诱惑制服诱惑色一区在线观看 | 看国产成人h片视频| 麻豆一区二区在线| 精品影院一区二区久久久| 久久国产夜色精品鲁鲁99| 精品一区二区免费视频| 国产精品影视网| 成人午夜免费av| 91丨porny丨在线| 欧亚洲嫩模精品一区三区| 欧美日韩日日夜夜| 日韩你懂的在线播放| 久久久久综合网| 亚洲欧洲三级电影| 夜夜亚洲天天久久| 日韩精品亚洲一区二区三区免费| 蜜桃久久久久久| 国产成人免费视频网站|