wlmaker
|
#include "input.h"
#include <libbase/libbase.h>
#include <stdlib.h>
#include <wlr/types/wlr_cursor.h>
Classes | |
struct | _wlmtk_pointer_t |
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) |
Variables | |
static const char * | _wlmtk_pointer_cursor_names [] |
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.
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.
|
static |
Lookup table for XCursor names.