wlmaker
|
Go to the source code of this file.
Typedefs | |
typedef struct _wlmtk_env_t | wlmtk_env_t |
Enumerations | |
enum | wlmtk_env_cursor_t { WLMTK_CURSOR_DEFAULT , WLMTK_CURSOR_RESIZE_S , WLMTK_CURSOR_RESIZE_SE , WLMTK_CURSOR_RESIZE_SW } |
Functions | |
wlmtk_env_t * | wlmtk_env_create (struct wlr_cursor *wlr_cursor_ptr, struct wlr_xcursor_manager *wlr_xcursor_manager_ptr, struct wlr_seat *wlr_seat_ptr) |
void | wlmtk_env_destroy (wlmtk_env_t *env_ptr) |
void | wlmtk_env_set_cursor (wlmtk_env_t *env_ptr, wlmtk_env_cursor_t cursor) |
struct wlr_seat * | wlmtk_env_wlr_seat (wlmtk_env_t *env_ptr) |
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_env_t wlmtk_env_t |
Forward declaration: Environment.
enum wlmtk_env_cursor_t |
wlmtk_env_t * wlmtk_env_create | ( | struct wlr_cursor * | wlr_cursor_ptr, |
struct wlr_xcursor_manager * | wlr_xcursor_manager_ptr, | ||
struct wlr_seat * | wlr_seat_ptr ) |
Creates an environment state from the cursor.
wlr_cursor_ptr | |
wlr_xcursor_manager_ptr | |
wlr_seat_ptr |
void wlmtk_env_destroy | ( | wlmtk_env_t * | env_ptr | ) |
Destroys the environment state.
env_ptr |
void wlmtk_env_set_cursor | ( | wlmtk_env_t * | env_ptr, |
wlmtk_env_cursor_t | cursor ) |
Sets a cursor.
env_ptr | |
cursor |
struct wlr_seat * wlmtk_env_wlr_seat | ( | wlmtk_env_t * | env_ptr | ) |
Returns the pointer to the wlr_seat.
env_ptr |