wlmaker
|
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | _wlmtk_button_event_t |
struct | wlmtk_pointer_motion_event_t |
Typedefs | |
typedef struct _wlmtk_button_event_t | wlmtk_button_event_t |
typedef struct _wlmtk_pointer_t | wlmtk_pointer_t |
Enumerations | |
enum | wlmtk_button_event_type_t { WLMTK_BUTTON_DOWN , WLMTK_BUTTON_UP , WLMTK_BUTTON_CLICK , WLMTK_BUTTON_DOUBLE_CLICK } |
enum | wlmtk_pointer_cursor_t { WLMTK_POINTER_CURSOR_DEFAULT = 0 , WLMTK_POINTER_CURSOR_RESIZE_S , WLMTK_POINTER_CURSOR_RESIZE_SE , WLMTK_POINTER_CURSOR_RESIZE_SW , WLMTK_POINTER_CURSOR_MAX } |
Functions | |
wlmtk_pointer_t * | wlmtk_pointer_create (struct wlr_cursor *wlr_cursor_ptr, struct wlr_xcursor_manager *wlr_xcursor_manager_ptr) |
void | wlmtk_pointer_destroy (wlmtk_pointer_t *pointer_ptr) |
void | wlmtk_pointer_set_cursor (wlmtk_pointer_t *pointer_ptr, wlmtk_pointer_cursor_t cursor) |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
typedef struct _wlmtk_button_event_t wlmtk_button_event_t |
Forward declaration: Button event.
typedef struct _wlmtk_pointer_t wlmtk_pointer_t |
Forward declaration: Pointer.
Button state.
wlmtk_pointer_t * wlmtk_pointer_create | ( | struct wlr_cursor * | wlr_cursor_ptr, |
struct wlr_xcursor_manager * | wlr_xcursor_manager_ptr | ||
) |
Creates the pointer handler.
wlr_cursor_ptr | |
wlr_xcursor_manager_ptr |
void wlmtk_pointer_destroy | ( | wlmtk_pointer_t * | pointer_ptr | ) |
Destroys the pointer handler.
pointer_ptr |
void wlmtk_pointer_set_cursor | ( | wlmtk_pointer_t * | pointer_ptr, |
wlmtk_pointer_cursor_t | cursor | ||
) |
Sets the cursor for the pointer.