mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/*
|
|
* lib/ui-cursor/include/ui_cursor.h
|
|
*
|
|
* Copyright (c) 2023-2024, Liu Chao <i@lc-soft.io> All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
* This file is part of LCUI, distributed under the MIT License found in the
|
|
* LICENSE.TXT file in the root directory of this source tree.
|
|
*/
|
|
|
|
#ifndef LIB_UI_CURSOR_INCLUDE_UI_CURSOR_H
|
|
#define LIB_UI_CURSOR_INCLUDE_UI_CURSOR_H
|
|
|
|
#include "ui_cursor/common.h"
|
|
#include <pandagl.h>
|
|
#include <platform.h>
|
|
#include <ui.h>
|
|
|
|
LIBUI_CURSOR_BEGIN_DECLS
|
|
|
|
LIBUI_CURSOR_PUBLIC void ui_cursor_refresh(void);
|
|
LIBUI_CURSOR_PUBLIC bool ui_cursor_is_visible(void);
|
|
LIBUI_CURSOR_PUBLIC void ui_cursor_show(void);
|
|
LIBUI_CURSOR_PUBLIC void ui_cursor_hide(void);
|
|
LIBUI_CURSOR_PUBLIC void ui_cursor_set_position(int x, int y);
|
|
LIBUI_CURSOR_PUBLIC int ui_cursor_set_image(pd_canvas_t *image);
|
|
LIBUI_CURSOR_PUBLIC void ui_cursor_get_position(int *x, int *y);
|
|
LIBUI_CURSOR_PUBLIC int ui_cursor_paint(app_window_t *w, app_window_paint_t* paint);
|
|
LIBUI_CURSOR_PUBLIC void ui_cursor_init(void);
|
|
LIBUI_CURSOR_PUBLIC void ui_cursor_destroy(void);
|
|
|
|
LIBUI_CURSOR_END_DECLS
|
|
|
|
#endif
|