|
Packit |
1e8aac |
/*
|
|
Packit |
1e8aac |
* glade-design-private.h
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
* Copyright (C) 2011 Juan Pablo Ugarte
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
* Authors:
|
|
Packit |
1e8aac |
* Juan Pablo Ugarte <juanpablougarte@gmail.com>
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
* This library is free software; you can redistribute it and/or modify it
|
|
Packit |
1e8aac |
* under the terms of the GNU Lesser General Public License as
|
|
Packit |
1e8aac |
* published by the Free Software Foundation; either version 2.1 of
|
|
Packit |
1e8aac |
* the License, or (at your option) any later version.
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
* This library is distributed in the hope that it will be useful, but
|
|
Packit |
1e8aac |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
1e8aac |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
1e8aac |
* Lesser General Public License for more details.
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
1e8aac |
* License along with this program; if not, write to the Free Software
|
|
Packit |
1e8aac |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
*/
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
#ifndef __GLADE_DESIGN_PRIVATE_H__
|
|
Packit |
1e8aac |
#define __GLADE_DESIGN_PRIVATE_H__
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
#include "glade-design-view.h"
|
|
Packit |
1e8aac |
#include "glade-design-layout.h"
|
|
Packit |
1e8aac |
#include "glade-dnd.h"
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
G_BEGIN_DECLS
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
void _glade_design_layout_get_colors (GdkRGBA *c1, GdkRGBA *c2,
|
|
Packit |
1e8aac |
GdkRGBA *c3, GdkRGBA *c4);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
void _glade_design_layout_draw_node (cairo_t *cr,
|
|
Packit |
1e8aac |
gdouble x,
|
|
Packit |
1e8aac |
gdouble y,
|
|
Packit |
1e8aac |
GdkRGBA *fg,
|
|
Packit |
1e8aac |
GdkRGBA *bg);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
void _glade_design_layout_draw_pushpin (cairo_t *cr,
|
|
Packit |
1e8aac |
gdouble needle_length,
|
|
Packit |
1e8aac |
GdkRGBA *outline,
|
|
Packit |
1e8aac |
GdkRGBA *fill,
|
|
Packit |
1e8aac |
GdkRGBA *bg,
|
|
Packit |
1e8aac |
GdkRGBA *fg);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
void _glade_design_layout_get_hot_point (GladeDesignLayout *layout,
|
|
Packit |
1e8aac |
gint *x,
|
|
Packit |
1e8aac |
gint *y);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
GladeWidget * _glade_design_layout_get_child (GladeDesignLayout *layout);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
GtkWidget *_glade_design_layout_get_child_at_position (GtkWidget *widget,
|
|
Packit |
1e8aac |
gint x,
|
|
Packit |
1e8aac |
gint y);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
void _glade_design_layout_set_highlight (GladeDesignLayout *layout,
|
|
Packit |
1e8aac |
GladeWidget *drag);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
G_END_DECLS
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
#endif /* __GLADE_DESIGN_PRIVATE_H__ */
|