mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Add a gtkscaleprivate.h header
This commit is contained in:
parent
4a0aa41742
commit
ec37512f64
@ -417,6 +417,7 @@ gtk_private_h_sources = \
|
|||||||
gtkrecentchooserdefault.h \
|
gtkrecentchooserdefault.h \
|
||||||
gtkrecentchooserprivate.h \
|
gtkrecentchooserprivate.h \
|
||||||
gtkrecentchooserutils.h \
|
gtkrecentchooserutils.h \
|
||||||
|
gtkscaleprivate.h \
|
||||||
gtksearchengine.h \
|
gtksearchengine.h \
|
||||||
gtksearchenginesimple.h \
|
gtksearchenginesimple.h \
|
||||||
gtkselectionprivate.h \
|
gtkselectionprivate.h \
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "gtkscale.h"
|
#include "gtkscaleprivate.h"
|
||||||
#include "gtkiconfactory.h"
|
#include "gtkiconfactory.h"
|
||||||
#include "gtkicontheme.h"
|
#include "gtkicontheme.h"
|
||||||
#include "gtkmarshalers.h"
|
#include "gtkmarshalers.h"
|
||||||
|
@ -105,13 +105,6 @@ void gtk_scale_add_mark (GtkScale *scale,
|
|||||||
const gchar *markup);
|
const gchar *markup);
|
||||||
void gtk_scale_clear_marks (GtkScale *scale);
|
void gtk_scale_clear_marks (GtkScale *scale);
|
||||||
|
|
||||||
/* internal API */
|
|
||||||
void _gtk_scale_clear_layout (GtkScale *scale);
|
|
||||||
void _gtk_scale_get_value_size (GtkScale *scale,
|
|
||||||
gint *width,
|
|
||||||
gint *height);
|
|
||||||
gchar * _gtk_scale_format_value (GtkScale *scale,
|
|
||||||
gdouble value);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
38
gtk/gtkscaleprivate.h
Normal file
38
gtk/gtkscaleprivate.h
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
/* GTK - The GIMP Toolkit
|
||||||
|
* Copyright (C) 2011 Red Hat, Inc.
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library 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
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the
|
||||||
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __GTK_SCALE_PRIVATE_H__
|
||||||
|
#define __GTK_SCALE_PRIVATE_H__
|
||||||
|
|
||||||
|
|
||||||
|
#include <gtk/gtkscale.h>
|
||||||
|
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
void _gtk_scale_clear_layout (GtkScale *scale);
|
||||||
|
void _gtk_scale_get_value_size (GtkScale *scale,
|
||||||
|
gint *width,
|
||||||
|
gint *height);
|
||||||
|
gchar * _gtk_scale_format_value (GtkScale *scale,
|
||||||
|
gdouble value);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GTK_SCALE_PRIVATE_H__ */
|
Loading…
Reference in New Issue
Block a user