wlmaker
|
#include "dock.h"
#include "config.h"
#include "dock_app.h"
#include "toolkit/toolkit.h"
#include "view.h"
Classes | |
struct | _wlmaker_dock_t |
Functions | |
static wlmaker_dock_t * | dock_from_view (wlmaker_view_t *view_ptr) |
static void | dock_get_size (wlmaker_view_t *view_ptr, uint32_t *width_ptr, uint32_t *height_ptr) |
static void | handle_workspace_changed (struct wl_listener *listener_ptr, void *data_ptr) |
wlmaker_dock_t * | wlmaker_dock_create (wlmaker_server_t *server_ptr) |
void | wlmaker_dock_destroy (wlmaker_dock_t *dock_ptr) |
Variables | |
const wlmaker_view_impl_t | dock_view_impl |
wlmaker_dock_app_config_t | app_configs [] |
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.
|
static |
Typecast: Retrieves the wlmaker_dock_t
for the given |view_ptr|.
view_ptr |
wlmaker_dock_t
holding |view_ptr|.
|
static |
Gets the size of the dock in pixels.
view_ptr | |
width_ptr | |
height_ptr |
|
static |
Handler for the workspace_changed
signal of wlmaker_server_t
.
Will redraw the clip contents with the current workspace, and re-map the clip to the new workspace.
listener_ptr | |
data_ptr | Points to the new wlmaker_workspace_t . |
wlmaker_dock_t * wlmaker_dock_create | ( | wlmaker_server_t * | server_ptr | ) |
Creates the Dock handle. Needs the server to be up with workspaces running.
server_ptr |
void wlmaker_dock_destroy | ( | wlmaker_dock_t * | dock_ptr | ) |
Destroys the Dock handle.
dock_ptr |
wlmaker_dock_app_config_t app_configs[] |
Hard-coded: Applications attached to the dock.
const wlmaker_view_impl_t dock_view_impl |
View implementor methods.