gitg/libgitg/gitg-platform-support.h
Jesse van den Kieboom 98e49eb09e Rework diff selection for improved rubber banding
This changes the behavior to selection being always additive, unless
pressing alt (mod1).
2015-12-20 17:47:22 +01:00

47 lines
2 KiB
C

/*
* This file is part of gitg
*
* Copyright (C) 2015 - Jesse van den Kieboom
*
* gitg is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* gitg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with gitg. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GITG_PLATFORM_SUPPORT_H__
#define __GITG_PLATFORM_SUPPORT_H__
#include <gdk/gdk.h>
#include <gio/gio.h>
#include <cairo/cairo.h>
gboolean gitg_platform_support_use_native_window_controls (GdkDisplay *display);
void gitg_platform_support_http_get (GFile *file,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GInputStream *gitg_platform_support_http_get_finish (GAsyncResult *result,
GError **error);
cairo_surface_t *gitg_platform_support_create_cursor_surface (GdkDisplay *display,
GdkCursorType cursor_type,
gint *hot_x,
gint *hot_y,
gint *width,
gint *height);
#endif /* __GITG_PLATFORM_SUPPORT_H__ */
// ex:ts=4 noet