mirror of
https://github.com/elementary/gala.git
synced 2024-10-03 18:27:12 +03:00
build: require mutter 42 (#1496)
This commit is contained in:
parent
57f7f292d3
commit
6ab08256e0
@ -19,7 +19,7 @@ You'll need the following dependencies:
|
||||
* libgnome-desktop-3-dev
|
||||
* libgranite-dev (>= 5.4.0)
|
||||
* libgtk-3-dev (>= 3.10.0)
|
||||
* libmutter-6-dev (>= 3.35.1) | libmutter-dev (>= 3.18.3)
|
||||
* libmutter-10-dev (>= 42.0) | libmutter-dev (>= 3.18.3)
|
||||
* libxml2-utils
|
||||
* valac (>= 0.28.0)
|
||||
|
||||
|
@ -103,12 +103,10 @@ namespace Gala {
|
||||
private float last_x;
|
||||
private float last_y;
|
||||
|
||||
#if HAS_MUTTER42
|
||||
private Grab? grab = null;
|
||||
private static unowned Actor? grabbed_actor = null;
|
||||
private InputDevice? grabbed_device = null;
|
||||
private ulong on_event_id = 0;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Create a new DragDropAction
|
||||
@ -148,9 +146,6 @@ namespace Gala {
|
||||
|
||||
private void release_actor (Actor actor) {
|
||||
if (DragDropActionType.SOURCE in drag_type) {
|
||||
#if !HAS_MUTTER42
|
||||
actor.button_press_event.disconnect (source_clicked);
|
||||
#endif
|
||||
|
||||
var source_list = sources.@get (drag_id);
|
||||
source_list.remove (actor);
|
||||
@ -164,9 +159,6 @@ namespace Gala {
|
||||
|
||||
private void connect_actor (Actor actor) {
|
||||
if (DragDropActionType.SOURCE in drag_type) {
|
||||
#if !HAS_MUTTER42
|
||||
actor.button_press_event.connect (source_clicked);
|
||||
#endif
|
||||
|
||||
var source_list = sources.@get (drag_id);
|
||||
if (source_list == null) {
|
||||
@ -193,7 +185,6 @@ namespace Gala {
|
||||
destination_crossed (destination, is_hovered);
|
||||
}
|
||||
|
||||
#if HAS_MUTTER42
|
||||
public override bool handle_event (Event event) {
|
||||
if (!(DragDropActionType.SOURCE in drag_type)) {
|
||||
return false;
|
||||
@ -380,140 +371,6 @@ namespace Gala {
|
||||
|
||||
return false;
|
||||
}
|
||||
#else
|
||||
private bool source_clicked (ButtonEvent event) {
|
||||
if (event.button != 1) {
|
||||
actor_clicked (event.button);
|
||||
return false;
|
||||
}
|
||||
|
||||
actor.get_stage ().captured_event.connect (follow_move);
|
||||
clicked = true;
|
||||
last_x = event.x;
|
||||
last_y = event.y;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool follow_move (Event event) {
|
||||
// still determining if we actually want to start a drag action
|
||||
if (!dragging) {
|
||||
switch (event.get_type ()) {
|
||||
case EventType.MOTION:
|
||||
float x, y;
|
||||
event.get_coords (out x, out y);
|
||||
|
||||
var drag_threshold = Clutter.Settings.get_default ().dnd_drag_threshold;
|
||||
if (Math.fabsf (last_x - x) > drag_threshold || Math.fabsf (last_y - y) > drag_threshold) {
|
||||
handle = drag_begin (x, y);
|
||||
if (handle == null) {
|
||||
actor.get_stage ().captured_event.disconnect (follow_move);
|
||||
critical ("No handle has been returned by the started signal, aborting drag.");
|
||||
return false;
|
||||
}
|
||||
|
||||
handle.reactive = false;
|
||||
|
||||
clicked = false;
|
||||
dragging = true;
|
||||
|
||||
var source_list = sources.@get (drag_id);
|
||||
if (source_list != null) {
|
||||
var dest_list = destinations[drag_id];
|
||||
foreach (var actor in source_list) {
|
||||
// Do not unset reactivity on destinations
|
||||
if (dest_list == null || actor in dest_list) {
|
||||
continue;
|
||||
}
|
||||
|
||||
actor.reactive = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
case EventType.BUTTON_RELEASE:
|
||||
float x, y, ex, ey;
|
||||
event.get_coords (out ex, out ey);
|
||||
actor.get_transformed_position (out x, out y);
|
||||
|
||||
// release has happened within bounds of actor
|
||||
if (x < ex && x + actor.width > ex && y < ey && y + actor.height > ey) {
|
||||
actor_clicked (event.get_button ());
|
||||
}
|
||||
|
||||
actor.get_stage ().captured_event.disconnect (follow_move);
|
||||
clicked = false;
|
||||
dragging = false;
|
||||
return true;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
switch (event.get_type ()) {
|
||||
case EventType.KEY_PRESS:
|
||||
if (event.get_key_code () == Key.Escape) {
|
||||
cancel ();
|
||||
}
|
||||
return true;
|
||||
case EventType.MOTION:
|
||||
float x, y;
|
||||
event.get_coords (out x, out y);
|
||||
handle.x -= last_x - x;
|
||||
handle.y -= last_y - y;
|
||||
last_x = x;
|
||||
last_y = y;
|
||||
|
||||
var stage = actor.get_stage ();
|
||||
var actor = stage.get_actor_at_pos (PickMode.REACTIVE, (int) x, (int) y);
|
||||
DragDropAction action = null;
|
||||
// if we're allowed to bubble and this actor is not a destination, check its parents
|
||||
if (actor != null && (action = get_drag_drop_action (actor)) == null && allow_bubbling) {
|
||||
while ((actor = actor.get_parent ()) != stage) {
|
||||
if ((action = get_drag_drop_action (actor)) != null)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// didn't change, no need to do anything
|
||||
if (actor == hovered)
|
||||
return true;
|
||||
|
||||
if (action == null) {
|
||||
// apparently we left ours if we had one before
|
||||
if (hovered != null) {
|
||||
emit_crossed (hovered, false);
|
||||
hovered = null;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// signal the previous one that we left it
|
||||
if (hovered != null) {
|
||||
emit_crossed (hovered, false);
|
||||
}
|
||||
|
||||
// tell the new one that it is hovered
|
||||
hovered = actor;
|
||||
emit_crossed (hovered, true);
|
||||
|
||||
return true;
|
||||
case EventType.BUTTON_RELEASE:
|
||||
if (hovered != null) {
|
||||
finish ();
|
||||
} else {
|
||||
cancel ();
|
||||
}
|
||||
return true;
|
||||
case EventType.ENTER:
|
||||
case EventType.LEAVE:
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Looks for a DragDropAction instance if this actor has one or NULL.
|
||||
@ -583,11 +440,7 @@ namespace Gala {
|
||||
}
|
||||
|
||||
if (dragging) {
|
||||
#if HAS_MUTTER42
|
||||
ungrab_actor ();
|
||||
#else
|
||||
actor.get_stage ().captured_event.disconnect (follow_move);
|
||||
#endif
|
||||
}
|
||||
|
||||
dragging = false;
|
||||
|
@ -60,9 +60,7 @@ namespace Gala {
|
||||
* to end your modal mode again with {@link WindowManager.pop_modal}
|
||||
*/
|
||||
public class ModalProxy : Object {
|
||||
#if HAS_MUTTER42
|
||||
public Clutter.Grab? grab { get; set; }
|
||||
#endif
|
||||
/**
|
||||
* A function which is called whenever a keybinding is pressed. If you supply a custom
|
||||
* one you can filter out those that'd you like to be passed through and block all others.
|
||||
|
54
meson.build
54
meson.build
@ -106,56 +106,6 @@ libmutter_dep = []
|
||||
|
||||
vala_flags = []
|
||||
|
||||
mutter336_dep = dependency('libmutter-6', version: ['>= 3.35.1', '< 3.37'], required: false)
|
||||
if mutter336_dep.found()
|
||||
libmutter_dep = dependency('libmutter-6', version: '>= 3.35.1')
|
||||
mutter_dep = [
|
||||
libmutter_dep,
|
||||
dependency('mutter-cogl-6'), dependency('mutter-cogl-pango-6'),
|
||||
dependency('mutter-cogl-path-6'), dependency('mutter-clutter-6')
|
||||
]
|
||||
vala_flags = []
|
||||
add_project_arguments(['-DCLUTTER_ENABLE_COMPOSITOR_API', '-DCLUTTER_ENABLE_EXPERIMENTAL_API',
|
||||
'-DCOGL_ENABLE_EXPERIMENTAL_API', '-DCOGL_ENABLE_EXPERIMENTAL_2_0_API'], language: 'c')
|
||||
endif
|
||||
|
||||
mutter338_dep = dependency('libmutter-7', version: ['>= 3.37', '< 3.39'], required: false)
|
||||
if mutter338_dep.found()
|
||||
libmutter_dep = dependency('libmutter-7', version: '>= 3.37')
|
||||
mutter_dep = [
|
||||
libmutter_dep,
|
||||
dependency('mutter-cogl-7'), dependency('mutter-cogl-pango-7'),
|
||||
dependency('mutter-clutter-7')
|
||||
]
|
||||
vala_flags = ['--define', 'HAS_MUTTER338']
|
||||
add_project_arguments(['-DCLUTTER_ENABLE_COMPOSITOR_API', '-DCLUTTER_ENABLE_EXPERIMENTAL_API',
|
||||
'-DCOGL_ENABLE_EXPERIMENTAL_API', '-DCOGL_ENABLE_EXPERIMENTAL_2_0_API'], language: 'c')
|
||||
endif
|
||||
|
||||
mutter40_dep = dependency('libmutter-8', version: ['>= 40', '< 41'], required: false)
|
||||
if mutter40_dep.found()
|
||||
libmutter_dep = dependency('libmutter-8', version: '>= 40')
|
||||
mutter_dep = [
|
||||
libmutter_dep,
|
||||
dependency('mutter-cogl-8'), dependency('mutter-cogl-pango-8'),
|
||||
dependency('mutter-clutter-8')
|
||||
]
|
||||
vala_flags = ['--define', 'HAS_MUTTER338', '--define', 'HAS_MUTTER40']
|
||||
add_project_arguments(['-DCLUTTER_ENABLE_COMPOSITOR_API', '-DCLUTTER_ENABLE_EXPERIMENTAL_API',
|
||||
'-DCOGL_ENABLE_EXPERIMENTAL_API', '-DCOGL_ENABLE_EXPERIMENTAL_2_0_API'], language: 'c')
|
||||
endif
|
||||
|
||||
mutter41_dep = dependency('libmutter-9', version: ['>= 41', '< 42'], required: false)
|
||||
if mutter41_dep.found()
|
||||
libmutter_dep = dependency('libmutter-9', version: '>= 41')
|
||||
mutter_dep = [
|
||||
libmutter_dep,
|
||||
dependency('mutter-cogl-9'), dependency('mutter-cogl-pango-9'),
|
||||
dependency('mutter-clutter-9')
|
||||
]
|
||||
vala_flags = ['--define', 'HAS_MUTTER338', '--define', 'HAS_MUTTER40', '--define', 'HAS_MUTTER41']
|
||||
endif
|
||||
|
||||
mutter42_dep = dependency('libmutter-10', version: ['>= 42', '< 43'], required: false)
|
||||
if mutter42_dep.found()
|
||||
libmutter_dep = dependency('libmutter-10', version: '>= 42')
|
||||
@ -164,7 +114,7 @@ if mutter42_dep.found()
|
||||
dependency('mutter-cogl-10'), dependency('mutter-cogl-pango-10'),
|
||||
dependency('mutter-clutter-10')
|
||||
]
|
||||
vala_flags = ['--define', 'HAS_MUTTER338', '--define', 'HAS_MUTTER40', '--define', 'HAS_MUTTER41', '--define', 'HAS_MUTTER42']
|
||||
vala_flags = []
|
||||
endif
|
||||
|
||||
mutter43_dep = dependency('libmutter-11', version: ['>= 43', '< 44'], required: false)
|
||||
@ -175,7 +125,7 @@ if mutter43_dep.found()
|
||||
dependency('mutter-cogl-11'), dependency('mutter-cogl-pango-11'),
|
||||
dependency('mutter-clutter-11')
|
||||
]
|
||||
vala_flags = ['--define', 'HAS_MUTTER338', '--define', 'HAS_MUTTER40', '--define', 'HAS_MUTTER41', '--define', 'HAS_MUTTER42', '--define', 'HAS_MUTTER43']
|
||||
vala_flags = ['--define', 'HAS_MUTTER43']
|
||||
endif
|
||||
|
||||
if mutter_dep.length() == 0
|
||||
|
@ -36,9 +36,7 @@ public class Gala.Plugins.PIP.PopupWindow : Clutter.Actor {
|
||||
|
||||
private bool resizing = false;
|
||||
private bool off_screen = false;
|
||||
#if HAS_MUTTER42
|
||||
private Clutter.Grab? grab = null;
|
||||
#endif
|
||||
|
||||
private static unowned Meta.Window? previous_focus = null;
|
||||
|
||||
@ -229,13 +227,8 @@ public class Gala.Plugins.PIP.PopupWindow : Clutter.Actor {
|
||||
begin_resize_width = width;
|
||||
begin_resize_height = height;
|
||||
|
||||
#if HAS_MUTTER42
|
||||
grab = resize_button.get_stage ().grab (resize_button);
|
||||
resize_button.event.connect (on_resize_event);
|
||||
#else
|
||||
resize_button.get_stage ().set_motion_events_enabled (false);
|
||||
resize_button.get_stage ().captured_event.connect (on_resize_event);
|
||||
#endif
|
||||
|
||||
return Gdk.EVENT_PROPAGATE;
|
||||
}
|
||||
@ -288,16 +281,11 @@ public class Gala.Plugins.PIP.PopupWindow : Clutter.Actor {
|
||||
return;
|
||||
}
|
||||
|
||||
#if HAS_MUTTER42
|
||||
if (grab != null) {
|
||||
grab.dismiss ();
|
||||
resize_button.event.disconnect (on_resize_event);
|
||||
grab = null;
|
||||
}
|
||||
#else
|
||||
resize_button.get_stage ().captured_event.disconnect (on_resize_event);
|
||||
resize_button.get_stage ().set_motion_events_enabled (true);
|
||||
#endif
|
||||
|
||||
resizing = false;
|
||||
|
||||
|
@ -116,11 +116,7 @@ public class Gala.Plugins.PIP.ShadowEffect : Clutter.Effect {
|
||||
}
|
||||
}
|
||||
|
||||
#if HAS_MUTTER40
|
||||
public override void paint (Clutter.PaintNode node, Clutter.PaintContext context, Clutter.EffectPaintFlags flags) {
|
||||
#else
|
||||
public override void paint (Clutter.PaintContext context, EffectPaintFlags flags) {
|
||||
#endif
|
||||
var bounding_box = get_bounding_box ();
|
||||
var width = (int) (bounding_box.x2 - bounding_box.x1);
|
||||
var height = (int) (bounding_box.y2 - bounding_box.y1);
|
||||
|
@ -105,23 +105,14 @@ namespace Gala {
|
||||
}
|
||||
|
||||
new_background_actor = create_background_actor ();
|
||||
#if HAS_MUTTER338
|
||||
var new_content = (Meta.BackgroundContent)new_background_actor.content;
|
||||
var old_content = (Meta.BackgroundContent)background_actor.content;
|
||||
new_content.vignette_sharpness = old_content.vignette_sharpness;
|
||||
new_content.brightness = old_content.brightness;
|
||||
#else
|
||||
new_background_actor.vignette_sharpness = background_actor.vignette_sharpness;
|
||||
new_background_actor.brightness = background_actor.brightness;
|
||||
#endif
|
||||
new_background_actor.visible = background_actor.visible;
|
||||
|
||||
|
||||
#if HAS_MUTTER338
|
||||
var background = new_content.background.get_data<unowned Background> ("delegate");
|
||||
#else
|
||||
var background = new_background_actor.background.get_data<unowned Background> ("delegate");
|
||||
#endif
|
||||
|
||||
if (background.is_loaded) {
|
||||
swap_background_actor (animate);
|
||||
@ -148,21 +139,12 @@ namespace Gala {
|
||||
var background = background_source.get_background (monitor_index);
|
||||
var background_actor = new Meta.BackgroundActor (display, monitor_index);
|
||||
|
||||
#if HAS_MUTTER338
|
||||
((Meta.BackgroundContent)background_actor.content).background = background.background;
|
||||
((Meta.BackgroundContent)background_actor.content).vignette = true;
|
||||
#else
|
||||
background_actor.background = background.background;
|
||||
background_actor.vignette = true;
|
||||
#endif
|
||||
|
||||
// Don't play dim animation when launching gala or switching wallpaper
|
||||
if (should_dim ()) {
|
||||
#if HAS_MUTTER338
|
||||
((Meta.BackgroundContent)background_actor.content).brightness = DIM_OPACITY;
|
||||
#else
|
||||
background_actor.brightness = DIM_OPACITY;
|
||||
#endif
|
||||
}
|
||||
|
||||
Granite.Settings.get_default ().notify["prefers-color-scheme"].connect (update_dim_wallpaper);
|
||||
@ -226,22 +208,14 @@ namespace Gala {
|
||||
background_actor.add_child (dim_actor);
|
||||
var binding = dim_actor.bind_property (
|
||||
"opacity",
|
||||
#if HAS_MUTTER338
|
||||
(Meta.BackgroundContent) background_actor.content,
|
||||
#else
|
||||
background_actor,
|
||||
#endif
|
||||
"brightness",
|
||||
BindingFlags.DEFAULT
|
||||
);
|
||||
|
||||
var transition = new Clutter.PropertyTransition ("opacity");
|
||||
transition.set_from_value (
|
||||
#if HAS_MUTTER338
|
||||
((Meta.BackgroundContent) background_actor.content).brightness
|
||||
#else
|
||||
background_actor.brightness
|
||||
#endif
|
||||
);
|
||||
transition.set_to_value (should_dim () ? DIM_OPACITY : 1.0);
|
||||
transition.duration = FADE_ANIMATION_TIME;
|
||||
|
@ -42,11 +42,7 @@ namespace Gala {
|
||||
system_background.set_file (background_file, GDesktop.BackgroundStyle.WALLPAPER);
|
||||
}
|
||||
|
||||
#if HAS_MUTTER338
|
||||
((Meta.BackgroundContent)background_actor.content).background = system_background;
|
||||
#else
|
||||
background_actor.background = system_background;
|
||||
#endif
|
||||
|
||||
var cache = Meta.BackgroundImageCache.get_default ();
|
||||
var image = cache.load (background_file);
|
||||
|
@ -97,13 +97,8 @@ namespace Gala {
|
||||
private class DummyOffscreenEffect : Clutter.OffscreenEffect {
|
||||
public signal void done_painting ();
|
||||
|
||||
#if HAS_MUTTER40
|
||||
public override void post_paint (Clutter.PaintNode node, Clutter.PaintContext context) {
|
||||
base.post_paint (node, context);
|
||||
#else
|
||||
public override void post_paint (Clutter.PaintContext context) {
|
||||
base.post_paint (context);
|
||||
#endif
|
||||
done_painting ();
|
||||
}
|
||||
}
|
||||
|
@ -82,9 +82,6 @@ namespace Gala {
|
||||
foreach (unowned GrabbedAccelerator accel in grabbed_accelerators.get_values ()) {
|
||||
if (accel.action == action) {
|
||||
var parameters = new GLib.HashTable<string, Variant> (null, null);
|
||||
#if !HAS_MUTTER40
|
||||
parameters.set ("device-id", new Variant.uint32 (device.id));
|
||||
#endif
|
||||
parameters.set ("timestamp", new Variant.uint32 (timestamp));
|
||||
if (device.device_node != null) {
|
||||
parameters.set ("device-node", new Variant.string (device.device_node));
|
||||
|
@ -32,7 +32,6 @@ namespace Gala {
|
||||
GLib.Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
|
||||
GLib.Intl.textdomain (Config.GETTEXT_PACKAGE);
|
||||
|
||||
#if HAS_MUTTER41
|
||||
var ctx = new Meta.Context ("Mutter(Gala)");
|
||||
ctx.add_option_entries (Gala.OPTIONS, Config.GETTEXT_PACKAGE);
|
||||
try {
|
||||
@ -63,45 +62,18 @@ namespace Gala {
|
||||
ctx.terminate ();
|
||||
return GLib.Source.REMOVE;
|
||||
});
|
||||
#else
|
||||
unowned OptionContext ctx = Meta.get_option_context ();
|
||||
ctx.add_main_entries (Gala.OPTIONS, null);
|
||||
try {
|
||||
ctx.parse (ref args);
|
||||
} catch (Error e) {
|
||||
stderr.printf ("Error initializing: %s\n", e.message);
|
||||
Meta.exit (Meta.ExitCode.ERROR);
|
||||
}
|
||||
|
||||
Meta.Plugin.manager_set_plugin_type (typeof (WindowManagerGala));
|
||||
|
||||
Meta.Util.set_wm_name ("Mutter(Gala)");
|
||||
#endif
|
||||
|
||||
#if HAS_MUTTER41
|
||||
try {
|
||||
ctx.setup ();
|
||||
} catch (Error e) {
|
||||
stderr.printf ("Failed to setup: %s\n", e.message);
|
||||
return Posix.EXIT_FAILURE;
|
||||
}
|
||||
#else
|
||||
/**
|
||||
* Prevent Meta.init () from causing gtk to load gail and at-bridge
|
||||
* Taken from Gnome-Shell main.c
|
||||
*/
|
||||
GLib.Environment.set_variable ("NO_GAIL", "1", true);
|
||||
GLib.Environment.set_variable ("NO_AT_BRIDGE", "1", true);
|
||||
Meta.init ();
|
||||
GLib.Environment.unset_variable ("NO_GAIL");
|
||||
GLib.Environment.unset_variable ("NO_AT_BRIDGE");
|
||||
#endif
|
||||
|
||||
// Force initialization of static fields in Utils class
|
||||
// https://gitlab.gnome.org/GNOME/vala/-/issues/11
|
||||
typeof (Gala.Utils).class_ref ();
|
||||
|
||||
#if HAS_MUTTER41
|
||||
try {
|
||||
ctx.start ();
|
||||
} catch (Error e) {
|
||||
@ -117,8 +89,5 @@ namespace Gala {
|
||||
}
|
||||
|
||||
return Posix.EXIT_SUCCESS;
|
||||
#else
|
||||
return Meta.run ();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@ -341,7 +341,6 @@ namespace Gala {
|
||||
|
||||
private Cairo.ImageSurface take_screenshot (int x, int y, int width, int height, bool include_cursor) {
|
||||
Cairo.ImageSurface image;
|
||||
#if HAS_MUTTER338
|
||||
int image_width, image_height;
|
||||
float scale;
|
||||
|
||||
@ -373,23 +372,6 @@ namespace Gala {
|
||||
paint_flags
|
||||
);
|
||||
}
|
||||
#else
|
||||
Clutter.Capture[] captures;
|
||||
wm.stage.capture (false, {x, y, width, height}, out captures);
|
||||
|
||||
if (captures.length == 0)
|
||||
image = new Cairo.ImageSurface (Cairo.Format.ARGB32, width, height);
|
||||
else if (captures.length == 1)
|
||||
image = captures[0].image;
|
||||
else
|
||||
image = composite_capture_images (captures, x, y, width, height);
|
||||
|
||||
if (include_cursor) {
|
||||
image = composite_stage_cursor (image, { x, y, width, height});
|
||||
}
|
||||
|
||||
image.mark_dirty ();
|
||||
#endif
|
||||
return image;
|
||||
}
|
||||
|
||||
@ -417,11 +399,7 @@ namespace Gala {
|
||||
private Cairo.ImageSurface composite_stage_cursor (Cairo.ImageSurface image, Cairo.RectangleInt image_rect) {
|
||||
unowned Meta.CursorTracker cursor_tracker = wm.get_display ().get_cursor_tracker ();
|
||||
Graphene.Point coords = {};
|
||||
#if HAS_MUTTER40
|
||||
cursor_tracker.get_pointer (out coords, null);
|
||||
#else
|
||||
cursor_tracker.get_pointer (out coords.x, out coords.y, null);
|
||||
#endif
|
||||
|
||||
var region = new Cairo.Region.rectangle (image_rect);
|
||||
if (!region.contains_point ((int) coords.x, (int) coords.y)) {
|
||||
|
@ -116,11 +116,7 @@ public class Gala.ShadowEffect : Clutter.Effect {
|
||||
}
|
||||
}
|
||||
|
||||
#if HAS_MUTTER40
|
||||
public override void paint (Clutter.PaintNode node, Clutter.PaintContext context, Clutter.EffectPaintFlags flags) {
|
||||
#else
|
||||
public override void paint (Clutter.PaintContext context, EffectPaintFlags flags) {
|
||||
#endif
|
||||
var bounding_box = get_bounding_box ();
|
||||
var width = (int) (bounding_box.x2 - bounding_box.x1);
|
||||
var height = (int) (bounding_box.y2 - bounding_box.y1);
|
||||
|
@ -74,11 +74,7 @@ namespace Gala {
|
||||
seat.ptr_a11y_timeout_started.connect ((device, type, timeout) => {
|
||||
var tracker = wm.get_display ().get_cursor_tracker ();
|
||||
Graphene.Point coords = {};
|
||||
#if HAS_MUTTER40
|
||||
tracker.get_pointer (out coords, null);
|
||||
#else
|
||||
tracker.get_pointer (out coords.x, out coords.y, null);
|
||||
#endif
|
||||
|
||||
x = coords.x - (width / 2);
|
||||
y = coords.y - (width / 2);
|
||||
|
@ -149,11 +149,7 @@ namespace Gala {
|
||||
|
||||
unowned var tracker = wm.get_display ().get_cursor_tracker ();
|
||||
Graphene.Point coords = {};
|
||||
#if HAS_MUTTER40
|
||||
tracker.get_pointer (out coords, null);
|
||||
#else
|
||||
tracker.get_pointer (out coords.x, out coords.y, null);
|
||||
#endif
|
||||
|
||||
x = coords.x - (width / 2);
|
||||
y = coords.y - (width / 2);
|
||||
|
@ -121,12 +121,7 @@ public class Gala.Tooltip : Clutter.Actor {
|
||||
y = padding.top,
|
||||
ellipsize = Pango.EllipsizeMode.MIDDLE
|
||||
};
|
||||
#if HAS_MUTTER42
|
||||
text_actor.text = text;
|
||||
#else
|
||||
text_actor.use_markup = true;
|
||||
text_actor.set_markup (Markup.printf_escaped ("<span size='large'>%s</span>", text));
|
||||
#endif
|
||||
|
||||
if ((text_actor.width + padding.left + padding.right) > max_width) {
|
||||
text_actor.width = max_width - padding.left - padding.right;
|
||||
|
@ -418,13 +418,8 @@ public class Gala.WindowClone : Clutter.Actor {
|
||||
* according to their given allocations. The first two are placed in a way
|
||||
* that compensates for invisible borders of the texture.
|
||||
*/
|
||||
#if HAS_MUTTER338
|
||||
public override void allocate (Clutter.ActorBox box) {
|
||||
base.allocate (box);
|
||||
#else
|
||||
public override void allocate (Clutter.ActorBox box, Clutter.AllocationFlags flags) {
|
||||
base.allocate (box, flags);
|
||||
#endif
|
||||
|
||||
var input_rect = window.get_buffer_rect ();
|
||||
var outer_rect = window.get_frame_rect ();
|
||||
@ -436,11 +431,7 @@ public class Gala.WindowClone : Clutter.Actor {
|
||||
outer_rect.width * scale_factor + ACTIVE_SHAPE_SIZE,
|
||||
outer_rect.height * scale_factor + ACTIVE_SHAPE_SIZE
|
||||
};
|
||||
#if HAS_MUTTER338
|
||||
active_shape.allocate (shape_alloc);
|
||||
#else
|
||||
active_shape.allocate (shape_alloc, flags);
|
||||
#endif
|
||||
|
||||
active_shape.set_scale_factor (scale_factor);
|
||||
|
||||
@ -888,13 +879,8 @@ public class Gala.WindowClone : Clutter.Actor {
|
||||
return width == 0 || height == 0 || (width == last_width && height == last_height);
|
||||
}
|
||||
|
||||
#if HAS_MUTTER338
|
||||
public override void allocate (Clutter.ActorBox box) {
|
||||
base.allocate (box);
|
||||
#else
|
||||
public override void allocate (Clutter.ActorBox box, Clutter.AllocationFlags flags) {
|
||||
base.allocate (box, flags);
|
||||
#endif
|
||||
var width = (int) box.get_width ();
|
||||
var height = (int) box.get_height ();
|
||||
|
||||
|
@ -344,9 +344,6 @@ namespace Gala {
|
||||
|| name == "switch-windows" || name == "switch-windows-backward");
|
||||
});
|
||||
|
||||
#if !HAS_MUTTER42
|
||||
grab_key_focus ();
|
||||
#endif
|
||||
}
|
||||
|
||||
private void close_switcher (uint32 time, bool cancel = false) {
|
||||
|
@ -42,7 +42,6 @@ namespace Gala {
|
||||
add_effect (effect);
|
||||
}
|
||||
|
||||
#if HAS_MUTTER338
|
||||
public override void paint (Clutter.PaintContext context) {
|
||||
base.paint (context);
|
||||
|
||||
@ -89,22 +88,6 @@ namespace Gala {
|
||||
unowned var fb = context.get_framebuffer ();
|
||||
fb.draw_rectangle (pipeline, 0, 0, width, height);
|
||||
}
|
||||
#else
|
||||
public override void paint (Clutter.PaintContext context) {
|
||||
base.paint (context);
|
||||
|
||||
pipeline.set_color4ub (0, 0, 0, 100);
|
||||
var path = new Cogl.Path ();
|
||||
path.rectangle (0, 0, width, height);
|
||||
context.get_framebuffer ().stroke_path (pipeline, path);
|
||||
|
||||
var color = Cogl.Color.from_4ub (255, 255, 255, 25);
|
||||
color.premultiply ();
|
||||
pipeline.set_color (color);
|
||||
path.rectangle (0.5f, 0.5f, width - 1, height - 1);
|
||||
context.get_framebuffer ().stroke_path (pipeline, path);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -246,20 +246,14 @@ namespace Gala {
|
||||
display.add_keybinding ("move-to-workspace-last", keybinding_settings, 0, (Meta.KeyHandlerFunc) handle_move_to_workspace_end);
|
||||
display.add_keybinding ("cycle-workspaces-next", keybinding_settings, 0, (Meta.KeyHandlerFunc) handle_cycle_workspaces);
|
||||
display.add_keybinding ("cycle-workspaces-previous", keybinding_settings, 0, (Meta.KeyHandlerFunc) handle_cycle_workspaces);
|
||||
#if HAS_MUTTER41
|
||||
display.add_keybinding ("panel-main-menu", keybinding_settings, 0, (Meta.KeyHandlerFunc) handle_applications_menu);
|
||||
#else
|
||||
Meta.KeyBinding.set_custom_handler ("panel-main-menu", (Meta.KeyHandlerFunc) handle_applications_menu);
|
||||
#endif
|
||||
|
||||
#if HAS_MUTTER42
|
||||
display.add_keybinding ("screenshot", keybinding_settings, 0, (Meta.KeyHandlerFunc) handle_screenshot);
|
||||
display.add_keybinding ("window-screenshot", keybinding_settings, 0, (Meta.KeyHandlerFunc) handle_screenshot);
|
||||
display.add_keybinding ("area-screenshot", keybinding_settings, 0, (Meta.KeyHandlerFunc) handle_screenshot);
|
||||
display.add_keybinding ("screenshot-clip", keybinding_settings, 0, (Meta.KeyHandlerFunc) handle_screenshot);
|
||||
display.add_keybinding ("window-screenshot-clip", keybinding_settings, 0, (Meta.KeyHandlerFunc) handle_screenshot);
|
||||
display.add_keybinding ("area-screenshot-clip", keybinding_settings, 0, (Meta.KeyHandlerFunc) handle_screenshot);
|
||||
#endif
|
||||
|
||||
display.overlay_key.connect (() => {
|
||||
launch_action ("overlay-action");
|
||||
@ -356,11 +350,7 @@ namespace Gala {
|
||||
#if WITH_SYSTEMD
|
||||
Systemd.Daemon.notify (true, "READY=1");
|
||||
#endif
|
||||
#if HAS_MUTTER41
|
||||
display.get_context ().notify_ready ();
|
||||
#else
|
||||
Meta.register_with_session ();
|
||||
#endif
|
||||
plugin_manager.load_waiting_plugins ();
|
||||
return GLib.Source.REMOVE;
|
||||
});
|
||||
@ -719,16 +709,9 @@ namespace Gala {
|
||||
return proxy;
|
||||
|
||||
unowned Meta.Display display = get_display ();
|
||||
#if !HAS_MUTTER42
|
||||
var time = display.get_current_time ();
|
||||
#endif
|
||||
|
||||
update_input_area ();
|
||||
#if HAS_MUTTER42
|
||||
proxy.grab = stage.grab (actor);
|
||||
#else
|
||||
begin_modal (0, time);
|
||||
#endif
|
||||
|
||||
if (modal_stack.size == 1) {
|
||||
display.disable_unredirect ();
|
||||
@ -746,9 +729,7 @@ namespace Gala {
|
||||
return;
|
||||
}
|
||||
|
||||
#if HAS_MUTTER42
|
||||
proxy.grab.dismiss ();
|
||||
#endif
|
||||
|
||||
if (is_modal ())
|
||||
return;
|
||||
@ -756,9 +737,6 @@ namespace Gala {
|
||||
update_input_area ();
|
||||
|
||||
unowned Meta.Display display = get_display ();
|
||||
#if !HAS_MUTTER42
|
||||
end_modal (display.get_current_time ());
|
||||
#endif
|
||||
|
||||
display.enable_unredirect ();
|
||||
}
|
||||
|
@ -22,12 +22,10 @@ public class Gala.WindowTracker : GLib.Object {
|
||||
}
|
||||
|
||||
private void load_initial_windows (Meta.Display display) {
|
||||
#if HAS_MUTTER42
|
||||
GLib.List<weak Meta.Window> windows = display.list_all_windows ();
|
||||
foreach (weak Meta.Window window in windows) {
|
||||
track_window (window);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
private void init_window_tracking (Meta.Display display) {
|
||||
|
@ -1,42 +0,0 @@
|
||||
namespace Clutter {
|
||||
|
||||
public struct Color {
|
||||
[CCode (cname = "clutter_color_from_hls")]
|
||||
public Color.from_hls (float hue, float luminance, float saturation);
|
||||
[CCode (cname = "clutter_color_from_pixel")]
|
||||
public Color.from_pixel (uint32 pixel);
|
||||
[CCode (cname = "clutter_color_from_string")]
|
||||
public Color.from_string (string str);
|
||||
[CCode (cname = "clutter_color_from_string")]
|
||||
public bool parse_string (string str);
|
||||
}
|
||||
|
||||
public interface Container : GLib.Object {
|
||||
public void add (params Clutter.Actor[] actors);
|
||||
[CCode (cname = "clutter_container_class_find_child_property")]
|
||||
public class unowned GLib.ParamSpec find_child_property (string property_name);
|
||||
[CCode (cname = "clutter_container_class_list_child_properties")]
|
||||
public class unowned GLib.ParamSpec[] list_child_properties ();
|
||||
}
|
||||
|
||||
public struct Units {
|
||||
[CCode (cname = "clutter_units_from_cm")]
|
||||
public Units.from_cm (float cm);
|
||||
[CCode (cname = "clutter_units_from_em")]
|
||||
public Units.from_em (float em);
|
||||
[CCode (cname = "clutter_units_from_em_for_font")]
|
||||
public Units.from_em_for_font (string font_name, float em);
|
||||
[CCode (cname = "clutter_units_from_mm")]
|
||||
public Units.from_mm (float mm);
|
||||
[CCode (cname = "clutter_units_from_pixels")]
|
||||
public Units.from_pixels (int px);
|
||||
[CCode (cname = "clutter_units_from_pt")]
|
||||
public Units.from_pt (float pt);
|
||||
[CCode (cname = "clutter_units_from_string")]
|
||||
public Units.from_string (string str);
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "clutter/clutter.h", has_copy_function = false, has_destroy_function = false, has_type_id = false)]
|
||||
public struct Capture {
|
||||
}
|
||||
}
|
@ -1,193 +0,0 @@
|
||||
// Non mini-object
|
||||
ActorBox struct
|
||||
Color struct
|
||||
Knot struct
|
||||
Margin struct
|
||||
PaintVolume struct
|
||||
PathNode struct
|
||||
Perspective struct
|
||||
Units struct
|
||||
|
||||
*.ref unowned
|
||||
|
||||
init.argv unowned
|
||||
init_with_args
|
||||
.argv unowned
|
||||
Actor
|
||||
.apply_transform.matrix ref
|
||||
.get_abs_allocation_vertices.verts out=false
|
||||
.get_allocation_vertices.verts out=false
|
||||
Canvas
|
||||
.new symbol_type="constructor"
|
||||
Event.type#method name="get_type"
|
||||
Image
|
||||
.new symbol_type="constructor"
|
||||
|
||||
// ???
|
||||
Actor.has_pointer#method name="get_has_pointer"
|
||||
InitError errordomain=false
|
||||
|
||||
// Not all backing symbols are deprecated
|
||||
Actor.pick deprecated=false
|
||||
|
||||
// Nullable return values
|
||||
Actor
|
||||
.get_parent nullable
|
||||
value_get_color nullable
|
||||
|
||||
// method/virtual-method/signal don't match
|
||||
Actor
|
||||
.event#method name="emit_event"
|
||||
.get_paint_volume#virtual_method name="get_paint_volume_vfunc"
|
||||
.get_paint_volume#virtual_method.volume out
|
||||
.queue_redraw#signal skip
|
||||
.queue_redraw#virtual_method skip
|
||||
Container
|
||||
.add_actor skip=false
|
||||
.class_* skip
|
||||
Text
|
||||
.activate#method name="try_activate"
|
||||
.insert_text#signal skip
|
||||
TextBuffer.get_text#virtual_method name="get_text_with_length"
|
||||
|
||||
// virtual/abstract distinction
|
||||
Container
|
||||
.lower virtual
|
||||
.raise virtual
|
||||
.*_child_meta#virtual_method virtual
|
||||
|
||||
// Default values
|
||||
Container
|
||||
.lower.sibling nullable default=null
|
||||
.raise.sibling nullable default=null
|
||||
Stage.read_pixels
|
||||
.width default=-1
|
||||
.height default=-1
|
||||
Text
|
||||
.position_to_coords.line_height default=null
|
||||
|
||||
// Reparented funcs methods can't be instance methods
|
||||
feature_available skip
|
||||
feature_get_all skip
|
||||
|
||||
// Skipped by g-i for unknown reasons
|
||||
LayoutManager
|
||||
.create_child_meta skip=false
|
||||
|
||||
// Variadic arguments
|
||||
Actor
|
||||
.animate skip=false
|
||||
.animate_with_timeline skip=false
|
||||
Backend
|
||||
.get_cogl_context skip=false
|
||||
Box
|
||||
.pack skip=false
|
||||
.pack_after skip=false
|
||||
.pack_at skip=false
|
||||
.pack_before skip=false
|
||||
Container
|
||||
.child_get skip=false
|
||||
.child_set skip=false
|
||||
.remove skip=false
|
||||
Interval
|
||||
.new skip=false
|
||||
.get_interval skip=false
|
||||
.set_final skip=false
|
||||
.set_initial skip=false
|
||||
.set_interval skip=false
|
||||
LayoutManager
|
||||
.child_get skip=false
|
||||
.child_set skip=false
|
||||
Script
|
||||
.get_objects skip=false
|
||||
|
||||
// Skipped upstream for unknown reasons
|
||||
Interval.register_progress_func skip=false
|
||||
get_option_group skip=false
|
||||
get_option_group_without_init skip=false
|
||||
threads_add_idle skip=false
|
||||
threads_add_idle_full skip=false
|
||||
threads_add_timeout skip=false
|
||||
threads_add_timeout_full skip=false
|
||||
|
||||
// struct/class confusion
|
||||
ActorBox
|
||||
.new skip
|
||||
.from_vertices skip
|
||||
Units.from_* skip
|
||||
Color
|
||||
.new skip
|
||||
Margin
|
||||
.new skip
|
||||
|
||||
// Class methods
|
||||
container_class_find_child_property skip
|
||||
container_class_list_child_properties skip
|
||||
|
||||
// Move symbols
|
||||
get_actor_by_gid parent="Clutter.Actor" name="get_by_gid"
|
||||
color_from_* skip
|
||||
units_from_* skip
|
||||
|
||||
// Struct return values
|
||||
color_get_static nullable
|
||||
|
||||
// Upstream
|
||||
Event
|
||||
.get_position.position out
|
||||
|
||||
// Remove for clutter-2.0
|
||||
/////////////////////////
|
||||
|
||||
StageView.layout skip
|
||||
|
||||
Stage
|
||||
.event name="emit_event"
|
||||
.paint_view.redraw_clip type="Cairo.Region"
|
||||
|
||||
Capture
|
||||
.image type="Cairo.ImageSurface"
|
||||
|
||||
// *Event should be compact classes derived from Clutter.Event
|
||||
Event.type skip=false
|
||||
AnyEvent struct=false base_type="Clutter.Event"
|
||||
ButtonEvent struct=false base_type="Clutter.Event"
|
||||
CrossingEvent struct=false base_type="Clutter.Event"
|
||||
KeyEvent struct=false base_type="Clutter.Event"
|
||||
MotionEvent struct=false base_type="Clutter.Event"
|
||||
ScrollEvent struct=false base_type="Clutter.Event"
|
||||
StageStateEvent struct=false base_type="Clutter.Event"
|
||||
TouchEvent struct=false base_type="Clutter.Event"
|
||||
TouchpadPinchEvent struct=false base_type="Clutter.Event"
|
||||
TouchpadSwipeEvent struct=false base_type="Clutter.Event"
|
||||
ProximityEvent struct=false base_type="Clutter.Event"
|
||||
PadButtonEvent struct=false base_type="Clutter.Event"
|
||||
PadRingEvent struct=false base_type="Clutter.Event"
|
||||
PadStripEvent struct=false base_type="Clutter.Event"
|
||||
|
||||
// Keysyms used to be CLUTTER_X instead of CLUTTER_KEY_X
|
||||
*#constant skip
|
||||
COGL skip=false
|
||||
CURRENT_TIME skip=false
|
||||
FLAVOUR skip=false
|
||||
PATH_RELATIVE skip=false
|
||||
PRIORITY_REDRAW skip=false
|
||||
|
||||
// Clutter devs don't like us creating nested namespaces
|
||||
value_* name="value_(.+)" parent="Clutter.Value"
|
||||
threads_* name="threads_(.+)" parent="Clutter.Threads"
|
||||
threads_add_idle name="add" parent="Clutter.Threads.Idle"
|
||||
threads_add_idle_full name="add_full" parent="Clutter.Threads.Idle"
|
||||
threads_add_timeout name="add" parent="Clutter.Threads.Timeout"
|
||||
threads_add_timeout_full name="add_full" parent="Clutter.Threads.Timeout"
|
||||
|
||||
// Backwards compatibility
|
||||
Color.alloc symbol_type="function"
|
||||
|
||||
BinAlignment deprecated=false deprecated_since=null
|
||||
BinAlignment.* deprecated
|
||||
BinAlignment.start deprecated=false
|
||||
BinLayout.new.*_align default=Clutter.BinAlignment.START
|
||||
|
||||
// Possibly keep
|
||||
KEY_* skip=false name="KEY_(.+)" type="uint" parent="Clutter.Key"
|
@ -1,42 +0,0 @@
|
||||
namespace Clutter {
|
||||
|
||||
public struct Color {
|
||||
[CCode (cname = "clutter_color_from_hls")]
|
||||
public Color.from_hls (float hue, float luminance, float saturation);
|
||||
[CCode (cname = "clutter_color_from_pixel")]
|
||||
public Color.from_pixel (uint32 pixel);
|
||||
[CCode (cname = "clutter_color_from_string")]
|
||||
public Color.from_string (string str);
|
||||
[CCode (cname = "clutter_color_from_string")]
|
||||
public bool parse_string (string str);
|
||||
}
|
||||
|
||||
public interface Container : GLib.Object {
|
||||
public void add (params Clutter.Actor[] actors);
|
||||
[CCode (cname = "clutter_container_class_find_child_property")]
|
||||
public class unowned GLib.ParamSpec find_child_property (string property_name);
|
||||
[CCode (cname = "clutter_container_class_list_child_properties")]
|
||||
public class unowned GLib.ParamSpec[] list_child_properties ();
|
||||
}
|
||||
|
||||
public struct Units {
|
||||
[CCode (cname = "clutter_units_from_cm")]
|
||||
public Units.from_cm (float cm);
|
||||
[CCode (cname = "clutter_units_from_em")]
|
||||
public Units.from_em (float em);
|
||||
[CCode (cname = "clutter_units_from_em_for_font")]
|
||||
public Units.from_em_for_font (string font_name, float em);
|
||||
[CCode (cname = "clutter_units_from_mm")]
|
||||
public Units.from_mm (float mm);
|
||||
[CCode (cname = "clutter_units_from_pixels")]
|
||||
public Units.from_pixels (int px);
|
||||
[CCode (cname = "clutter_units_from_pt")]
|
||||
public Units.from_pt (float pt);
|
||||
[CCode (cname = "clutter_units_from_string")]
|
||||
public Units.from_string (string str);
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "clutter/clutter.h", has_copy_function = false, has_destroy_function = false, has_type_id = false)]
|
||||
public struct Capture {
|
||||
}
|
||||
}
|
@ -1,194 +0,0 @@
|
||||
// Non mini-object
|
||||
ActorBox struct
|
||||
Color struct
|
||||
Knot struct
|
||||
Margin struct
|
||||
PaintVolume struct
|
||||
PathNode struct
|
||||
Perspective struct
|
||||
Units struct
|
||||
|
||||
*.ref unowned
|
||||
|
||||
init.argv unowned
|
||||
init_with_args
|
||||
.argv unowned
|
||||
Actor
|
||||
.apply_transform.matrix ref
|
||||
.get_abs_allocation_vertices.verts out=false
|
||||
Canvas
|
||||
.new symbol_type="constructor"
|
||||
Event.type#method name="get_type"
|
||||
Image
|
||||
.new symbol_type="constructor"
|
||||
|
||||
// ???
|
||||
Actor.has_pointer#method name="get_has_pointer"
|
||||
InitError errordomain=false
|
||||
|
||||
// Not all backing symbols are deprecated
|
||||
Actor.pick deprecated=false
|
||||
|
||||
// Nullable return values
|
||||
Actor
|
||||
.get_parent nullable
|
||||
value_get_color nullable
|
||||
|
||||
// method/virtual-method/signal don't match
|
||||
Actor
|
||||
.event#method name="emit_event"
|
||||
.get_paint_volume#virtual_method name="get_paint_volume_vfunc"
|
||||
.get_paint_volume#virtual_method.volume out
|
||||
.queue_redraw#signal skip
|
||||
.queue_redraw#virtual_method skip
|
||||
Container
|
||||
.add_actor skip=false
|
||||
.class_* skip
|
||||
Text
|
||||
.activate#method name="try_activate"
|
||||
.insert_text#signal skip
|
||||
TextBuffer.get_text#virtual_method name="get_text_with_length"
|
||||
|
||||
// virtual/abstract distinction
|
||||
Container
|
||||
.lower virtual
|
||||
.raise virtual
|
||||
.*_child_meta#virtual_method virtual
|
||||
|
||||
// Default values
|
||||
Container
|
||||
.lower.sibling nullable default=null
|
||||
.raise.sibling nullable default=null
|
||||
Stage.read_pixels
|
||||
.width default=-1
|
||||
.height default=-1
|
||||
Stage.get_capture_final_size
|
||||
.width out
|
||||
.height out
|
||||
.scale out
|
||||
Stage.paint_to_buffer
|
||||
.data type="uint8[]"
|
||||
Text
|
||||
.position_to_coords.line_height default=null
|
||||
|
||||
// Reparented funcs methods can't be instance methods
|
||||
feature_available skip
|
||||
feature_get_all skip
|
||||
|
||||
// Skipped by g-i for unknown reasons
|
||||
LayoutManager
|
||||
.create_child_meta skip=false
|
||||
|
||||
// Variadic arguments
|
||||
Backend
|
||||
.get_cogl_context skip=false
|
||||
Container
|
||||
.child_get skip=false
|
||||
.child_set skip=false
|
||||
.remove skip=false
|
||||
Interval
|
||||
.new skip=false
|
||||
.get_interval skip=false
|
||||
.set_final skip=false
|
||||
.set_initial skip=false
|
||||
.set_interval skip=false
|
||||
LayoutManager
|
||||
.child_get skip=false
|
||||
.child_set skip=false
|
||||
Script
|
||||
.get_objects skip=false
|
||||
|
||||
// Skipped upstream for unknown reasons
|
||||
Interval.register_progress_func skip=false
|
||||
get_option_group skip=false
|
||||
get_option_group_without_init skip=false
|
||||
threads_add_idle skip=false
|
||||
threads_add_idle_full skip=false
|
||||
threads_add_timeout skip=false
|
||||
threads_add_timeout_full skip=false
|
||||
|
||||
// struct/class confusion
|
||||
ActorBox
|
||||
.new skip
|
||||
.from_vertices skip
|
||||
Units.from_* skip
|
||||
Color
|
||||
.new skip
|
||||
Margin
|
||||
.new skip
|
||||
|
||||
// Class methods
|
||||
container_class_find_child_property skip
|
||||
container_class_list_child_properties skip
|
||||
|
||||
// Move symbols
|
||||
color_from_* skip
|
||||
units_from_* skip
|
||||
|
||||
// Struct return values
|
||||
color_get_static nullable
|
||||
|
||||
// Upstream
|
||||
Event
|
||||
.get_position.position out
|
||||
|
||||
FrameListenerIface skip
|
||||
FrameClock.new skip
|
||||
|
||||
// Remove for clutter-2.0
|
||||
/////////////////////////
|
||||
|
||||
StageView.layout skip
|
||||
|
||||
Stage
|
||||
.event name="emit_event"
|
||||
.paint_view.redraw_clip type="Cairo.Region"
|
||||
|
||||
Capture
|
||||
.image type="Cairo.ImageSurface"
|
||||
|
||||
// *Event should be compact classes derived from Clutter.Event
|
||||
Event.type skip=false
|
||||
AnyEvent struct=false base_type="Clutter.Event"
|
||||
ButtonEvent struct=false base_type="Clutter.Event"
|
||||
CrossingEvent struct=false base_type="Clutter.Event"
|
||||
DeviceEvent struct=false base_type="Clutter.Event"
|
||||
IMEvent struct=false base_type="Clutter.Event"
|
||||
KeyEvent struct=false base_type="Clutter.Event"
|
||||
MotionEvent struct=false base_type="Clutter.Event"
|
||||
ScrollEvent struct=false base_type="Clutter.Event"
|
||||
StageStateEvent struct=false base_type="Clutter.Event"
|
||||
TouchEvent struct=false base_type="Clutter.Event"
|
||||
TouchpadPinchEvent struct=false base_type="Clutter.Event"
|
||||
TouchpadSwipeEvent struct=false base_type="Clutter.Event"
|
||||
ProximityEvent struct=false base_type="Clutter.Event"
|
||||
PadButtonEvent struct=false base_type="Clutter.Event"
|
||||
PadRingEvent struct=false base_type="Clutter.Event"
|
||||
PadStripEvent struct=false base_type="Clutter.Event"
|
||||
|
||||
// Keysyms used to be CLUTTER_X instead of CLUTTER_KEY_X
|
||||
*#constant skip
|
||||
COGL skip=false
|
||||
CURRENT_TIME skip=false
|
||||
FLAVOUR skip=false
|
||||
PATH_RELATIVE skip=false
|
||||
PRIORITY_REDRAW skip=false
|
||||
|
||||
// Clutter devs don't like us creating nested namespaces
|
||||
value_* name="value_(.+)" parent="Clutter.Value"
|
||||
threads_* name="threads_(.+)" parent="Clutter.Threads"
|
||||
threads_add_idle name="add" parent="Clutter.Threads.Idle"
|
||||
threads_add_idle_full name="add_full" parent="Clutter.Threads.Idle"
|
||||
threads_add_timeout name="add" parent="Clutter.Threads.Timeout"
|
||||
threads_add_timeout_full name="add_full" parent="Clutter.Threads.Timeout"
|
||||
|
||||
// Backwards compatibility
|
||||
Color.alloc symbol_type="function"
|
||||
|
||||
BinAlignment deprecated=false deprecated_since=null
|
||||
BinAlignment.* deprecated
|
||||
BinAlignment.start deprecated=false
|
||||
BinLayout.new.*_align default=Clutter.BinAlignment.START
|
||||
|
||||
// Possibly keep
|
||||
KEY_* skip=false name="KEY_(.+)" type="uint" parent="Clutter.Key"
|
@ -1,42 +0,0 @@
|
||||
namespace Clutter {
|
||||
|
||||
public struct Color {
|
||||
[CCode (cname = "clutter_color_from_hls")]
|
||||
public Color.from_hls (float hue, float luminance, float saturation);
|
||||
[CCode (cname = "clutter_color_from_pixel")]
|
||||
public Color.from_pixel (uint32 pixel);
|
||||
[CCode (cname = "clutter_color_from_string")]
|
||||
public Color.from_string (string str);
|
||||
[CCode (cname = "clutter_color_from_string")]
|
||||
public bool parse_string (string str);
|
||||
}
|
||||
|
||||
public interface Container : GLib.Object {
|
||||
public void add (params Clutter.Actor[] actors);
|
||||
[CCode (cname = "clutter_container_class_find_child_property")]
|
||||
public class unowned GLib.ParamSpec find_child_property (string property_name);
|
||||
[CCode (cname = "clutter_container_class_list_child_properties")]
|
||||
public class unowned GLib.ParamSpec[] list_child_properties ();
|
||||
}
|
||||
|
||||
public struct Units {
|
||||
[CCode (cname = "clutter_units_from_cm")]
|
||||
public Units.from_cm (float cm);
|
||||
[CCode (cname = "clutter_units_from_em")]
|
||||
public Units.from_em (float em);
|
||||
[CCode (cname = "clutter_units_from_em_for_font")]
|
||||
public Units.from_em_for_font (string font_name, float em);
|
||||
[CCode (cname = "clutter_units_from_mm")]
|
||||
public Units.from_mm (float mm);
|
||||
[CCode (cname = "clutter_units_from_pixels")]
|
||||
public Units.from_pixels (int px);
|
||||
[CCode (cname = "clutter_units_from_pt")]
|
||||
public Units.from_pt (float pt);
|
||||
[CCode (cname = "clutter_units_from_string")]
|
||||
public Units.from_string (string str);
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "clutter/clutter.h", has_copy_function = false, has_destroy_function = false, has_type_id = false)]
|
||||
public struct Capture {
|
||||
}
|
||||
}
|
@ -1,187 +0,0 @@
|
||||
// Non mini-object
|
||||
ActorBox struct
|
||||
Color struct
|
||||
Knot struct
|
||||
Margin struct
|
||||
PaintVolume struct
|
||||
PathNode struct
|
||||
Perspective struct
|
||||
Units struct
|
||||
|
||||
*.ref unowned
|
||||
|
||||
init.argv unowned
|
||||
init_with_args
|
||||
.argv unowned
|
||||
Actor
|
||||
.apply_transform.matrix ref
|
||||
.get_abs_allocation_vertices.verts out=false
|
||||
Canvas
|
||||
.new symbol_type="constructor"
|
||||
Event.type#method name="get_type"
|
||||
Image
|
||||
.new symbol_type="constructor"
|
||||
|
||||
// ???
|
||||
Actor.has_pointer#method name="get_has_pointer"
|
||||
InitError errordomain=false
|
||||
|
||||
// Not all backing symbols are deprecated
|
||||
Actor.pick deprecated=false
|
||||
|
||||
// Nullable return values
|
||||
Actor
|
||||
.get_parent nullable
|
||||
value_get_color nullable
|
||||
|
||||
// method/virtual-method/signal don't match
|
||||
Actor
|
||||
.event#method name="emit_event"
|
||||
.get_paint_volume#virtual_method name="get_paint_volume_vfunc"
|
||||
.get_paint_volume#virtual_method.volume out
|
||||
Container
|
||||
.add_actor skip=false
|
||||
.class_* skip
|
||||
Text
|
||||
.activate#method name="try_activate"
|
||||
.insert_text#signal skip
|
||||
TextBuffer.get_text#virtual_method name="get_text_with_length"
|
||||
|
||||
// virtual/abstract distinction
|
||||
Container
|
||||
.lower virtual
|
||||
.raise virtual
|
||||
.*_child_meta#virtual_method virtual
|
||||
|
||||
// Default values
|
||||
Container
|
||||
.lower.sibling nullable default=null
|
||||
.raise.sibling nullable default=null
|
||||
Stage.read_pixels
|
||||
.width default=-1
|
||||
.height default=-1
|
||||
Stage.paint_to_buffer
|
||||
.data type="uint8[]"
|
||||
Text
|
||||
.position_to_coords.line_height default=null
|
||||
|
||||
// Reparented funcs methods can't be instance methods
|
||||
feature_available skip
|
||||
feature_get_all skip
|
||||
|
||||
// Skipped by g-i for unknown reasons
|
||||
LayoutManager
|
||||
.create_child_meta skip=false
|
||||
|
||||
// Variadic arguments
|
||||
Backend
|
||||
.get_cogl_context skip=false
|
||||
Container
|
||||
.child_get skip=false
|
||||
.child_set skip=false
|
||||
.remove skip=false
|
||||
Interval
|
||||
.new skip=false
|
||||
.get_interval skip=false
|
||||
.set_final skip=false
|
||||
.set_initial skip=false
|
||||
.set_interval skip=false
|
||||
LayoutManager
|
||||
.child_get skip=false
|
||||
.child_set skip=false
|
||||
Script
|
||||
.get_objects skip=false
|
||||
|
||||
// Skipped upstream for unknown reasons
|
||||
Interval.register_progress_func skip=false
|
||||
get_option_group skip=false
|
||||
get_option_group_without_init skip=false
|
||||
threads_add_idle skip=false
|
||||
threads_add_idle_full skip=false
|
||||
threads_add_timeout skip=false
|
||||
threads_add_timeout_full skip=false
|
||||
|
||||
// struct/class confusion
|
||||
ActorBox
|
||||
.new skip
|
||||
.from_vertices skip
|
||||
Units.from_* skip
|
||||
Color
|
||||
.new skip
|
||||
Margin
|
||||
.new skip
|
||||
|
||||
// Class methods
|
||||
container_class_find_child_property skip
|
||||
container_class_list_child_properties skip
|
||||
|
||||
// Move symbols
|
||||
color_from_* skip
|
||||
units_from_* skip
|
||||
|
||||
// Struct return values
|
||||
color_get_static nullable
|
||||
|
||||
// Upstream
|
||||
Event
|
||||
.get_position.position out
|
||||
|
||||
FrameListenerIface skip
|
||||
FrameClock.new skip
|
||||
|
||||
// Remove for clutter-2.0
|
||||
/////////////////////////
|
||||
|
||||
StageView.layout skip
|
||||
|
||||
Stage
|
||||
.event name="emit_event"
|
||||
.paint_view.redraw_clip type="Cairo.Region"
|
||||
|
||||
Capture
|
||||
.image type="Cairo.ImageSurface"
|
||||
|
||||
// *Event should be compact classes derived from Clutter.Event
|
||||
Event.type skip=false
|
||||
AnyEvent struct=false base_type="Clutter.Event"
|
||||
ButtonEvent struct=false base_type="Clutter.Event"
|
||||
CrossingEvent struct=false base_type="Clutter.Event"
|
||||
DeviceEvent struct=false base_type="Clutter.Event"
|
||||
IMEvent struct=false base_type="Clutter.Event"
|
||||
KeyEvent struct=false base_type="Clutter.Event"
|
||||
MotionEvent struct=false base_type="Clutter.Event"
|
||||
ScrollEvent struct=false base_type="Clutter.Event"
|
||||
TouchEvent struct=false base_type="Clutter.Event"
|
||||
TouchpadPinchEvent struct=false base_type="Clutter.Event"
|
||||
TouchpadSwipeEvent struct=false base_type="Clutter.Event"
|
||||
ProximityEvent struct=false base_type="Clutter.Event"
|
||||
PadButtonEvent struct=false base_type="Clutter.Event"
|
||||
PadRingEvent struct=false base_type="Clutter.Event"
|
||||
PadStripEvent struct=false base_type="Clutter.Event"
|
||||
|
||||
// Keysyms used to be CLUTTER_X instead of CLUTTER_KEY_X
|
||||
*#constant skip
|
||||
COGL skip=false
|
||||
CURRENT_TIME skip=false
|
||||
FLAVOUR skip=false
|
||||
PATH_RELATIVE skip=false
|
||||
PRIORITY_REDRAW skip=false
|
||||
|
||||
// Clutter devs don't like us creating nested namespaces
|
||||
value_* name="value_(.+)" parent="Clutter.Value"
|
||||
threads_* name="threads_(.+)" parent="Clutter.Threads"
|
||||
threads_add_idle name="add" parent="Clutter.Threads.Idle"
|
||||
threads_add_idle_full name="add_full" parent="Clutter.Threads.Idle"
|
||||
threads_add_timeout name="add" parent="Clutter.Threads.Timeout"
|
||||
threads_add_timeout_full name="add_full" parent="Clutter.Threads.Timeout"
|
||||
|
||||
// Backwards compatibility
|
||||
Color.alloc symbol_type="function"
|
||||
|
||||
BinAlignment deprecated=false deprecated_since=null
|
||||
BinAlignment.* deprecated
|
||||
BinAlignment.start deprecated=false
|
||||
BinLayout.new.*_align default=Clutter.BinAlignment.START
|
||||
|
||||
// Possibly keep
|
||||
KEY_* skip=false name="KEY_(.+)" type="uint" parent="Clutter.Key"
|
@ -1,53 +0,0 @@
|
||||
namespace Clutter {
|
||||
public struct Color {
|
||||
[CCode (cname = "_vala_clutter_color_from_hls")]
|
||||
public static Clutter.Color? from_hls (float hue, float luminance, float saturation) {
|
||||
var color = Clutter.Color.alloc ();
|
||||
color.init_from_hls (hue, luminance, saturation);
|
||||
return color;
|
||||
}
|
||||
[CCode (cname = "_vala_clutter_color_from_pixel")]
|
||||
public static Clutter.Color? from_pixel (uint32 pixel) {
|
||||
var color = Clutter.Color.alloc ();
|
||||
color.init_from_pixel (pixel);
|
||||
return color;
|
||||
}
|
||||
[CCode (cname = "_vala_clutter_color_from_string")]
|
||||
public static Clutter.Color? from_string (string str) {
|
||||
var color = Clutter.Color.alloc ();
|
||||
color.init_from_string (str);
|
||||
return color;
|
||||
}
|
||||
[CCode (cname = "clutter_color_from_string")]
|
||||
public bool parse_string (string str);
|
||||
}
|
||||
|
||||
public interface Container : GLib.Object {
|
||||
public void add (params Clutter.Actor[] actors);
|
||||
[CCode (cname = "clutter_container_class_find_child_property")]
|
||||
public class unowned GLib.ParamSpec find_child_property (string property_name);
|
||||
[CCode (cname = "clutter_container_class_list_child_properties")]
|
||||
public class unowned GLib.ParamSpec[] list_child_properties ();
|
||||
}
|
||||
|
||||
public struct Units {
|
||||
[CCode (cname = "clutter_units_from_cm")]
|
||||
public Units.from_cm (float cm);
|
||||
[CCode (cname = "clutter_units_from_em")]
|
||||
public Units.from_em (float em);
|
||||
[CCode (cname = "clutter_units_from_em_for_font")]
|
||||
public Units.from_em_for_font (string font_name, float em);
|
||||
[CCode (cname = "clutter_units_from_mm")]
|
||||
public Units.from_mm (float mm);
|
||||
[CCode (cname = "clutter_units_from_pixels")]
|
||||
public Units.from_pixels (int px);
|
||||
[CCode (cname = "clutter_units_from_pt")]
|
||||
public Units.from_pt (float pt);
|
||||
[CCode (cname = "clutter_units_from_string")]
|
||||
public Units.from_string (string str);
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "clutter/clutter.h", has_copy_function = false, has_destroy_function = false, has_type_id = false)]
|
||||
public struct Capture {
|
||||
}
|
||||
}
|
@ -1,200 +0,0 @@
|
||||
// Non mini-object
|
||||
ActorBox struct
|
||||
Color struct
|
||||
Knot struct
|
||||
Margin struct
|
||||
PaintVolume struct
|
||||
PathNode struct
|
||||
Perspective struct
|
||||
Units struct
|
||||
|
||||
*.ref unowned
|
||||
|
||||
init.argv unowned
|
||||
Actor
|
||||
.apply_transform.matrix ref
|
||||
.get_abs_allocation_vertices.verts out=false
|
||||
Canvas
|
||||
.new symbol_type="constructor"
|
||||
Event.type#method name="get_type"
|
||||
Image
|
||||
.new symbol_type="constructor"
|
||||
|
||||
// ???
|
||||
Actor.has_pointer#method name="get_has_pointer"
|
||||
InitError errordomain=false
|
||||
ScriptError errordomain
|
||||
ImageError errordomain
|
||||
|
||||
// Not all backing symbols are deprecated
|
||||
Actor.pick deprecated=false
|
||||
|
||||
// Nullable return values
|
||||
Actor
|
||||
.get_parent nullable
|
||||
value_get_color nullable
|
||||
|
||||
// method/virtual-method/signal don't match
|
||||
Actor
|
||||
.event#method name="emit_event"
|
||||
.get_paint_volume#virtual_method name="get_paint_volume_vfunc"
|
||||
.get_paint_volume#virtual_method.volume out
|
||||
Container
|
||||
.add_actor skip=false
|
||||
.class_* skip
|
||||
Text
|
||||
.activate#method name="try_activate"
|
||||
.insert_text#signal skip
|
||||
TextBuffer.get_text#virtual_method name="get_text_with_length"
|
||||
|
||||
// virtual/abstract distinction
|
||||
Container
|
||||
.lower virtual
|
||||
.raise virtual
|
||||
.*_child_meta#virtual_method virtual
|
||||
|
||||
// Default values
|
||||
Container
|
||||
.lower.sibling nullable default=null
|
||||
.raise.sibling nullable default=null
|
||||
Stage.read_pixels
|
||||
.width default=-1
|
||||
.height default=-1
|
||||
Stage.paint_to_buffer
|
||||
.data type="uint8[]"
|
||||
Text
|
||||
.position_to_coords.line_height default=null
|
||||
|
||||
// Reparented funcs methods can't be instance methods
|
||||
feature_available skip
|
||||
feature_get_all skip
|
||||
|
||||
// Skipped by g-i for unknown reasons
|
||||
LayoutManager
|
||||
.create_child_meta skip=false
|
||||
|
||||
// Variadic arguments
|
||||
Backend
|
||||
.get_cogl_context skip=false
|
||||
Container
|
||||
.child_get skip=false
|
||||
.child_set skip=false
|
||||
.remove skip=false
|
||||
Interval
|
||||
.new skip=false
|
||||
.get_interval skip=false
|
||||
.set_final skip=false
|
||||
.set_initial skip=false
|
||||
.set_interval skip=false
|
||||
LayoutManager
|
||||
.child_get skip=false
|
||||
.child_set skip=false
|
||||
Script
|
||||
.get_objects skip=false
|
||||
|
||||
// Skipped upstream for unknown reasons
|
||||
Interval.register_progress_func skip=false
|
||||
get_option_group skip=false
|
||||
get_option_group_without_init skip=false
|
||||
threads_add_idle skip=false
|
||||
threads_add_idle_full skip=false
|
||||
threads_add_timeout skip=false
|
||||
threads_add_timeout_full skip=false
|
||||
|
||||
// struct/class confusion
|
||||
ActorBox
|
||||
.new skip
|
||||
.from_vertices skip
|
||||
Units.from_* skip
|
||||
Margin
|
||||
.new skip
|
||||
|
||||
// Class methods
|
||||
container_class_find_child_property skip
|
||||
container_class_list_child_properties skip
|
||||
|
||||
// Move symbols
|
||||
units_from_* skip
|
||||
|
||||
// Struct return values
|
||||
color_get_static nullable
|
||||
|
||||
// Upstream
|
||||
Event
|
||||
.get_position.position out
|
||||
|
||||
FrameListenerIface skip
|
||||
FrameClock.new skip
|
||||
|
||||
// Remove for clutter-2.0
|
||||
/////////////////////////
|
||||
|
||||
StageView.layout skip
|
||||
|
||||
Stage
|
||||
.event name="emit_event"
|
||||
.paint_view.redraw_clip type="Cairo.Region"
|
||||
|
||||
Capture
|
||||
.image type="Cairo.ImageSurface"
|
||||
|
||||
// *Event should be compact classes derived from Clutter.Event
|
||||
Event.type skip=false
|
||||
AnyEvent struct=false base_type="Clutter.Event"
|
||||
ButtonEvent struct=false base_type="Clutter.Event"
|
||||
CrossingEvent struct=false base_type="Clutter.Event"
|
||||
DeviceEvent struct=false base_type="Clutter.Event"
|
||||
IMEvent struct=false base_type="Clutter.Event"
|
||||
KeyEvent struct=false base_type="Clutter.Event"
|
||||
MotionEvent struct=false base_type="Clutter.Event"
|
||||
ScrollEvent struct=false base_type="Clutter.Event"
|
||||
TouchEvent struct=false base_type="Clutter.Event"
|
||||
TouchpadPinchEvent struct=false base_type="Clutter.Event"
|
||||
TouchpadSwipeEvent struct=false base_type="Clutter.Event"
|
||||
ProximityEvent struct=false base_type="Clutter.Event"
|
||||
PadButtonEvent struct=false base_type="Clutter.Event"
|
||||
PadRingEvent struct=false base_type="Clutter.Event"
|
||||
PadStripEvent struct=false base_type="Clutter.Event"
|
||||
|
||||
// Keysyms used to be CLUTTER_X instead of CLUTTER_KEY_X
|
||||
*#constant skip
|
||||
COGL skip=false
|
||||
CURRENT_TIME skip=false
|
||||
FLAVOUR skip=false
|
||||
PATH_RELATIVE skip=false
|
||||
PRIORITY_REDRAW skip=false
|
||||
|
||||
// Clutter devs don't like us creating nested namespaces
|
||||
value_* name="value_(.+)" parent="Clutter.Value"
|
||||
threads_* name="threads_(.+)" parent="Clutter.Threads"
|
||||
threads_add_idle name="add" parent="Clutter.Threads.Idle"
|
||||
threads_add_idle_full name="add_full" parent="Clutter.Threads.Idle"
|
||||
threads_add_timeout name="add" parent="Clutter.Threads.Timeout"
|
||||
threads_add_timeout_full name="add_full" parent="Clutter.Threads.Timeout"
|
||||
|
||||
// Backwards compatibility
|
||||
Color.alloc symbol_type="function"
|
||||
|
||||
Color.from_hls name="init_from_hls"
|
||||
Color.from_pixel name="init_from_pixel"
|
||||
Color.from_string name="init_from_string"
|
||||
|
||||
Color.new name="from_rgba" symbol_type="function"
|
||||
.alpha default=0
|
||||
.blue default=0
|
||||
.green default=0
|
||||
.red default=0
|
||||
|
||||
Color.init
|
||||
.alpha default=0
|
||||
.blue default=0
|
||||
.green default=0
|
||||
.red default=0
|
||||
|
||||
BinAlignment deprecated=false deprecated_since=null
|
||||
BinAlignment.* deprecated
|
||||
BinAlignment.start deprecated=false
|
||||
BinLayout.new.*_align default=Clutter.BinAlignment.START
|
||||
|
||||
// Possibly keep
|
||||
KEY_* skip=false name="KEY_(.+)" type="uint" parent="Clutter.Key"
|
@ -1,167 +0,0 @@
|
||||
namespace Cogl {
|
||||
public struct Color {
|
||||
[Version (since = "1.4")]
|
||||
[CCode (cname="cogl_color_init_from_4f")]
|
||||
public Color.from_4f (float red, float green, float blue, float alpha);
|
||||
[Version (since = "1.4")]
|
||||
[CCode (cname="cogl_color_init_from_4fv")]
|
||||
public Color.from_4fv (float color_array);
|
||||
[Version (since = "1.4")]
|
||||
[CCode (cname="cogl_color_init_from_4ub")]
|
||||
public Color.from_4ub (uint8 red, uint8 green, uint8 blue, uint8 alpha);
|
||||
[Version (since = "1.16")]
|
||||
[CCode (cname="cogl_color_init_from_hsl")]
|
||||
public Color.from_hsl (float hue, float saturation, float luminance);
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "cogl/cogl.h", type_id = "cogl_framebuffer_get_gtype ()")]
|
||||
public interface Framebuffer {
|
||||
[CCode (cheader_filename = "cogl-path/cogl-path.h")]
|
||||
public void stroke_path (Cogl.Pipeline pipeline, Cogl.Path path);
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cname = "CoglHandle", cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Shader : Cogl.Handle {
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "cogl/cogl.h", type_id = "cogl_primitive_get_gtype ()")]
|
||||
public class Primitive : Cogl.Object {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected Primitive ();
|
||||
[Version (since = "1.10")]
|
||||
public Cogl.Primitive copy ();
|
||||
[Version (since = "1.16")]
|
||||
public void draw (Cogl.Framebuffer framebuffer, Cogl.Pipeline pipeline);
|
||||
public int get_first_vertex ();
|
||||
public Cogl.VerticesMode get_mode ();
|
||||
[Version (since = "1.8")]
|
||||
public int get_n_vertices ();
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2t2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2T2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2t2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2T2C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3t2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3T2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3t2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3T2C4[] data);
|
||||
public void set_first_vertex (int first_vertex);
|
||||
public void set_mode (Cogl.VerticesMode mode);
|
||||
[Version (since = "1.8")]
|
||||
public void set_n_vertices (int n_vertices);
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cname = "CoglHandle", cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Program : Cogl.Handle {
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Handle {
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_material")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_material ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_program")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_program (Cogl.Handle handle);
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_shader")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_shader ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_texture")]
|
||||
public bool is_texture ();
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2 {
|
||||
public float x;
|
||||
public float y;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2T2 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float s;
|
||||
public float t;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2T2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float s;
|
||||
public float t;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3T2 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public float s;
|
||||
public float t;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3T2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public float s;
|
||||
public float t;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
* cheader_filename="cogl/cogl.h"
|
||||
|
||||
Color struct
|
||||
Matrix struct
|
||||
|
||||
Material base_type="Cogl.Handle"
|
||||
MaterialLayer base_type="Cogl.Handle"
|
||||
|
||||
_ColorSizeCheck skip
|
||||
_MatrixSizeCheck skip
|
||||
_TextureVertexSizeCheck skip
|
||||
|
||||
Color
|
||||
.init_* skip
|
||||
color_init_from_hsl skip
|
||||
color_equal.v1 type="Cogl.Color"
|
||||
color_equal.v2 type="Cogl.Color"
|
||||
color_equal symbol_type=method
|
||||
|
||||
texture_new_* name="texture_new_(.+)" parent="Cogl.Texture"
|
||||
Texture
|
||||
.get_data.data type="uint8[]"
|
||||
.new_from_data.data type="uint8[]"
|
||||
.set_data.data type="uint8[]"
|
||||
.set_region.data type="uint8[]"
|
||||
|
||||
Texture2D
|
||||
.new_from_data skip=false
|
||||
.new_from_data.data array=true
|
||||
|
||||
Matrix
|
||||
.transform_points.points_in type="uint8[]"
|
||||
.transform_points.stride_out out
|
||||
.transform_points.points_out out type="uint8[]"
|
||||
.project_points.points_in type="uint8[]"
|
||||
.project_points.stride_out out
|
||||
.project_points.points_out out type="uint8[]"
|
||||
|
||||
matrix_equal.v1 type="Cogl.Matrix"
|
||||
matrix_equal.v2 type="Cogl.Matrix"
|
||||
matrix_equal symbol_type=method
|
||||
|
||||
shader_* name="shader_(.+)" parent="Cogl.Shader"
|
||||
shader_* symbol_type="method" instance_idx=0
|
||||
|
||||
program_* name="program_(.+)" parent="Cogl.Program"
|
||||
program_attach_shader symbol_type="method" instance_idx=0
|
||||
program_get_uniform_location symbol_type="method" instance_idx=0
|
||||
program_link symbol_type="method" instance_idx=0
|
||||
program_set_uniform_1f symbol_type="method" instance_idx=0
|
||||
program_set_uniform_1i symbol_type="method" instance_idx=0
|
||||
program_set_uniform_float symbol_type="method" instance_idx=0
|
||||
program_set_uniform_int symbol_type="method" instance_idx=0
|
||||
program_set_uniform_matrix symbol_type="method" instance_idx=0
|
||||
|
||||
is_bitmap parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_offscreen parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_program parent="Cogl.Handle"
|
||||
is_shader parent="Cogl.Handle"
|
||||
is_texture parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_context parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_framebuffer parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_onscreen parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_pipeline parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_texture_2d parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_texture_2d_sliced parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
|
||||
create_program type="unowned Cogl.Program" name="create" parent="Cogl.Program"
|
||||
create_shader type="unowned Cogl.Shader" name="create" parent="Cogl.Shader"
|
||||
|
||||
foreach_feature parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
get_clock_time parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
get_graphics_reset_status parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
has_feature parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
|
||||
Bitmap.error_quark parent="Cogl.BitmapError" name="quark"
|
||||
Texture.error_quark parent="Cogl.TextureError" name="quark"
|
||||
texture_error_quark skip
|
||||
|
||||
BitmapError errordomain
|
||||
BlendStringError errordomain
|
||||
RendererError errordomain
|
||||
SystemError errordomain
|
||||
TextureError errordomain
|
@ -1,161 +0,0 @@
|
||||
namespace Cogl {
|
||||
public struct Color {
|
||||
[Version (since = "1.4")]
|
||||
[CCode (cname="cogl_color_init_from_4f")]
|
||||
public Color.from_4f (float red, float green, float blue, float alpha);
|
||||
[Version (since = "1.4")]
|
||||
[CCode (cname="cogl_color_init_from_4fv")]
|
||||
public Color.from_4fv (float color_array);
|
||||
[Version (since = "1.4")]
|
||||
[CCode (cname="cogl_color_init_from_4ub")]
|
||||
public Color.from_4ub (uint8 red, uint8 green, uint8 blue, uint8 alpha);
|
||||
[Version (since = "1.16")]
|
||||
[CCode (cname="cogl_color_init_from_hsl")]
|
||||
public Color.from_hsl (float hue, float saturation, float luminance);
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cname = "CoglHandle", cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Shader : Cogl.Handle {
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "cogl/cogl.h", type_id = "cogl_primitive_get_gtype ()")]
|
||||
public class Primitive : Cogl.Object {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected Primitive ();
|
||||
[Version (since = "1.10")]
|
||||
public Cogl.Primitive copy ();
|
||||
[Version (since = "1.16")]
|
||||
public void draw (Cogl.Framebuffer framebuffer, Cogl.Pipeline pipeline);
|
||||
public int get_first_vertex ();
|
||||
public Cogl.VerticesMode get_mode ();
|
||||
[Version (since = "1.8")]
|
||||
public int get_n_vertices ();
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2t2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2T2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2t2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2T2C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3t2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3T2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3t2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3T2C4[] data);
|
||||
public void set_first_vertex (int first_vertex);
|
||||
public void set_mode (Cogl.VerticesMode mode);
|
||||
[Version (since = "1.8")]
|
||||
public void set_n_vertices (int n_vertices);
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cname = "CoglHandle", cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Program : Cogl.Handle {
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Handle {
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_material")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_material ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_program")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_program (Cogl.Handle handle);
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_shader")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_shader ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_texture")]
|
||||
public bool is_texture ();
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2 {
|
||||
public float x;
|
||||
public float y;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2T2 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float s;
|
||||
public float t;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2T2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float s;
|
||||
public float t;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3T2 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public float s;
|
||||
public float t;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3T2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public float s;
|
||||
public float t;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
}
|
@ -1,85 +0,0 @@
|
||||
* cheader_filename="cogl/cogl.h"
|
||||
|
||||
Color struct
|
||||
Matrix struct
|
||||
|
||||
Material base_type="Cogl.Handle"
|
||||
MaterialLayer base_type="Cogl.Handle"
|
||||
|
||||
_ColorSizeCheck skip
|
||||
_MatrixSizeCheck skip
|
||||
_TextureVertexSizeCheck skip
|
||||
|
||||
Color
|
||||
.init_* skip
|
||||
color_init_from_hsl skip
|
||||
color_equal.v1 type="Cogl.Color"
|
||||
color_equal.v2 type="Cogl.Color"
|
||||
color_equal symbol_type=method
|
||||
|
||||
texture_new_* name="texture_new_(.+)" parent="Cogl.Texture"
|
||||
Texture
|
||||
.get_data.data type="uint8[]"
|
||||
.new_from_data.data type="uint8[]"
|
||||
.set_data.data type="uint8[]"
|
||||
.set_region.data type="uint8[]"
|
||||
|
||||
Texture2D
|
||||
.new_from_data skip=false
|
||||
.new_from_data.data array=true
|
||||
|
||||
Matrix
|
||||
.transform_points.points_in type="uint8[]"
|
||||
.transform_points.stride_out out
|
||||
.transform_points.points_out out type="uint8[]"
|
||||
.project_points.points_in type="uint8[]"
|
||||
.project_points.stride_out out
|
||||
.project_points.points_out out type="uint8[]"
|
||||
|
||||
matrix_equal.v1 type="Cogl.Matrix"
|
||||
matrix_equal.v2 type="Cogl.Matrix"
|
||||
matrix_equal symbol_type=method
|
||||
|
||||
shader_* name="shader_(.+)" parent="Cogl.Shader"
|
||||
shader_* symbol_type="method" instance_idx=0
|
||||
|
||||
program_* name="program_(.+)" parent="Cogl.Program"
|
||||
program_attach_shader symbol_type="method" instance_idx=0
|
||||
program_get_uniform_location symbol_type="method" instance_idx=0
|
||||
program_link symbol_type="method" instance_idx=0
|
||||
program_set_uniform_1f symbol_type="method" instance_idx=0
|
||||
program_set_uniform_1i symbol_type="method" instance_idx=0
|
||||
program_set_uniform_float symbol_type="method" instance_idx=0
|
||||
program_set_uniform_int symbol_type="method" instance_idx=0
|
||||
program_set_uniform_matrix symbol_type="method" instance_idx=0
|
||||
|
||||
is_bitmap parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_offscreen parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_program parent="Cogl.Handle"
|
||||
is_shader parent="Cogl.Handle"
|
||||
is_texture parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_context parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_framebuffer parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_frame_info parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_onscreen parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_pipeline parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_texture_2d parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_texture_2d_sliced parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
|
||||
create_program type="unowned Cogl.Program" name="create" parent="Cogl.Program"
|
||||
create_shader type="unowned Cogl.Shader" name="create" parent="Cogl.Shader"
|
||||
|
||||
foreach_feature parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
get_clock_time parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
get_graphics_reset_status parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
has_feature parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
|
||||
Bitmap.error_quark parent="Cogl.BitmapError" name="quark"
|
||||
Texture.error_quark parent="Cogl.TextureError" name="quark"
|
||||
texture_error_quark skip
|
||||
|
||||
BitmapError errordomain
|
||||
BlendStringError errordomain
|
||||
RendererError errordomain
|
||||
SystemError errordomain
|
||||
TextureError errordomain
|
@ -1,161 +0,0 @@
|
||||
namespace Cogl {
|
||||
public struct Color {
|
||||
[Version (since = "1.4")]
|
||||
[CCode (cname="cogl_color_init_from_4f")]
|
||||
public Color.from_4f (float red, float green, float blue, float alpha);
|
||||
[Version (since = "1.4")]
|
||||
[CCode (cname="cogl_color_init_from_4fv")]
|
||||
public Color.from_4fv (float color_array);
|
||||
[Version (since = "1.4")]
|
||||
[CCode (cname="cogl_color_init_from_4ub")]
|
||||
public Color.from_4ub (uint8 red, uint8 green, uint8 blue, uint8 alpha);
|
||||
[Version (since = "1.16")]
|
||||
[CCode (cname="cogl_color_init_from_hsl")]
|
||||
public Color.from_hsl (float hue, float saturation, float luminance);
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cname = "CoglHandle", cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Shader : Cogl.Handle {
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "cogl/cogl.h", type_id = "cogl_primitive_get_gtype ()")]
|
||||
public class Primitive : Cogl.Object {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected Primitive ();
|
||||
[Version (since = "1.10")]
|
||||
public Cogl.Primitive copy ();
|
||||
[Version (since = "1.16")]
|
||||
public void draw (Cogl.Framebuffer framebuffer, Cogl.Pipeline pipeline);
|
||||
public int get_first_vertex ();
|
||||
public Cogl.VerticesMode get_mode ();
|
||||
[Version (since = "1.8")]
|
||||
public int get_n_vertices ();
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2t2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2T2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2t2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2T2C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3t2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3T2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3t2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3T2C4[] data);
|
||||
public void set_first_vertex (int first_vertex);
|
||||
public void set_mode (Cogl.VerticesMode mode);
|
||||
[Version (since = "1.8")]
|
||||
public void set_n_vertices (int n_vertices);
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cname = "CoglHandle", cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Program : Cogl.Handle {
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Handle {
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_material")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_material ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_program")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_program (Cogl.Handle handle);
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_shader")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_shader ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_texture")]
|
||||
public bool is_texture ();
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2 {
|
||||
public float x;
|
||||
public float y;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2T2 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float s;
|
||||
public float t;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2T2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float s;
|
||||
public float t;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3T2 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public float s;
|
||||
public float t;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3T2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public float s;
|
||||
public float t;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
* cheader_filename="cogl/cogl.h"
|
||||
|
||||
Color struct
|
||||
|
||||
Material base_type="Cogl.Handle"
|
||||
MaterialLayer base_type="Cogl.Handle"
|
||||
|
||||
_ColorSizeCheck skip
|
||||
_TextureVertexSizeCheck skip
|
||||
|
||||
Color
|
||||
.init_* skip
|
||||
color_init_from_hsl skip
|
||||
color_equal.v1 type="Cogl.Color"
|
||||
color_equal.v2 type="Cogl.Color"
|
||||
color_equal symbol_type=method
|
||||
|
||||
texture_new_* name="texture_new_(.+)" parent="Cogl.Texture"
|
||||
Texture
|
||||
.get_data.data type="uint8[]"
|
||||
.new_from_data.data type="uint8[]"
|
||||
.set_data.data type="uint8[]"
|
||||
.set_region.data type="uint8[]"
|
||||
|
||||
Texture2D
|
||||
.new_from_data skip=false
|
||||
.new_from_data.data array=true
|
||||
|
||||
shader_* name="shader_(.+)" parent="Cogl.Shader"
|
||||
shader_* symbol_type="method" instance_idx=0
|
||||
|
||||
program_* name="program_(.+)" parent="Cogl.Program"
|
||||
program_attach_shader symbol_type="method" instance_idx=0
|
||||
program_get_uniform_location symbol_type="method" instance_idx=0
|
||||
program_link symbol_type="method" instance_idx=0
|
||||
program_set_uniform_1f symbol_type="method" instance_idx=0
|
||||
program_set_uniform_1i symbol_type="method" instance_idx=0
|
||||
program_set_uniform_float symbol_type="method" instance_idx=0
|
||||
program_set_uniform_int symbol_type="method" instance_idx=0
|
||||
program_set_uniform_matrix symbol_type="method" instance_idx=0
|
||||
|
||||
is_bitmap parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_program parent="Cogl.Handle"
|
||||
is_shader parent="Cogl.Handle"
|
||||
is_texture parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_context parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_framebuffer parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_frame_info parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_pipeline parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_texture_2d parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_texture_2d_sliced parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
|
||||
create_program type="unowned Cogl.Program" name="create" parent="Cogl.Program"
|
||||
create_shader type="unowned Cogl.Shader" name="create" parent="Cogl.Shader"
|
||||
|
||||
foreach_feature parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
get_graphics_reset_status parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
has_feature parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
|
||||
Bitmap.error_quark parent="Cogl.BitmapError" name="quark"
|
||||
Texture.error_quark parent="Cogl.TextureError" name="quark"
|
||||
texture_error_quark skip
|
||||
|
||||
BitmapError errordomain
|
||||
BlendStringError errordomain
|
||||
RendererError errordomain
|
||||
SystemError errordomain
|
||||
TextureError errordomain
|
||||
FramebufferError errordomain
|
@ -1,146 +0,0 @@
|
||||
namespace Cogl {
|
||||
[Compact]
|
||||
[CCode (cname = "CoglHandle", cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Shader : Cogl.Handle {
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "cogl/cogl.h", type_id = "cogl_primitive_get_gtype ()")]
|
||||
public class Primitive : Cogl.Object {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected Primitive ();
|
||||
[Version (since = "1.10")]
|
||||
public Cogl.Primitive copy ();
|
||||
[Version (since = "1.16")]
|
||||
public void draw (Cogl.Framebuffer framebuffer, Cogl.Pipeline pipeline);
|
||||
public int get_first_vertex ();
|
||||
public Cogl.VerticesMode get_mode ();
|
||||
[Version (since = "1.8")]
|
||||
public int get_n_vertices ();
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2t2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2T2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p2t2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP2T2C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3C4[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3t2 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3T2[] data);
|
||||
[CCode (has_construct_function = false)]
|
||||
[Version (since = "1.6")]
|
||||
public Primitive.p3t2c4 (Cogl.Context context, Cogl.VerticesMode mode, [CCode (array_length_cname = "n_vertices", array_length_pos = 2.5)] Cogl.VertexP3T2C4[] data);
|
||||
public void set_first_vertex (int first_vertex);
|
||||
public void set_mode (Cogl.VerticesMode mode);
|
||||
[Version (since = "1.8")]
|
||||
public void set_n_vertices (int n_vertices);
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cname = "CoglHandle", cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Program : Cogl.Handle {
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cheader_filename = "cogl/cogl.h", type_id = "cogl_handle_get_gtype ()", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
public class Handle {
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_material")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_material ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_program")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_program (Cogl.Handle handle);
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_shader")]
|
||||
[Version (deprecated = true, deprecated_since = "1.16")]
|
||||
public bool is_shader ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname="cogl_is_texture")]
|
||||
public bool is_texture ();
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2 {
|
||||
public float x;
|
||||
public float y;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2T2 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float s;
|
||||
public float t;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP2T2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float s;
|
||||
public float t;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3T2 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public float s;
|
||||
public float t;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
[Version (since = "1.6")]
|
||||
public struct VertexP3T2C4 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public float s;
|
||||
public float t;
|
||||
public uint8 r;
|
||||
public uint8 g;
|
||||
public uint8 b;
|
||||
public uint8 a;
|
||||
}
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
* cheader_filename="cogl/cogl.h"
|
||||
|
||||
Color struct
|
||||
|
||||
Material base_type="Cogl.Handle"
|
||||
MaterialLayer base_type="Cogl.Handle"
|
||||
|
||||
_ColorSizeCheck skip
|
||||
_TextureVertexSizeCheck skip
|
||||
|
||||
Color.equal symbol_type=method
|
||||
.v1 type="Cogl.Color"
|
||||
.v2 type="Cogl.Color"
|
||||
|
||||
color_equal.v1 type="Cogl.Color"
|
||||
color_equal.v2 type="Cogl.Color"
|
||||
color_equal symbol_type=method
|
||||
|
||||
texture_new_* name="texture_new_(.+)" parent="Cogl.Texture"
|
||||
Texture
|
||||
.get_data.data type="uint8[]"
|
||||
.new_from_data.data type="uint8[]"
|
||||
.set_data.data type="uint8[]"
|
||||
.set_region.data type="uint8[]"
|
||||
|
||||
Texture2D
|
||||
.new_from_data skip=false
|
||||
.new_from_data.data array=true
|
||||
|
||||
shader_* name="shader_(.+)" parent="Cogl.Shader"
|
||||
shader_* symbol_type="method" instance_idx=0
|
||||
|
||||
program_* name="program_(.+)" parent="Cogl.Program"
|
||||
program_attach_shader symbol_type="method" instance_idx=0
|
||||
program_get_uniform_location symbol_type="method" instance_idx=0
|
||||
program_link symbol_type="method" instance_idx=0
|
||||
program_set_uniform_1f symbol_type="method" instance_idx=0
|
||||
program_set_uniform_1i symbol_type="method" instance_idx=0
|
||||
program_set_uniform_float symbol_type="method" instance_idx=0
|
||||
program_set_uniform_int symbol_type="method" instance_idx=0
|
||||
program_set_uniform_matrix symbol_type="method" instance_idx=0
|
||||
|
||||
is_bitmap parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_program parent="Cogl.Handle"
|
||||
is_shader parent="Cogl.Handle"
|
||||
is_texture parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_context parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_framebuffer parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_frame_info parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_pipeline parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_texture_2d parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
is_texture_2d_sliced parent="Cogl.Object" symbol_type="method" instance_idx=0
|
||||
|
||||
create_program type="unowned Cogl.Program" name="create" parent="Cogl.Program"
|
||||
create_shader type="unowned Cogl.Shader" name="create" parent="Cogl.Shader"
|
||||
|
||||
foreach_feature parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
get_graphics_reset_status parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
has_feature parent="Cogl.Context" symbol_type="method" instance_idx=0
|
||||
|
||||
Bitmap.error_quark parent="Cogl.BitmapError" name="quark"
|
||||
Texture.error_quark parent="Cogl.TextureError" name="quark"
|
||||
texture_error_quark skip
|
||||
|
||||
BitmapError errordomain
|
||||
BlendStringError errordomain
|
||||
RendererError errordomain
|
||||
SystemError errordomain
|
||||
TextureError errordomain
|
||||
FramebufferError errordomain
|
@ -1,190 +0,0 @@
|
||||
* skip=false
|
||||
*.* skip=false
|
||||
* cheader_filename="meta/main.h"
|
||||
|
||||
Backend cheader_filename="meta/meta-backend.h"
|
||||
Backend.gpu_added skip
|
||||
get_backend parent="Meta.Backend" cheader_filename="meta/meta-backend.h"
|
||||
Background cheader_filename="meta/meta-background.h"
|
||||
Background.set_file.file nullable
|
||||
BackgroundActor cheader_filename="meta/meta-background-actor.h"
|
||||
BackgroundGroup cheader_filename="meta/meta-background-group.h"
|
||||
BackgroundImage cheader_filename="meta/meta-background-image.h"
|
||||
BackgroundImageCache cheader_filename="meta/meta-background-image.h"
|
||||
Barrier cheader_filename="meta/barrier.h"
|
||||
BarrierDirection cheader_filename="meta/barrier.h"
|
||||
BarrierEvent cheader_filename="meta/barrier.h"
|
||||
ButtonFunction cheader_filename="meta/common.h"
|
||||
ButtonLayout cheader_filename="meta/common.h"
|
||||
Compositor cheader_filename="meta/compositor.h"
|
||||
Compositor.sync_stack.stack type_arguments="Meta.Window"
|
||||
get_feedback_group_for_display parent="Meta.Display" symbol_type="method" name="get_feedback_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_stage_for_display parent="Meta.Display" symbol_type="method" name="get_stage" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_top_window_group_for_display parent="Meta.Display" symbol_type="method" name="get_top_window_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_window_group_for_display parent="Meta.Display" symbol_type="method" name="get_window_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
disable_unredirect_for_display parent="Meta.Display" symbol_type="method" name="disable_unredirect" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
enable_unredirect_for_display parent="Meta.Display" symbol_type="method" name="enable_unredirect" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
|
||||
get_window_actors parent="Meta.Display" symbol_type="method" instance_idx=0 cheader_filename="meta/compositor-mutter.h" type_arguments="Meta.WindowActor"
|
||||
focus_stage_window parent="Meta.Display" symbol_type="method" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
|
||||
CompEffect cheader_filename="meta/compositor.h"
|
||||
CloseDialog cheader_filename="meta/meta-close-dialog.h"
|
||||
CloseDialogResponse cheader_filename="meta/meta-close-dialog.h"
|
||||
Cursor cheader_filename="meta/common.h"
|
||||
CursorTracker cheader_filename="meta/meta-cursor-tracker.h"
|
||||
CursorTracker.get_for_display parent="Meta.Display" symbol_type="method" instance_idx=0 name="get_cursor_tracker"
|
||||
CursorTracker.get_pointer.x out
|
||||
CursorTracker.get_pointer.y out
|
||||
CursorTracker.get_pointer.mods out
|
||||
DebugTopic cheader_filename="meta/util.h"
|
||||
Direction cheader_filename="meta/common.h"
|
||||
Display cheader_filename="meta/display.h"
|
||||
DisplayCorner cheader_filename="meta/display.h"
|
||||
DisplayDirection cheader_filename="meta/display.h"
|
||||
Dnd cheader_filename="meta/meta-dnd.h"
|
||||
EdgeType cheader_filename="meta/boxes.h"
|
||||
Edge cheader_filename="meta/boxes.h"
|
||||
Frame cheader_filename="meta/types.h"
|
||||
FrameBorders cheader_filename="meta/common.h"
|
||||
FrameFlags cheader_filename="meta/common.h"
|
||||
FrameType cheader_filename="meta/common.h"
|
||||
GrabOp cheader_filename="meta/common.h"
|
||||
Group cheader_filename="meta/group.h"
|
||||
Group.property_notify.event type="X.Event" ref
|
||||
IdleMonitor cheader_filename="meta/meta-idle-monitor.h"
|
||||
IdleMonitorWatchFunc cheader_filename="meta/meta-idle-monitor.h"
|
||||
InhibitShortcutsDialog cheader_filename="meta/meta-inhibit-shortcuts-dialog.h"
|
||||
InhibitShortcutsDialogResponse cheader_filename="meta/meta-inhibit-shortcuts-dialog.h"
|
||||
KeyBinding cheader_filename="meta/keybindings.h"
|
||||
keybindings_set_custom_handler parent="Meta.KeyBinding" name="set_custom_handler" cheader_filename="meta/keybindings.h"
|
||||
KeyBindingAction cheader_filename="meta/prefs.h"
|
||||
KeyBindingFlags cheader_filename="meta/prefs.h"
|
||||
KeyHandlerFunc cheader_filename="meta/prefs.h"
|
||||
KeyHandlerFunc.event type="Clutter.KeyEvent"
|
||||
LaunchContext cheader_filename="meta/meta-launch-context.h"
|
||||
LaterType cheader_filename="meta/util.h"
|
||||
LocaleDirection cheader_filename="meta/util.h"
|
||||
MaximizeFlags cheader_filename="meta/window.h"
|
||||
ModalOptions cheader_filename="meta/meta-plugin.h"
|
||||
MonitorManager cheader_filename="meta/meta-monitor-manager.h"
|
||||
MonitorSwitchConfigType cheader_filename="meta/meta-monitor-manager.h"
|
||||
MotionDirection cheader_filename="meta/common.h"
|
||||
PadActionType cheader_filename="meta/display.h"
|
||||
Plugin cheader_filename="meta/meta-plugin.h"
|
||||
Plugin.xevent_filter.event type="X.Event" ref
|
||||
PluginInfo cheader_filename="meta/meta-plugin.h"
|
||||
PluginVersion cheader_filename="meta/meta-plugin.h"
|
||||
Preference cheader_filename="meta/prefs.h"
|
||||
PrefsChangedFunc cheader_filename="meta/prefs.h"
|
||||
Rectangle cheader_filename="meta/boxes.h" struct
|
||||
RemoteAccessController cheader_filename="meta/meta-remote-access-controller.h"
|
||||
RemoteAccessHandle cheader_filename="meta/meta-remote-access-controller.h"
|
||||
Selection cheader_filename="meta/meta-selection.h"
|
||||
SelectionSource cheader_filename="meta/meta-selection-source.h"
|
||||
SelectionSourceMemory cheader_filename="meta/meta-selection-source-memory.h"
|
||||
SelectionType cheader_filename="meta/meta-selection-source.h"
|
||||
Settings cheader_filename="meta/meta-settings.h"
|
||||
Shadow cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShadowFactory cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShadowMode cheader_filename="meta/meta-window-actor.h"
|
||||
ShadowParams cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShapedTexture cheader_filename="meta/meta-shaped-texture.h"
|
||||
Side cheader_filename="meta/common.h"
|
||||
SizeChange cheader_filename="meta/compositor.h"
|
||||
SoundPlayer cheader_filename="meta/meta-sound-player.h"
|
||||
StartupNotification cheader_filename="meta/meta-startup-notification.h"
|
||||
StartupNotification.changed.object type="Meta.StartupSequence"
|
||||
StartupNotification.get_sequences type_arguments="Meta.StartupSequence"
|
||||
StartupSequence cheader_filename="meta/meta-startup-notification.h"
|
||||
StackLayer cheader_filename="meta/common.h"
|
||||
Stage cheader_filename="meta/meta-stage.h"
|
||||
Stage.is_focused parent="Meta.Display" symbol_type="method" name="stage_is_focused" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
Strut cheader_filename="meta/boxes.h"
|
||||
TabList cheader_filename="meta/display.h"
|
||||
TabShowType cheader_filename="meta/display.h"
|
||||
Theme cheader_filename="meta/theme.h"
|
||||
theme_get_default cheader_filename="meta/theme.h"
|
||||
theme_new cheader_filename="meta/theme.h"
|
||||
VirtualModifier cheader_filename="meta/common.h"
|
||||
Workspace cheader_filename="meta/workspace.h"
|
||||
WorkspaceManager cheader_filename="meta/meta-workspace-manager.h"
|
||||
Window cheader_filename="meta/window.h"
|
||||
Window.focus#signal name="focused"
|
||||
Window.icon type="Cairo.Surface"
|
||||
Window.mini_icon type="Cairo.Surface"
|
||||
WindowActor cheader_filename="meta/meta-window-actor.h"
|
||||
WindowClientType cheader_filename="meta/window.h"
|
||||
WindowForeachFunc cheader_filename="meta/window.h"
|
||||
WindowGroup cheader_filename="meta/meta-window-group.h"
|
||||
WindowMenuType cheader_filename="meta/compositor.h"
|
||||
WindowShape cheader_filename="meta/meta-window-shape.h"
|
||||
WindowType cheader_filename="meta/window.h"
|
||||
X11Display cheader_filename="meta/meta-x11-display.h"
|
||||
|
||||
rect skip
|
||||
prefs_* parent="Meta.Prefs" name="prefs_(.+)" cheader_filename="meta/prefs.h"
|
||||
|
||||
g_utf8_strndup skip
|
||||
|
||||
preference_to_string cheader_filename="meta/prefs.h"
|
||||
frame_type_to_string cheader_filename="meta/util.h"
|
||||
|
||||
CURRENT_TIME cheader_filename="meta/common.h"
|
||||
ICON_WIDTH cheader_filename="meta/common.h"
|
||||
ICON_HEIGHT cheader_filename="meta/common.h"
|
||||
MINI_ICON_WIDTH cheader_filename="meta/common.h"
|
||||
MINI_ICON_HEIGHT cheader_filename="meta/common.h"
|
||||
DEFAULT_ICON_NAME cheader_filename="meta/common.h"
|
||||
PRIORITY_RESIZE cheader_filename="meta/common.h"
|
||||
PRIORITY_BEFORE_REDRAW cheader_filename="meta/common.h"
|
||||
PRIORITY_REDRAW cheader_filename="meta/common.h"
|
||||
PRIORITY_PREFS_NOTIFY cheader_filename="meta/common.h"
|
||||
VIRTUAL_CORE_POINTER_ID cheader_filename="meta/common.h"
|
||||
VIRTUAL_CORE_KEYBOARD_ID cheader_filename="meta/common.h"
|
||||
|
||||
MAJOR_VERSION cheader_filename="meta/meta-version.h"
|
||||
MINOR_VERSION cheader_filename="meta/meta-version.h"
|
||||
MICRO_VERSION cheader_filename="meta/meta-version.h"
|
||||
PLUGIN_API_VERSION cheader_filename="meta/meta-version.h"
|
||||
|
||||
add_verbose_topic parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
bug parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
debug_spew_real parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
external_binding_name_for_action parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
fatal parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
get_locale_direction parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
gravity_to_string parent="Meta.Gravity" name="to_string" cheader_filename="meta/util.h" symbol_type="method" instance_idx=0
|
||||
is_debugging parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_syncing parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_verbose parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_wayland_compositor parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
later_add parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
later_remove parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
pop_no_msg_prefix parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
push_no_msg_prefix parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
remove_verbose_topic parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
show_dialog parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
show_dialog.columns type_arguments="string" nullable default=null
|
||||
show_dialog.entries type_arguments="string" nullable default=null
|
||||
show_dialog.transient_for default=0
|
||||
show_dialog.icon_name nullable default=null
|
||||
show_dialog.cancel_text nullable default=null
|
||||
show_dialog.ok_text nullable default=null
|
||||
show_dialog.display nullable default=null
|
||||
show_dialog.timeout nullable default=null
|
||||
topic_real parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
unsigned_long_equal parent="Meta.Util" name="ulong_equal" cheader_filename="meta/util.h"
|
||||
unsigned_long_equal.v1 type="ulong?"
|
||||
unsigned_long_equal.v2 type="ulong?"
|
||||
unsigned_long_hash parent="Meta.Util" name="ulong_hash" cheader_filename="meta/util.h"
|
||||
unsigned_long_hash.v type="ulong?"
|
||||
verbose_real parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
warning parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
set_gnome_wm_keybindings parent="Meta.Util"
|
||||
set_wm_name parent="Meta.Util"
|
||||
|
||||
x11_error_trap_pop parent="Meta.X11Display" symbol_type="method" name="error_trap_pop" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_error_trap_pop_with_return parent="Meta.X11Display" symbol_type="method" name="error_trap_pop_with_return" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_error_trap_push parent="Meta.X11Display" symbol_type="method" name="error_trap_push" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_init_gdk_display parent="Meta.X11Display" cheader_filename="meta/meta-x11-display.h"
|
@ -1,192 +0,0 @@
|
||||
* skip=false
|
||||
*.* skip=false
|
||||
* cheader_filename="meta/main.h"
|
||||
|
||||
Backend cheader_filename="meta/meta-backend.h"
|
||||
Backend.gpu_added skip
|
||||
get_backend parent="Meta.Backend" cheader_filename="meta/meta-backend.h"
|
||||
Background cheader_filename="meta/meta-background.h"
|
||||
Background.set_file.file nullable
|
||||
BackgroundContent.new symbol_type="constructor"
|
||||
BackgroundActor cheader_filename="meta/meta-background-actor.h"
|
||||
BackgroundContent cheader_filename="meta/meta-background-content.h"
|
||||
BackgroundGroup cheader_filename="meta/meta-background-group.h"
|
||||
BackgroundImage cheader_filename="meta/meta-background-image.h"
|
||||
BackgroundImageCache cheader_filename="meta/meta-background-image.h"
|
||||
Barrier cheader_filename="meta/barrier.h"
|
||||
BarrierDirection cheader_filename="meta/barrier.h"
|
||||
BarrierEvent cheader_filename="meta/barrier.h"
|
||||
ButtonFunction cheader_filename="meta/common.h"
|
||||
ButtonLayout cheader_filename="meta/common.h"
|
||||
Compositor cheader_filename="meta/compositor.h"
|
||||
Compositor.sync_stack.stack type_arguments="Meta.Window"
|
||||
get_feedback_group_for_display parent="Meta.Display" symbol_type="method" name="get_feedback_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_stage_for_display parent="Meta.Display" symbol_type="method" name="get_stage" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_top_window_group_for_display parent="Meta.Display" symbol_type="method" name="get_top_window_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_window_group_for_display parent="Meta.Display" symbol_type="method" name="get_window_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
disable_unredirect_for_display parent="Meta.Display" symbol_type="method" name="disable_unredirect" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
enable_unredirect_for_display parent="Meta.Display" symbol_type="method" name="enable_unredirect" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
|
||||
get_window_actors parent="Meta.Display" symbol_type="method" instance_idx=0 cheader_filename="meta/compositor-mutter.h" type_arguments="Meta.WindowActor"
|
||||
focus_stage_window parent="Meta.Display" symbol_type="method" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
|
||||
CompEffect cheader_filename="meta/compositor.h"
|
||||
CloseDialog cheader_filename="meta/meta-close-dialog.h"
|
||||
CloseDialogResponse cheader_filename="meta/meta-close-dialog.h"
|
||||
Cursor cheader_filename="meta/common.h"
|
||||
CursorTracker cheader_filename="meta/meta-cursor-tracker.h"
|
||||
CursorTracker.get_for_display parent="Meta.Display" symbol_type="method" instance_idx=0 name="get_cursor_tracker"
|
||||
CursorTracker.get_pointer.x out
|
||||
CursorTracker.get_pointer.y out
|
||||
CursorTracker.get_pointer.mods out
|
||||
DebugTopic cheader_filename="meta/util.h"
|
||||
Direction cheader_filename="meta/common.h"
|
||||
Display cheader_filename="meta/display.h"
|
||||
DisplayCorner cheader_filename="meta/display.h"
|
||||
DisplayDirection cheader_filename="meta/display.h"
|
||||
Dnd cheader_filename="meta/meta-dnd.h"
|
||||
EdgeType cheader_filename="meta/boxes.h"
|
||||
Edge cheader_filename="meta/boxes.h"
|
||||
Frame cheader_filename="meta/types.h"
|
||||
FrameBorders cheader_filename="meta/common.h"
|
||||
FrameFlags cheader_filename="meta/common.h"
|
||||
FrameType cheader_filename="meta/common.h"
|
||||
GrabOp cheader_filename="meta/common.h"
|
||||
Group cheader_filename="meta/group.h"
|
||||
Group.property_notify.event type="X.Event" ref
|
||||
IdleMonitor cheader_filename="meta/meta-idle-monitor.h"
|
||||
IdleMonitorWatchFunc cheader_filename="meta/meta-idle-monitor.h"
|
||||
InhibitShortcutsDialog cheader_filename="meta/meta-inhibit-shortcuts-dialog.h"
|
||||
InhibitShortcutsDialogResponse cheader_filename="meta/meta-inhibit-shortcuts-dialog.h"
|
||||
KeyBinding cheader_filename="meta/keybindings.h"
|
||||
keybindings_set_custom_handler parent="Meta.KeyBinding" name="set_custom_handler" cheader_filename="meta/keybindings.h"
|
||||
KeyBindingAction cheader_filename="meta/prefs.h"
|
||||
KeyBindingFlags cheader_filename="meta/prefs.h"
|
||||
KeyHandlerFunc cheader_filename="meta/prefs.h"
|
||||
KeyHandlerFunc.event type="Clutter.KeyEvent"
|
||||
LaunchContext cheader_filename="meta/meta-launch-context.h"
|
||||
LaterType cheader_filename="meta/util.h"
|
||||
LocaleDirection cheader_filename="meta/util.h"
|
||||
MaximizeFlags cheader_filename="meta/window.h"
|
||||
ModalOptions cheader_filename="meta/meta-plugin.h"
|
||||
MonitorManager cheader_filename="meta/meta-monitor-manager.h"
|
||||
MonitorSwitchConfigType cheader_filename="meta/meta-monitor-manager.h"
|
||||
MotionDirection cheader_filename="meta/common.h"
|
||||
PadActionType cheader_filename="meta/display.h"
|
||||
Plugin cheader_filename="meta/meta-plugin.h"
|
||||
Plugin.xevent_filter.event type="X.Event" ref
|
||||
PluginInfo cheader_filename="meta/meta-plugin.h"
|
||||
PluginVersion cheader_filename="meta/meta-plugin.h"
|
||||
Preference cheader_filename="meta/prefs.h"
|
||||
PrefsChangedFunc cheader_filename="meta/prefs.h"
|
||||
Rectangle cheader_filename="meta/boxes.h" struct
|
||||
RemoteAccessController cheader_filename="meta/meta-remote-access-controller.h"
|
||||
RemoteAccessHandle cheader_filename="meta/meta-remote-access-controller.h"
|
||||
Selection cheader_filename="meta/meta-selection.h"
|
||||
SelectionSource cheader_filename="meta/meta-selection-source.h"
|
||||
SelectionSourceMemory cheader_filename="meta/meta-selection-source-memory.h"
|
||||
SelectionType cheader_filename="meta/meta-selection-source.h"
|
||||
Settings cheader_filename="meta/meta-settings.h"
|
||||
Shadow cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShadowFactory cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShadowMode cheader_filename="meta/meta-window-actor.h"
|
||||
ShadowParams cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShapedTexture cheader_filename="meta/meta-shaped-texture.h"
|
||||
Side cheader_filename="meta/common.h"
|
||||
SizeChange cheader_filename="meta/compositor.h"
|
||||
SoundPlayer cheader_filename="meta/meta-sound-player.h"
|
||||
StartupNotification cheader_filename="meta/meta-startup-notification.h"
|
||||
StartupNotification.changed.object type="Meta.StartupSequence"
|
||||
StartupNotification.get_sequences type_arguments="Meta.StartupSequence"
|
||||
StartupSequence cheader_filename="meta/meta-startup-notification.h"
|
||||
StackLayer cheader_filename="meta/common.h"
|
||||
Stage cheader_filename="meta/meta-stage.h"
|
||||
Stage.is_focused parent="Meta.Display" symbol_type="method" name="stage_is_focused" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
Strut cheader_filename="meta/boxes.h"
|
||||
TabList cheader_filename="meta/display.h"
|
||||
TabShowType cheader_filename="meta/display.h"
|
||||
Theme cheader_filename="meta/theme.h"
|
||||
theme_get_default cheader_filename="meta/theme.h"
|
||||
theme_new cheader_filename="meta/theme.h"
|
||||
VirtualModifier cheader_filename="meta/common.h"
|
||||
Workspace cheader_filename="meta/workspace.h"
|
||||
WorkspaceManager cheader_filename="meta/meta-workspace-manager.h"
|
||||
Window cheader_filename="meta/window.h"
|
||||
Window.focus#signal name="focused"
|
||||
Window.icon type="Cairo.Surface"
|
||||
Window.mini_icon type="Cairo.Surface"
|
||||
WindowActor cheader_filename="meta/meta-window-actor.h"
|
||||
WindowClientType cheader_filename="meta/window.h"
|
||||
WindowForeachFunc cheader_filename="meta/window.h"
|
||||
WindowGroup cheader_filename="meta/meta-window-group.h"
|
||||
WindowMenuType cheader_filename="meta/compositor.h"
|
||||
WindowShape cheader_filename="meta/meta-window-shape.h"
|
||||
WindowType cheader_filename="meta/window.h"
|
||||
X11Display cheader_filename="meta/meta-x11-display.h"
|
||||
|
||||
rect skip
|
||||
prefs_* parent="Meta.Prefs" name="prefs_(.+)" cheader_filename="meta/prefs.h"
|
||||
|
||||
g_utf8_strndup skip
|
||||
|
||||
preference_to_string cheader_filename="meta/prefs.h"
|
||||
frame_type_to_string cheader_filename="meta/util.h"
|
||||
|
||||
CURRENT_TIME cheader_filename="meta/common.h"
|
||||
ICON_WIDTH cheader_filename="meta/common.h"
|
||||
ICON_HEIGHT cheader_filename="meta/common.h"
|
||||
MINI_ICON_WIDTH cheader_filename="meta/common.h"
|
||||
MINI_ICON_HEIGHT cheader_filename="meta/common.h"
|
||||
DEFAULT_ICON_NAME cheader_filename="meta/common.h"
|
||||
PRIORITY_RESIZE cheader_filename="meta/common.h"
|
||||
PRIORITY_BEFORE_REDRAW cheader_filename="meta/common.h"
|
||||
PRIORITY_REDRAW cheader_filename="meta/common.h"
|
||||
PRIORITY_PREFS_NOTIFY cheader_filename="meta/common.h"
|
||||
VIRTUAL_CORE_POINTER_ID cheader_filename="meta/common.h"
|
||||
VIRTUAL_CORE_KEYBOARD_ID cheader_filename="meta/common.h"
|
||||
|
||||
MAJOR_VERSION cheader_filename="meta/meta-version.h"
|
||||
MINOR_VERSION cheader_filename="meta/meta-version.h"
|
||||
MICRO_VERSION cheader_filename="meta/meta-version.h"
|
||||
PLUGIN_API_VERSION cheader_filename="meta/meta-version.h"
|
||||
|
||||
add_verbose_topic parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
bug parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
debug_spew_real parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
external_binding_name_for_action parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
fatal parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
get_locale_direction parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
gravity_to_string parent="Meta.Gravity" name="to_string" cheader_filename="meta/util.h" symbol_type="method" instance_idx=0
|
||||
is_debugging parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_syncing parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_verbose parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_wayland_compositor parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
later_add parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
later_remove parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
pop_no_msg_prefix parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
push_no_msg_prefix parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
remove_verbose_topic parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
show_dialog parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
show_dialog.columns type_arguments="string" nullable default=null
|
||||
show_dialog.entries type_arguments="string" nullable default=null
|
||||
show_dialog.transient_for default=0
|
||||
show_dialog.icon_name nullable default=null
|
||||
show_dialog.cancel_text nullable default=null
|
||||
show_dialog.ok_text nullable default=null
|
||||
show_dialog.display nullable default=null
|
||||
show_dialog.timeout nullable default=null
|
||||
topic_real parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
unsigned_long_equal parent="Meta.Util" name="ulong_equal" cheader_filename="meta/util.h"
|
||||
unsigned_long_equal.v1 type="ulong?"
|
||||
unsigned_long_equal.v2 type="ulong?"
|
||||
unsigned_long_hash parent="Meta.Util" name="ulong_hash" cheader_filename="meta/util.h"
|
||||
unsigned_long_hash.v type="ulong?"
|
||||
verbose_real parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
warning parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
set_gnome_wm_keybindings parent="Meta.Util"
|
||||
set_wm_name parent="Meta.Util"
|
||||
|
||||
x11_error_trap_pop parent="Meta.X11Display" symbol_type="method" name="error_trap_pop" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_error_trap_pop_with_return parent="Meta.X11Display" symbol_type="method" name="error_trap_pop_with_return" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_error_trap_push parent="Meta.X11Display" symbol_type="method" name="error_trap_push" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_init_gdk_display parent="Meta.X11Display" cheader_filename="meta/meta-x11-display.h"
|
@ -1,183 +0,0 @@
|
||||
* skip=false
|
||||
*.* skip=false
|
||||
* cheader_filename="meta/main.h"
|
||||
|
||||
Backend cheader_filename="meta/meta-backend.h"
|
||||
Backend.gpu_added skip
|
||||
get_backend parent="Meta.Backend" cheader_filename="meta/meta-backend.h"
|
||||
Background cheader_filename="meta/meta-background.h"
|
||||
Background.set_file.file nullable
|
||||
BackgroundContent.new symbol_type="constructor"
|
||||
BackgroundActor cheader_filename="meta/meta-background-actor.h"
|
||||
BackgroundContent cheader_filename="meta/meta-background-content.h"
|
||||
BackgroundGroup cheader_filename="meta/meta-background-group.h"
|
||||
BackgroundImage cheader_filename="meta/meta-background-image.h"
|
||||
BackgroundImageCache cheader_filename="meta/meta-background-image.h"
|
||||
Barrier cheader_filename="meta/barrier.h"
|
||||
BarrierDirection cheader_filename="meta/barrier.h"
|
||||
BarrierEvent cheader_filename="meta/barrier.h"
|
||||
ButtonFunction cheader_filename="meta/common.h"
|
||||
ButtonLayout cheader_filename="meta/common.h"
|
||||
Compositor cheader_filename="meta/compositor.h"
|
||||
Compositor.sync_stack.stack type_arguments="Meta.Window"
|
||||
get_feedback_group_for_display parent="Meta.Display" symbol_type="method" name="get_feedback_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_stage_for_display parent="Meta.Display" symbol_type="method" name="get_stage" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_top_window_group_for_display parent="Meta.Display" symbol_type="method" name="get_top_window_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_window_group_for_display parent="Meta.Display" symbol_type="method" name="get_window_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
disable_unredirect_for_display parent="Meta.Display" symbol_type="method" name="disable_unredirect" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
enable_unredirect_for_display parent="Meta.Display" symbol_type="method" name="enable_unredirect" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
|
||||
get_window_actors parent="Meta.Display" symbol_type="method" instance_idx=0 cheader_filename="meta/compositor-mutter.h" type_arguments="Meta.WindowActor"
|
||||
focus_stage_window parent="Meta.Display" symbol_type="method" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
|
||||
CompEffect cheader_filename="meta/compositor.h"
|
||||
CloseDialog cheader_filename="meta/meta-close-dialog.h"
|
||||
CloseDialogResponse cheader_filename="meta/meta-close-dialog.h"
|
||||
Cursor cheader_filename="meta/common.h"
|
||||
CursorTracker cheader_filename="meta/meta-cursor-tracker.h"
|
||||
CursorTracker.get_for_display parent="Meta.Display" symbol_type="method" instance_idx=0 name="get_cursor_tracker"
|
||||
CursorTracker.get_pointer.mods out
|
||||
DebugTopic cheader_filename="meta/util.h"
|
||||
Direction cheader_filename="meta/common.h"
|
||||
Display cheader_filename="meta/display.h"
|
||||
DisplayCorner cheader_filename="meta/display.h"
|
||||
DisplayDirection cheader_filename="meta/display.h"
|
||||
Dnd cheader_filename="meta/meta-dnd.h"
|
||||
EdgeType cheader_filename="meta/boxes.h"
|
||||
Edge cheader_filename="meta/boxes.h"
|
||||
Frame cheader_filename="meta/types.h"
|
||||
FrameBorders cheader_filename="meta/common.h"
|
||||
FrameFlags cheader_filename="meta/common.h"
|
||||
FrameType cheader_filename="meta/common.h"
|
||||
GrabOp cheader_filename="meta/common.h"
|
||||
Group cheader_filename="meta/group.h"
|
||||
Group.property_notify.event type="X.Event" ref
|
||||
IdleMonitor cheader_filename="meta/meta-idle-monitor.h"
|
||||
IdleMonitorWatchFunc cheader_filename="meta/meta-idle-monitor.h"
|
||||
InhibitShortcutsDialog cheader_filename="meta/meta-inhibit-shortcuts-dialog.h"
|
||||
InhibitShortcutsDialogResponse cheader_filename="meta/meta-inhibit-shortcuts-dialog.h"
|
||||
KeyBinding cheader_filename="meta/keybindings.h"
|
||||
keybindings_set_custom_handler parent="Meta.KeyBinding" name="set_custom_handler" cheader_filename="meta/keybindings.h"
|
||||
KeyBindingAction cheader_filename="meta/prefs.h"
|
||||
KeyBindingFlags cheader_filename="meta/prefs.h"
|
||||
KeyHandlerFunc cheader_filename="meta/prefs.h"
|
||||
KeyHandlerFunc.event type="Clutter.KeyEvent?"
|
||||
KeyHandlerFunc.window nullable
|
||||
LaunchContext cheader_filename="meta/meta-launch-context.h"
|
||||
LaterType cheader_filename="meta/util.h"
|
||||
LocaleDirection cheader_filename="meta/util.h"
|
||||
MaximizeFlags cheader_filename="meta/window.h"
|
||||
ModalOptions cheader_filename="meta/meta-plugin.h"
|
||||
MonitorManager cheader_filename="meta/meta-monitor-manager.h"
|
||||
MonitorSwitchConfigType cheader_filename="meta/meta-monitor-manager.h"
|
||||
MotionDirection cheader_filename="meta/common.h"
|
||||
PadActionType cheader_filename="meta/display.h"
|
||||
Plugin cheader_filename="meta/meta-plugin.h"
|
||||
Plugin.xevent_filter.event type="X.Event" ref
|
||||
PluginInfo cheader_filename="meta/meta-plugin.h"
|
||||
Preference cheader_filename="meta/prefs.h"
|
||||
PrefsChangedFunc cheader_filename="meta/prefs.h"
|
||||
Rectangle cheader_filename="meta/boxes.h" struct
|
||||
RemoteAccessController cheader_filename="meta/meta-remote-access-controller.h"
|
||||
RemoteAccessHandle cheader_filename="meta/meta-remote-access-controller.h"
|
||||
Selection cheader_filename="meta/meta-selection.h"
|
||||
SelectionSource cheader_filename="meta/meta-selection-source.h"
|
||||
SelectionSourceMemory cheader_filename="meta/meta-selection-source-memory.h"
|
||||
SelectionType cheader_filename="meta/meta-selection-source.h"
|
||||
Settings cheader_filename="meta/meta-settings.h"
|
||||
Shadow cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShadowFactory cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShadowMode cheader_filename="meta/meta-window-actor.h"
|
||||
ShadowParams cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShapedTexture cheader_filename="meta/meta-shaped-texture.h"
|
||||
Side cheader_filename="meta/common.h"
|
||||
SizeChange cheader_filename="meta/compositor.h"
|
||||
SoundPlayer cheader_filename="meta/meta-sound-player.h"
|
||||
StartupNotification cheader_filename="meta/meta-startup-notification.h"
|
||||
StartupNotification.changed.object type="Meta.StartupSequence"
|
||||
StartupNotification.get_sequences type_arguments="Meta.StartupSequence"
|
||||
StartupSequence cheader_filename="meta/meta-startup-notification.h"
|
||||
StackLayer cheader_filename="meta/common.h"
|
||||
Stage cheader_filename="meta/meta-stage.h"
|
||||
Stage.is_focused parent="Meta.Display" symbol_type="method" name="stage_is_focused" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
Strut cheader_filename="meta/boxes.h"
|
||||
TabList cheader_filename="meta/display.h"
|
||||
TabShowType cheader_filename="meta/display.h"
|
||||
Theme cheader_filename="meta/theme.h"
|
||||
theme_get_default cheader_filename="meta/theme.h"
|
||||
theme_new cheader_filename="meta/theme.h"
|
||||
VirtualModifier cheader_filename="meta/common.h"
|
||||
Workspace cheader_filename="meta/workspace.h"
|
||||
WorkspaceManager cheader_filename="meta/meta-workspace-manager.h"
|
||||
Window cheader_filename="meta/window.h"
|
||||
Window.focus#signal name="focused"
|
||||
Window.icon type="Cairo.Surface"
|
||||
Window.mini_icon type="Cairo.Surface"
|
||||
WindowActor cheader_filename="meta/meta-window-actor.h"
|
||||
WindowClientType cheader_filename="meta/window.h"
|
||||
WindowForeachFunc cheader_filename="meta/window.h"
|
||||
WindowGroup cheader_filename="meta/meta-window-group.h"
|
||||
WindowMenuType cheader_filename="meta/compositor.h"
|
||||
WindowShape cheader_filename="meta/meta-window-shape.h"
|
||||
WindowType cheader_filename="meta/window.h"
|
||||
X11Display cheader_filename="meta/meta-x11-display.h"
|
||||
|
||||
rect skip
|
||||
prefs_* parent="Meta.Prefs" name="prefs_(.+)" cheader_filename="meta/prefs.h"
|
||||
|
||||
g_utf8_strndup skip
|
||||
|
||||
preference_to_string cheader_filename="meta/prefs.h"
|
||||
frame_type_to_string cheader_filename="meta/util.h"
|
||||
|
||||
CURRENT_TIME cheader_filename="meta/common.h"
|
||||
ICON_WIDTH cheader_filename="meta/common.h"
|
||||
ICON_HEIGHT cheader_filename="meta/common.h"
|
||||
MINI_ICON_WIDTH cheader_filename="meta/common.h"
|
||||
MINI_ICON_HEIGHT cheader_filename="meta/common.h"
|
||||
DEFAULT_ICON_NAME cheader_filename="meta/common.h"
|
||||
PRIORITY_RESIZE cheader_filename="meta/common.h"
|
||||
PRIORITY_BEFORE_REDRAW cheader_filename="meta/common.h"
|
||||
PRIORITY_REDRAW cheader_filename="meta/common.h"
|
||||
PRIORITY_PREFS_NOTIFY cheader_filename="meta/common.h"
|
||||
VIRTUAL_CORE_POINTER_ID cheader_filename="meta/common.h"
|
||||
VIRTUAL_CORE_KEYBOARD_ID cheader_filename="meta/common.h"
|
||||
|
||||
add_verbose_topic parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
bug parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
external_binding_name_for_action parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
fatal parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
get_locale_direction parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
gravity_to_string parent="Meta.Gravity" name="to_string" cheader_filename="meta/util.h" symbol_type="method" instance_idx=0
|
||||
is_syncing parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_verbose parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_wayland_compositor parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
later_add parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
later_remove parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
pop_no_msg_prefix parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
push_no_msg_prefix parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
remove_verbose_topic parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
show_dialog parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
show_dialog.columns type_arguments="string" nullable default=null
|
||||
show_dialog.entries type_arguments="string" nullable default=null
|
||||
show_dialog.transient_for default=0
|
||||
show_dialog.icon_name nullable default=null
|
||||
show_dialog.cancel_text nullable default=null
|
||||
show_dialog.ok_text nullable default=null
|
||||
show_dialog.display nullable default=null
|
||||
show_dialog.timeout nullable default=null
|
||||
topic_real parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
unsigned_long_equal parent="Meta.Util" name="ulong_equal" cheader_filename="meta/util.h"
|
||||
unsigned_long_equal.v1 type="ulong?"
|
||||
unsigned_long_equal.v2 type="ulong?"
|
||||
unsigned_long_hash parent="Meta.Util" name="ulong_hash" cheader_filename="meta/util.h"
|
||||
unsigned_long_hash.v type="ulong?"
|
||||
verbose_real parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
warning parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
set_gnome_wm_keybindings parent="Meta.Util"
|
||||
set_wm_name parent="Meta.Util"
|
||||
|
||||
x11_error_trap_pop parent="Meta.X11Display" symbol_type="method" name="error_trap_pop" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_error_trap_pop_with_return parent="Meta.X11Display" symbol_type="method" name="error_trap_pop_with_return" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_error_trap_push parent="Meta.X11Display" symbol_type="method" name="error_trap_push" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_init_gdk_display parent="Meta.X11Display" cheader_filename="meta/meta-x11-display.h"
|
@ -1,182 +0,0 @@
|
||||
* skip=false
|
||||
*.* skip=false
|
||||
* cheader_filename="meta/main.h"
|
||||
|
||||
Backend cheader_filename="meta/meta-backend.h"
|
||||
Backend.gpu_added skip
|
||||
get_backend parent="Meta.Backend" cheader_filename="meta/meta-backend.h"
|
||||
Background cheader_filename="meta/meta-background.h"
|
||||
Background.set_file.file nullable
|
||||
BackgroundContent.new symbol_type="constructor"
|
||||
BackgroundActor cheader_filename="meta/meta-background-actor.h"
|
||||
BackgroundContent cheader_filename="meta/meta-background-content.h"
|
||||
BackgroundGroup cheader_filename="meta/meta-background-group.h"
|
||||
BackgroundImage cheader_filename="meta/meta-background-image.h"
|
||||
BackgroundImageCache cheader_filename="meta/meta-background-image.h"
|
||||
Barrier cheader_filename="meta/barrier.h"
|
||||
BarrierDirection cheader_filename="meta/barrier.h"
|
||||
BarrierEvent cheader_filename="meta/barrier.h"
|
||||
ButtonFunction cheader_filename="meta/common.h"
|
||||
ButtonLayout cheader_filename="meta/common.h"
|
||||
Compositor cheader_filename="meta/compositor.h"
|
||||
Compositor.sync_stack.stack type_arguments="Meta.Window"
|
||||
get_feedback_group_for_display parent="Meta.Display" symbol_type="method" name="get_feedback_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_stage_for_display parent="Meta.Display" symbol_type="method" name="get_stage" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_top_window_group_for_display parent="Meta.Display" symbol_type="method" name="get_top_window_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
get_window_group_for_display parent="Meta.Display" symbol_type="method" name="get_window_group" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
disable_unredirect_for_display parent="Meta.Display" symbol_type="method" name="disable_unredirect" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
enable_unredirect_for_display parent="Meta.Display" symbol_type="method" name="enable_unredirect" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
|
||||
get_window_actors parent="Meta.Display" symbol_type="method" instance_idx=0 cheader_filename="meta/compositor-mutter.h" type_arguments="Meta.WindowActor"
|
||||
focus_stage_window parent="Meta.Display" symbol_type="method" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
|
||||
CompEffect cheader_filename="meta/compositor.h"
|
||||
CloseDialog cheader_filename="meta/meta-close-dialog.h"
|
||||
CloseDialogResponse cheader_filename="meta/meta-close-dialog.h"
|
||||
Context cheader_filename="meta/meta-context.h"
|
||||
Cursor cheader_filename="meta/common.h"
|
||||
CursorTracker cheader_filename="meta/meta-cursor-tracker.h"
|
||||
CursorTracker.get_for_display parent="Meta.Display" symbol_type="method" instance_idx=0 name="get_cursor_tracker"
|
||||
CursorTracker.get_pointer.mods out
|
||||
DebugTopic cheader_filename="meta/util.h"
|
||||
Direction cheader_filename="meta/common.h"
|
||||
Display cheader_filename="meta/display.h"
|
||||
DisplayCorner cheader_filename="meta/display.h"
|
||||
DisplayDirection cheader_filename="meta/display.h"
|
||||
Dnd cheader_filename="meta/meta-dnd.h"
|
||||
EdgeType cheader_filename="meta/boxes.h"
|
||||
Edge cheader_filename="meta/boxes.h"
|
||||
Frame cheader_filename="meta/types.h"
|
||||
FrameBorders cheader_filename="meta/common.h"
|
||||
FrameFlags cheader_filename="meta/common.h"
|
||||
FrameType cheader_filename="meta/common.h"
|
||||
GrabOp cheader_filename="meta/common.h"
|
||||
Group cheader_filename="meta/group.h"
|
||||
Group.property_notify.event type="X.Event" ref
|
||||
IdleMonitor cheader_filename="meta/meta-idle-monitor.h"
|
||||
IdleMonitorWatchFunc cheader_filename="meta/meta-idle-monitor.h"
|
||||
InhibitShortcutsDialog cheader_filename="meta/meta-inhibit-shortcuts-dialog.h"
|
||||
InhibitShortcutsDialogResponse cheader_filename="meta/meta-inhibit-shortcuts-dialog.h"
|
||||
KeyBinding cheader_filename="meta/keybindings.h"
|
||||
keybindings_set_custom_handler parent="Meta.KeyBinding" name="set_custom_handler" cheader_filename="meta/keybindings.h"
|
||||
KeyBindingAction cheader_filename="meta/prefs.h"
|
||||
KeyBindingFlags cheader_filename="meta/prefs.h"
|
||||
KeyHandlerFunc cheader_filename="meta/prefs.h"
|
||||
KeyHandlerFunc.event type="Clutter.KeyEvent?"
|
||||
KeyHandlerFunc.window nullable
|
||||
LaunchContext cheader_filename="meta/meta-launch-context.h"
|
||||
LaterType cheader_filename="meta/util.h"
|
||||
LocaleDirection cheader_filename="meta/util.h"
|
||||
MaximizeFlags cheader_filename="meta/window.h"
|
||||
ModalOptions cheader_filename="meta/meta-plugin.h"
|
||||
MonitorManager cheader_filename="meta/meta-monitor-manager.h"
|
||||
MonitorSwitchConfigType cheader_filename="meta/meta-monitor-manager.h"
|
||||
MotionDirection cheader_filename="meta/common.h"
|
||||
PadActionType cheader_filename="meta/display.h"
|
||||
Plugin cheader_filename="meta/meta-plugin.h"
|
||||
Plugin.xevent_filter.event type="X.Event" ref
|
||||
PluginInfo cheader_filename="meta/meta-plugin.h"
|
||||
Preference cheader_filename="meta/prefs.h"
|
||||
PrefsChangedFunc cheader_filename="meta/prefs.h"
|
||||
Rectangle cheader_filename="meta/boxes.h" struct
|
||||
RemoteAccessController cheader_filename="meta/meta-remote-access-controller.h"
|
||||
RemoteAccessHandle cheader_filename="meta/meta-remote-access-controller.h"
|
||||
Selection cheader_filename="meta/meta-selection.h"
|
||||
SelectionSource cheader_filename="meta/meta-selection-source.h"
|
||||
SelectionSourceMemory cheader_filename="meta/meta-selection-source-memory.h"
|
||||
SelectionType cheader_filename="meta/meta-selection-source.h"
|
||||
Settings cheader_filename="meta/meta-settings.h"
|
||||
Shadow cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShadowFactory cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShadowMode cheader_filename="meta/meta-window-actor.h"
|
||||
ShadowParams cheader_filename="meta/meta-shadow-factory.h"
|
||||
ShapedTexture cheader_filename="meta/meta-shaped-texture.h"
|
||||
Side cheader_filename="meta/common.h"
|
||||
SizeChange cheader_filename="meta/compositor.h"
|
||||
SoundPlayer cheader_filename="meta/meta-sound-player.h"
|
||||
StartupNotification cheader_filename="meta/meta-startup-notification.h"
|
||||
StartupNotification.changed.object type="Meta.StartupSequence"
|
||||
StartupNotification.get_sequences type_arguments="Meta.StartupSequence"
|
||||
StartupSequence cheader_filename="meta/meta-startup-notification.h"
|
||||
StackLayer cheader_filename="meta/common.h"
|
||||
Stage cheader_filename="meta/meta-stage.h"
|
||||
Stage.is_focused parent="Meta.Display" symbol_type="method" name="stage_is_focused" instance_idx=0 cheader_filename="meta/compositor-mutter.h"
|
||||
Strut cheader_filename="meta/boxes.h"
|
||||
TabList cheader_filename="meta/display.h"
|
||||
TabShowType cheader_filename="meta/display.h"
|
||||
Theme cheader_filename="meta/theme.h"
|
||||
theme_get_default cheader_filename="meta/theme.h"
|
||||
theme_new cheader_filename="meta/theme.h"
|
||||
VirtualModifier cheader_filename="meta/common.h"
|
||||
Workspace cheader_filename="meta/workspace.h"
|
||||
WorkspaceManager cheader_filename="meta/meta-workspace-manager.h"
|
||||
Window cheader_filename="meta/window.h"
|
||||
Window.focus#signal name="focused"
|
||||
Window.icon type="Cairo.Surface"
|
||||
Window.mini_icon type="Cairo.Surface"
|
||||
WindowActor cheader_filename="meta/meta-window-actor.h"
|
||||
WindowClientType cheader_filename="meta/window.h"
|
||||
WindowForeachFunc cheader_filename="meta/window.h"
|
||||
WindowGroup cheader_filename="meta/meta-window-group.h"
|
||||
WindowMenuType cheader_filename="meta/compositor.h"
|
||||
WindowShape cheader_filename="meta/meta-window-shape.h"
|
||||
WindowType cheader_filename="meta/window.h"
|
||||
X11Display cheader_filename="meta/meta-x11-display.h"
|
||||
|
||||
rect skip
|
||||
prefs_* parent="Meta.Prefs" name="prefs_(.+)" cheader_filename="meta/prefs.h"
|
||||
|
||||
g_utf8_strndup skip
|
||||
|
||||
preference_to_string cheader_filename="meta/prefs.h"
|
||||
frame_type_to_string cheader_filename="meta/util.h"
|
||||
|
||||
CURRENT_TIME cheader_filename="meta/common.h"
|
||||
ICON_WIDTH cheader_filename="meta/common.h"
|
||||
ICON_HEIGHT cheader_filename="meta/common.h"
|
||||
MINI_ICON_WIDTH cheader_filename="meta/common.h"
|
||||
MINI_ICON_HEIGHT cheader_filename="meta/common.h"
|
||||
DEFAULT_ICON_NAME cheader_filename="meta/common.h"
|
||||
PRIORITY_RESIZE cheader_filename="meta/common.h"
|
||||
PRIORITY_BEFORE_REDRAW cheader_filename="meta/common.h"
|
||||
PRIORITY_REDRAW cheader_filename="meta/common.h"
|
||||
PRIORITY_PREFS_NOTIFY cheader_filename="meta/common.h"
|
||||
VIRTUAL_CORE_POINTER_ID cheader_filename="meta/common.h"
|
||||
VIRTUAL_CORE_KEYBOARD_ID cheader_filename="meta/common.h"
|
||||
|
||||
add_verbose_topic parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
bug parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
external_binding_name_for_action parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
fatal parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
get_locale_direction parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_syncing parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_verbose parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
is_wayland_compositor parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
later_add parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
later_remove parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
pop_no_msg_prefix parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
push_no_msg_prefix parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
remove_verbose_topic parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
show_dialog parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
show_dialog.columns type_arguments="string" nullable default=null
|
||||
show_dialog.entries type_arguments="string" nullable default=null
|
||||
show_dialog.transient_for default=0
|
||||
show_dialog.icon_name nullable default=null
|
||||
show_dialog.cancel_text nullable default=null
|
||||
show_dialog.ok_text nullable default=null
|
||||
show_dialog.display nullable default=null
|
||||
show_dialog.timeout nullable default=null
|
||||
topic_real parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
unsigned_long_equal parent="Meta.Util" name="ulong_equal" cheader_filename="meta/util.h"
|
||||
unsigned_long_equal.v1 type="ulong?"
|
||||
unsigned_long_equal.v2 type="ulong?"
|
||||
unsigned_long_hash parent="Meta.Util" name="ulong_hash" cheader_filename="meta/util.h"
|
||||
unsigned_long_hash.v type="ulong?"
|
||||
verbose_real parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
warning parent="Meta.Util" cheader_filename="meta/util.h"
|
||||
create_context parent="Meta.Context" name="new" symbol_type="constructor" cheader_filename="meta/meta-context.h"
|
||||
|
||||
x11_error_trap_pop parent="Meta.X11Display" symbol_type="method" name="error_trap_pop" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_error_trap_pop_with_return parent="Meta.X11Display" symbol_type="method" name="error_trap_pop_with_return" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_error_trap_push parent="Meta.X11Display" symbol_type="method" name="error_trap_push" instance_idx=0 cheader_filename="meta/meta-x11-errors.h"
|
||||
x11_init_gdk_display parent="Meta.X11Display" cheader_filename="meta/meta-x11-display.h"
|
@ -1 +1 @@
|
||||
libmutter-9.deps
|
||||
libmutter.deps
|
@ -1 +1 @@
|
||||
libmutter-9.vapi
|
||||
libmutter.vapi
|
@ -1 +0,0 @@
|
||||
libmutter.deps
|
@ -1 +0,0 @@
|
||||
libmutter.vapi
|
@ -1 +0,0 @@
|
||||
libmutter-6.deps
|
@ -1 +0,0 @@
|
||||
libmutter-6.vapi
|
@ -1 +0,0 @@
|
||||
libmutter-7.deps
|
@ -1 +0,0 @@
|
||||
libmutter-7.vapi
|
@ -1 +0,0 @@
|
||||
libmutter-8.deps
|
@ -1 +0,0 @@
|
||||
libmutter-8.vapi
|
@ -81,10 +81,6 @@ namespace Meta {
|
||||
public static unowned string get_workspace_name (int i);
|
||||
[CCode (cheader_filename = "meta/prefs.h")]
|
||||
public static bool get_workspaces_only_on_primary ();
|
||||
#if !HAS_MUTTER41
|
||||
[CCode (cheader_filename = "meta/prefs.h")]
|
||||
public static void init ();
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/prefs.h")]
|
||||
public static void remove_listener (Meta.PrefsChangedFunc func);
|
||||
[CCode (cheader_filename = "meta/prefs.h")]
|
||||
@ -99,20 +95,12 @@ namespace Meta {
|
||||
public static void add_verbose_topic (Meta.DebugTopic topic);
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_bug")]
|
||||
public static void bug (string format, ...);
|
||||
#if !HAS_MUTTER40
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_debug_spew_real")]
|
||||
public static void debug_spew_real (string format, ...);
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_external_binding_name_for_action")]
|
||||
public static string external_binding_name_for_action (uint keybinding_action);
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_fatal")]
|
||||
public static void fatal (string format, ...);
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_get_locale_direction")]
|
||||
public static Meta.LocaleDirection get_locale_direction ();
|
||||
#if !HAS_MUTTER40
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_is_debugging")]
|
||||
public static bool is_debugging ();
|
||||
#endif
|
||||
#if !HAS_MUTTER43
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_is_syncing")]
|
||||
public static bool is_syncing ();
|
||||
@ -131,28 +119,14 @@ namespace Meta {
|
||||
public static void push_no_msg_prefix ();
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_remove_verbose_topic")]
|
||||
public static void remove_verbose_topic (Meta.DebugTopic topic);
|
||||
#if !HAS_MUTTER41
|
||||
[CCode (cheader_filename = "meta/main.h", cname = "meta_set_gnome_wm_keybindings")]
|
||||
public static void set_gnome_wm_keybindings (string wm_keybindings);
|
||||
[CCode (cheader_filename = "meta/main.h", cname = "meta_set_wm_name")]
|
||||
public static void set_wm_name (string wm_name);
|
||||
#endif
|
||||
#if !HAS_MUTTER43
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_show_dialog")]
|
||||
public static GLib.Pid show_dialog (string type, string message, string? timeout = null, string? display = null, string? ok_text = null, string? cancel_text = null, string? icon_name = null, int transient_for = 0, GLib.SList<string>? columns = null, GLib.SList<string>? entries = null);
|
||||
#endif
|
||||
#if !HAS_MUTTER42
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_topic_real")]
|
||||
public static void topic_real (Meta.DebugTopic topic, string format, ...);
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_unsigned_long_equal")]
|
||||
public static int ulong_equal ([CCode (type = "gconstpointer")] ulong? v1, [CCode (type = "gconstpointer")] ulong? v2);
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_unsigned_long_hash")]
|
||||
public static uint ulong_hash ([CCode (type = "gconstpointer")] ulong? v);
|
||||
#if !HAS_MUTTER42
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_verbose_real")]
|
||||
public static void verbose_real (string format, ...);
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/util.h", cname = "meta_warning")]
|
||||
public static void warning (string format, ...);
|
||||
}
|
||||
@ -165,39 +139,26 @@ namespace Meta {
|
||||
#if HAS_MUTTER43
|
||||
public Meta.BackendCapabilities get_capabilities ();
|
||||
#endif
|
||||
#if HAS_MUTTER41
|
||||
public unowned Meta.Context get_context ();
|
||||
public unowned Meta.IdleMonitor get_core_idle_monitor ();
|
||||
#endif
|
||||
public unowned Meta.Dnd get_dnd ();
|
||||
#if HAS_MUTTER42
|
||||
public unowned Meta.MonitorManager get_monitor_manager ();
|
||||
#endif
|
||||
public unowned Meta.RemoteAccessController get_remote_access_controller ();
|
||||
public unowned Meta.Settings get_settings ();
|
||||
public unowned Clutter.Actor get_stage ();
|
||||
#if HAS_MUTTER42
|
||||
public bool is_headless ();
|
||||
#endif
|
||||
public bool is_rendering_hardware_accelerated ();
|
||||
public void lock_layout_group (uint idx);
|
||||
public void set_keymap (string layouts, string variants, string options);
|
||||
#if HAS_MUTTER43
|
||||
public Meta.BackendCapabilities capabilities { get; }
|
||||
#endif
|
||||
#if HAS_MUTTER41
|
||||
public Meta.Context context { get; construct; }
|
||||
#endif
|
||||
#if !HAS_MUTTER42
|
||||
public void set_numlock (bool numlock_state);
|
||||
#endif
|
||||
public signal void keymap_changed ();
|
||||
public signal void keymap_layout_group_changed (uint object);
|
||||
public signal void last_device_changed (Clutter.InputDevice object);
|
||||
public signal void lid_is_closed_changed (bool object);
|
||||
#if HAS_MUTTER40
|
||||
public signal void prepare_shutdown ();
|
||||
#endif
|
||||
}
|
||||
[CCode (cheader_filename = "meta/meta-background.h", type_id = "meta_background_get_type ()")]
|
||||
public sealed class Background : GLib.Object {
|
||||
@ -216,7 +177,6 @@ namespace Meta {
|
||||
public sealed class BackgroundActor : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
|
||||
[CCode (has_construct_function = false, type = "ClutterActor*")]
|
||||
public BackgroundActor (Meta.Display display, int monitor);
|
||||
#if HAS_MUTTER338
|
||||
[NoAccessorMethod]
|
||||
public Meta.Display meta_display { owned get; construct; }
|
||||
[NoAccessorMethod]
|
||||
@ -226,16 +186,10 @@ namespace Meta {
|
||||
public sealed class BackgroundContent : GLib.Object, Clutter.Content {
|
||||
[CCode (has_construct_function = false, type = "ClutterContent*")]
|
||||
public BackgroundContent (Meta.Display display, int monitor);
|
||||
#endif
|
||||
public void set_background (Meta.Background background);
|
||||
public void set_gradient (bool enabled, int height, double tone_start);
|
||||
#if !HAS_MUTTER338
|
||||
public void set_monitor (int monitor);
|
||||
#endif
|
||||
#if HAS_MUTTER40
|
||||
public void set_rounded_clip_bounds (Graphene.Rect? bounds);
|
||||
public void set_rounded_clip_radius (float radius);
|
||||
#endif
|
||||
public void set_vignette (bool enabled, double brightness, double sharpness);
|
||||
[NoAccessorMethod]
|
||||
public Meta.Background background { owned get; set; }
|
||||
@ -251,10 +205,8 @@ namespace Meta {
|
||||
public Meta.Display meta_display { owned get; construct; }
|
||||
[NoAccessorMethod]
|
||||
public int monitor { get; construct; }
|
||||
#if HAS_MUTTER40
|
||||
[NoAccessorMethod]
|
||||
public float rounded_clip_radius { get; set; }
|
||||
#endif
|
||||
[NoAccessorMethod]
|
||||
public bool vignette { get; set; }
|
||||
[NoAccessorMethod]
|
||||
@ -336,9 +288,7 @@ namespace Meta {
|
||||
public void destroy ();
|
||||
public bool filter_keybinding (Meta.KeyBinding binding);
|
||||
public void flash_display (Meta.Display display);
|
||||
#if HAS_MUTTER42
|
||||
public unowned Meta.Laters get_laters ();
|
||||
#endif
|
||||
public void hide_tile_preview ();
|
||||
public void hide_window (Meta.Window window, Meta.CompEffect effect);
|
||||
public void manage ();
|
||||
@ -356,14 +306,11 @@ namespace Meta {
|
||||
public void unmanage ();
|
||||
public void window_opacity_changed (Meta.Window window);
|
||||
public void window_shape_changed (Meta.Window window);
|
||||
#if HAS_MUTTER338
|
||||
[NoAccessorMethod]
|
||||
public Meta.Backend backend { owned get; construct; }
|
||||
#endif
|
||||
[NoAccessorMethod]
|
||||
public Meta.Display display { owned get; construct; }
|
||||
}
|
||||
#if HAS_MUTTER41
|
||||
[CCode (cheader_filename = "meta/meta-context.h", type_id = "meta_context_get_type ()")]
|
||||
public class Context : GLib.Object {
|
||||
[CCode (cheader_filename = "meta/meta-context.h", cname = "meta_create_context", has_construct_function = false)]
|
||||
@ -377,10 +324,8 @@ namespace Meta {
|
||||
public unowned Meta.Display get_display ();
|
||||
public bool is_replacing ();
|
||||
public void notify_ready ();
|
||||
#if HAS_MUTTER42
|
||||
public bool raise_rlimit_nofile () throws GLib.Error;
|
||||
public bool restore_rlimit_nofile () throws GLib.Error;
|
||||
#endif
|
||||
public bool run_main_loop () throws GLib.Error;
|
||||
public void set_gnome_wm_keybindings (string wm_keybindings);
|
||||
public void set_plugin_gtype (GLib.Type plugin_gtype);
|
||||
@ -391,38 +336,23 @@ namespace Meta {
|
||||
public void terminate_with_error (GLib.Error error);
|
||||
[NoAccessorMethod]
|
||||
public string name { owned get; construct; }
|
||||
#if HAS_MUTTER42
|
||||
[NoAccessorMethod]
|
||||
public bool unsafe_mode { get; set; }
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/meta-cursor-tracker.h", type_id = "meta_cursor_tracker_get_type ()")]
|
||||
public class CursorTracker : GLib.Object {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected CursorTracker ();
|
||||
public void get_hot (out int x, out int y);
|
||||
#if HAS_MUTTER40
|
||||
public void get_pointer (out Graphene.Point coords, out Clutter.ModifierType mods);
|
||||
#else
|
||||
public void get_pointer (out int x, out int y, out Clutter.ModifierType mods);
|
||||
#endif
|
||||
public bool get_pointer_visible ();
|
||||
#if HAS_MUTTER42
|
||||
public float get_scale ();
|
||||
#endif
|
||||
public unowned Cogl.Texture get_sprite ();
|
||||
public void set_pointer_visible (bool visible);
|
||||
#if HAS_MUTTER338
|
||||
[NoAccessorMethod]
|
||||
public Meta.Backend backend { owned get; construct; }
|
||||
#endif
|
||||
public signal void cursor_changed ();
|
||||
#if HAS_MUTTER40
|
||||
public signal void position_invalidated ();
|
||||
#else
|
||||
public signal void cursor_moved (float x, float y);
|
||||
#endif
|
||||
public signal void visibility_changed ();
|
||||
}
|
||||
[CCode (cheader_filename = "meta/display.h", type_id = "meta_display_get_type ()")]
|
||||
@ -444,12 +374,8 @@ namespace Meta {
|
||||
public void focus_stage_window (uint32 timestamp);
|
||||
public void freeze_keyboard (uint32 timestamp);
|
||||
public unowned Meta.Compositor get_compositor ();
|
||||
#if HAS_MUTTER40
|
||||
public Clutter.ModifierType get_compositor_modifiers ();
|
||||
#endif
|
||||
#if HAS_MUTTER41
|
||||
public unowned Meta.Context get_context ();
|
||||
#endif
|
||||
public int get_current_monitor ();
|
||||
public uint32 get_current_time ();
|
||||
public uint32 get_current_time_roundtrip ();
|
||||
@ -469,9 +395,7 @@ namespace Meta {
|
||||
public int get_n_monitors ();
|
||||
public string get_pad_action_label (Clutter.InputDevice pad, Meta.PadActionType action_type, uint action_number);
|
||||
public int get_primary_monitor ();
|
||||
#if HAS_MUTTER40
|
||||
public unowned Meta.Selection get_selection ();
|
||||
#endif
|
||||
public void get_size (out int width, out int height);
|
||||
public unowned Meta.SoundPlayer get_sound_player ();
|
||||
[CCode (cheader_filename = "meta/compositor-mutter.h", cname = "meta_get_stage_for_display")]
|
||||
@ -490,9 +414,7 @@ namespace Meta {
|
||||
public unowned Meta.X11Display get_x11_display ();
|
||||
public uint grab_accelerator (string accelerator, Meta.KeyBindingFlags flags);
|
||||
public bool is_pointer_emulating_sequence (Clutter.EventSequence? sequence);
|
||||
#if HAS_MUTTER42
|
||||
public GLib.List<weak Meta.Window> list_all_windows ();
|
||||
#endif
|
||||
public bool remove_keybinding (string name);
|
||||
public void request_pad_osd (Clutter.InputDevice pad, bool edition_mode);
|
||||
public void set_cursor (Meta.Cursor cursor);
|
||||
@ -506,21 +428,14 @@ namespace Meta {
|
||||
public void ungrab_keyboard (uint32 timestamp);
|
||||
public void unset_input_focus (uint32 timestamp);
|
||||
public bool xserver_time_is_before (uint32 time1, uint32 time2);
|
||||
#if HAS_MUTTER40
|
||||
public Clutter.ModifierType compositor_modifiers { get; }
|
||||
#endif
|
||||
public Meta.Window focus_window { get; }
|
||||
public signal void accelerator_activated (uint object, Clutter.InputDevice p0, uint p1);
|
||||
public signal void closing ();
|
||||
public signal void cursor_updated ();
|
||||
public signal void gl_video_memory_purged ();
|
||||
#if HAS_MUTTER40
|
||||
public signal void grab_op_begin (Meta.Window object, Meta.GrabOp p0);
|
||||
public signal void grab_op_end (Meta.Window object, Meta.GrabOp p0);
|
||||
#else
|
||||
public signal void grab_op_begin (Meta.Display object, Meta.Window p0, Meta.GrabOp p1);
|
||||
public signal void grab_op_end (Meta.Display object, Meta.Window p0, Meta.GrabOp p1);
|
||||
#endif
|
||||
public signal void in_fullscreen_changed ();
|
||||
public signal bool init_xserver (GLib.Task object);
|
||||
public signal bool modifiers_accelerator_activated ();
|
||||
@ -538,9 +453,7 @@ namespace Meta {
|
||||
public signal void window_entered_monitor (int object, Meta.Window p0);
|
||||
public signal void window_left_monitor (int object, Meta.Window p0);
|
||||
public signal void window_marked_urgent (Meta.Window object);
|
||||
#if HAS_MUTTER42
|
||||
public signal void window_visibility_updated ([CCode (type = "gpointer")] GLib.List<weak Meta.Window> unplaced, [CCode (type = "gpointer")] GLib.List<weak Meta.Window> should_show, [CCode (type = "gpointer")] GLib.List<weak Meta.Window> should_hide);
|
||||
#endif
|
||||
public signal void workareas_changed ();
|
||||
public signal void x11_display_closing ();
|
||||
public signal void x11_display_opened ();
|
||||
@ -573,9 +486,6 @@ namespace Meta {
|
||||
protected IdleMonitor ();
|
||||
public uint add_idle_watch (uint64 interval_msec, owned Meta.IdleMonitorWatchFunc? callback);
|
||||
public uint add_user_active_watch (owned Meta.IdleMonitorWatchFunc? callback);
|
||||
#if !HAS_MUTTER41
|
||||
public static unowned Meta.IdleMonitor get_core ();
|
||||
#endif
|
||||
public int64 get_idletime ();
|
||||
public void remove_watch (uint id);
|
||||
[NoAccessorMethod]
|
||||
@ -592,14 +502,12 @@ namespace Meta {
|
||||
[CCode (cheader_filename = "meta/keybindings.h", cname = "meta_keybindings_set_custom_handler")]
|
||||
public static bool set_custom_handler (string name, owned Meta.KeyHandlerFunc? handler);
|
||||
}
|
||||
#if HAS_MUTTER42
|
||||
[CCode (cheader_filename = "meta/types.h", has_type_id = false)]
|
||||
[Compact]
|
||||
public class Laters {
|
||||
public uint add (Meta.LaterType when, owned GLib.SourceFunc func);
|
||||
public void remove (uint later_id);
|
||||
}
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/meta-launch-context.h", type_id = "meta_launch_context_get_type ()")]
|
||||
public sealed class LaunchContext : GLib.AppLaunchContext {
|
||||
[CCode (has_construct_function = false)]
|
||||
@ -622,24 +530,18 @@ namespace Meta {
|
||||
public static int get_display_configuration_timeout ();
|
||||
public bool get_is_builtin_display_on ();
|
||||
public int get_monitor_for_connector (string connector);
|
||||
#if HAS_MUTTER338
|
||||
public bool get_panel_orientation_managed ();
|
||||
#endif
|
||||
public Meta.MonitorSwitchConfigType get_switch_config ();
|
||||
public void switch_config (Meta.MonitorSwitchConfigType config_type);
|
||||
[NoAccessorMethod]
|
||||
public Meta.Backend backend { owned get; construct; }
|
||||
#if HAS_MUTTER42
|
||||
[NoAccessorMethod]
|
||||
public bool has_builtin_panel { get; }
|
||||
#endif
|
||||
#if HAS_MUTTER43
|
||||
[NoAccessorMethod]
|
||||
public bool night_light_supported { get; }
|
||||
#endif
|
||||
#if HAS_MUTTER338
|
||||
public bool panel_orientation_managed { get; }
|
||||
#endif
|
||||
public signal void confirm_display_change ();
|
||||
public signal void monitors_changed ();
|
||||
public signal void monitors_changed_internal ();
|
||||
@ -649,9 +551,6 @@ namespace Meta {
|
||||
public abstract class Plugin : GLib.Object {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected Plugin ();
|
||||
#if !HAS_MUTTER42
|
||||
public bool begin_modal (Meta.ModalOptions options, uint32 timestamp);
|
||||
#endif
|
||||
public void complete_display_change (bool ok);
|
||||
[NoWrapper]
|
||||
public virtual void confirm_display_change ();
|
||||
@ -662,9 +561,6 @@ namespace Meta {
|
||||
[NoWrapper]
|
||||
public virtual void destroy (Meta.WindowActor actor);
|
||||
public void destroy_completed (Meta.WindowActor actor);
|
||||
#if !HAS_MUTTER42
|
||||
public void end_modal (uint32 timestamp);
|
||||
#endif
|
||||
public unowned Meta.Display get_display ();
|
||||
public unowned Meta.PluginInfo? get_info ();
|
||||
[NoWrapper]
|
||||
@ -712,10 +608,8 @@ namespace Meta {
|
||||
public sealed class RemoteAccessController : GLib.Object {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected RemoteAccessController ();
|
||||
#if HAS_MUTTER338
|
||||
public void inhibit_remote_access ();
|
||||
public void uninhibit_remote_access ();
|
||||
#endif
|
||||
public signal void new_handle (Meta.RemoteAccessHandle object);
|
||||
}
|
||||
[CCode (cheader_filename = "meta/meta-remote-access-controller.h", type_id = "meta_remote_access_handle_get_type ()")]
|
||||
@ -724,10 +618,8 @@ namespace Meta {
|
||||
protected RemoteAccessHandle ();
|
||||
public bool get_disable_animations ();
|
||||
public virtual void stop ();
|
||||
#if HAS_MUTTER338
|
||||
[NoAccessorMethod]
|
||||
public bool is_recording { get; construct; }
|
||||
#endif
|
||||
public signal void stopped ();
|
||||
}
|
||||
[CCode (cheader_filename = "meta/meta-selection.h", type_id = "meta_selection_get_type ()")]
|
||||
@ -787,9 +679,6 @@ namespace Meta {
|
||||
public unowned Cogl.Texture get_texture ();
|
||||
public void set_create_mipmaps (bool create_mipmaps);
|
||||
public void set_mask_texture (Cogl.Texture mask_texture);
|
||||
#if !HAS_MUTTER40
|
||||
public void set_opaque_region (owned Cairo.Region opaque_region);
|
||||
#endif
|
||||
public signal void size_changed ();
|
||||
}
|
||||
[CCode (cheader_filename = "meta/meta-sound-player.h", type_id = "meta_sound_player_get_type ()")]
|
||||
@ -836,9 +725,7 @@ namespace Meta {
|
||||
public int workspace { get; construct; }
|
||||
[HasEmitter]
|
||||
public signal void complete ();
|
||||
#if HAS_MUTTER41
|
||||
public signal void timeout ();
|
||||
#endif
|
||||
}
|
||||
[CCode (cheader_filename = "meta/theme.h", has_type_id = false)]
|
||||
[Compact]
|
||||
@ -849,7 +736,6 @@ namespace Meta {
|
||||
[CCode (cheader_filename = "meta/theme.h")]
|
||||
public static unowned Meta.Theme @new ();
|
||||
}
|
||||
#if HAS_MUTTER338
|
||||
[CCode (cheader_filename = "meta/meta-wayland-client.h", type_id = "meta_wayland_client_get_type ()")]
|
||||
public sealed class WaylandClient : GLib.Object {
|
||||
[CCode (has_construct_function = false)]
|
||||
@ -860,7 +746,6 @@ namespace Meta {
|
||||
public GLib.Subprocess spawn (Meta.Display display, GLib.Error? error, string argv0, ...);
|
||||
public GLib.Subprocess spawnv (Meta.Display display, [CCode (array_length = false, array_null_terminated = true)] string[] argv) throws GLib.Error;
|
||||
}
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/window.h", type_id = "meta_window_get_type ()")]
|
||||
public abstract class Window : GLib.Object {
|
||||
[CCode (has_construct_function = false)]
|
||||
@ -927,9 +812,7 @@ namespace Meta {
|
||||
public unowned Meta.Workspace get_workspace ();
|
||||
public X.Window get_xwindow ();
|
||||
public void group_leader_changed ();
|
||||
#if HAS_MUTTER42
|
||||
public bool has_attached_dialogs ();
|
||||
#endif
|
||||
public bool has_focus ();
|
||||
public bool is_above ();
|
||||
public bool is_always_on_all_workspaces ();
|
||||
@ -949,9 +832,7 @@ namespace Meta {
|
||||
public void kill ();
|
||||
public bool located_on_workspace (Meta.Workspace workspace);
|
||||
public void lower ();
|
||||
#if HAS_MUTTER41
|
||||
public void lower_with_transients (uint32 timestamp);
|
||||
#endif
|
||||
public void make_above ();
|
||||
public void make_fullscreen ();
|
||||
public void maximize (Meta.MaximizeFlags directions);
|
||||
@ -960,10 +841,6 @@ namespace Meta {
|
||||
public void move_resize_frame (bool user_op, int root_x_nw, int root_y_nw, int w, int h);
|
||||
public void move_to_monitor (int monitor);
|
||||
public void raise ();
|
||||
#if !HAS_MUTTER338
|
||||
public bool requested_bypass_compositor ();
|
||||
public bool requested_dont_bypass_compositor ();
|
||||
#endif
|
||||
public void set_compositor_private (GLib.Object priv);
|
||||
public void set_demands_attention ();
|
||||
public void set_icon_geometry (Meta.Rectangle? rect);
|
||||
@ -998,10 +875,8 @@ namespace Meta {
|
||||
public string gtk_window_object_path { get; }
|
||||
[NoAccessorMethod]
|
||||
public Cairo.Surface icon { owned get; }
|
||||
#if HAS_MUTTER42
|
||||
[NoAccessorMethod]
|
||||
public bool is_alive { get; }
|
||||
#endif
|
||||
[NoAccessorMethod]
|
||||
public bool maximized_horizontally { get; }
|
||||
[NoAccessorMethod]
|
||||
@ -1025,9 +900,6 @@ namespace Meta {
|
||||
public string wm_class { get; }
|
||||
[CCode (cname = "focus")]
|
||||
public signal void focused ();
|
||||
#if !HAS_MUTTER338
|
||||
public signal void monitor_changed (int old_monitor);
|
||||
#endif
|
||||
public signal void position_changed ();
|
||||
public signal void raised ();
|
||||
public signal void shown ();
|
||||
@ -1040,27 +912,15 @@ namespace Meta {
|
||||
public abstract class WindowActor : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected WindowActor ();
|
||||
#if HAS_MUTTER338
|
||||
public void freeze ();
|
||||
#endif
|
||||
public Cairo.Surface? get_image (Cairo.RectangleInt? clip);
|
||||
public unowned Meta.Window get_meta_window ();
|
||||
public unowned Meta.ShapedTexture get_texture ();
|
||||
public bool is_destroyed ();
|
||||
#if HAS_MUTTER42
|
||||
public Clutter.Content? paint_to_content (Meta.Rectangle? clip) throws GLib.Error;
|
||||
#endif
|
||||
public void sync_visibility ();
|
||||
#if HAS_MUTTER338
|
||||
public void thaw ();
|
||||
#endif
|
||||
public Meta.Window meta_window { get; construct; }
|
||||
#if !HAS_MUTTER338
|
||||
[NoAccessorMethod]
|
||||
public string shadow_class { owned get; set; }
|
||||
[NoAccessorMethod]
|
||||
public Meta.ShadowMode shadow_mode { get; set; }
|
||||
#endif
|
||||
public signal void damaged ();
|
||||
public signal void effects_completed ();
|
||||
public signal void first_frame ();
|
||||
@ -1096,10 +956,8 @@ namespace Meta {
|
||||
public int index ();
|
||||
public GLib.List<weak Meta.Window> list_windows ();
|
||||
public void set_builtin_struts (GLib.SList<Meta.Strut?> struts);
|
||||
#if HAS_MUTTER338
|
||||
[NoAccessorMethod]
|
||||
public bool active { get; }
|
||||
#endif
|
||||
[NoAccessorMethod]
|
||||
public uint n_windows { get; }
|
||||
[NoAccessorMethod]
|
||||
@ -1209,15 +1067,6 @@ namespace Meta {
|
||||
public weak string license;
|
||||
public weak string description;
|
||||
}
|
||||
#if !HAS_MUTTER40
|
||||
[CCode (cheader_filename = "meta/meta-plugin.h", has_type_id = false)]
|
||||
public struct PluginVersion {
|
||||
public uint version_major;
|
||||
public uint version_minor;
|
||||
public uint version_micro;
|
||||
public uint version_api;
|
||||
}
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/boxes.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "meta_rectangle_get_type ()")]
|
||||
public struct Rectangle {
|
||||
public int x;
|
||||
@ -1286,13 +1135,11 @@ namespace Meta {
|
||||
MINIMIZE,
|
||||
NONE
|
||||
}
|
||||
#if HAS_MUTTER41
|
||||
[CCode (cheader_filename = "meta/meta-enums.h", cprefix = "META_COMPOSITOR_TYPE_", type_id = "meta_compositor_type_get_type ()")]
|
||||
public enum CompositorType {
|
||||
WAYLAND,
|
||||
X11
|
||||
}
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/common.h", cprefix = "META_CURSOR_", type_id = "meta_cursor_get_type ()")]
|
||||
public enum Cursor {
|
||||
NONE,
|
||||
@ -1314,19 +1161,15 @@ namespace Meta {
|
||||
POINTING_HAND,
|
||||
CROSSHAIR,
|
||||
IBEAM,
|
||||
#if HAS_MUTTER338
|
||||
BLANK,
|
||||
#endif
|
||||
LAST
|
||||
}
|
||||
#if HAS_MUTTER338
|
||||
[CCode (cheader_filename = "meta/util.h", cprefix = "META_DEBUG_PAINT_", type_id = "meta_debug_paint_flag_get_type ()")]
|
||||
[Flags]
|
||||
public enum DebugPaintFlag {
|
||||
NONE,
|
||||
OPAQUE_REGION
|
||||
}
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/util.h", cprefix = "META_DEBUG_", type_id = "meta_debug_topic_get_type ()")]
|
||||
[Flags]
|
||||
public enum DebugTopic {
|
||||
@ -1334,9 +1177,6 @@ namespace Meta {
|
||||
FOCUS,
|
||||
WORKAREA,
|
||||
STACK,
|
||||
#if !HAS_MUTTER40
|
||||
THEMES,
|
||||
#endif
|
||||
SM,
|
||||
EVENTS,
|
||||
WINDOW_STATE,
|
||||
@ -1344,34 +1184,21 @@ namespace Meta {
|
||||
GEOMETRY,
|
||||
PLACEMENT,
|
||||
PING,
|
||||
#if !HAS_MUTTER40
|
||||
XINERAMA,
|
||||
#endif
|
||||
KEYBINDINGS,
|
||||
SYNC,
|
||||
#if !HAS_MUTTER40
|
||||
ERRORS,
|
||||
#endif
|
||||
STARTUP,
|
||||
PREFS,
|
||||
GROUPS,
|
||||
RESIZING,
|
||||
SHAPES,
|
||||
#if !HAS_MUTTER40
|
||||
COMPOSITOR,
|
||||
#endif
|
||||
EDGE_RESISTANCE,
|
||||
INPUT,
|
||||
#if HAS_MUTTER40
|
||||
WAYLAND,
|
||||
KMS,
|
||||
SCREEN_CAST,
|
||||
REMOTE_DESKTOP,
|
||||
#endif
|
||||
#if HAS_MUTTER42
|
||||
BACKEND,
|
||||
RENDER,
|
||||
#endif
|
||||
#if HAS_MUTTER43
|
||||
COLOR,
|
||||
#endif
|
||||
@ -1453,9 +1280,6 @@ namespace Meta {
|
||||
public enum GrabOp {
|
||||
NONE,
|
||||
WINDOW_BASE,
|
||||
#if !HAS_MUTTER42
|
||||
COMPOSITOR,
|
||||
#endif
|
||||
WAYLAND_POPUP,
|
||||
FRAME_BUTTON,
|
||||
MOVING,
|
||||
@ -1534,9 +1358,6 @@ namespace Meta {
|
||||
CYCLE_PANELS,
|
||||
CYCLE_PANELS_BACKWARD,
|
||||
SHOW_DESKTOP,
|
||||
#if !HAS_MUTTER42
|
||||
PANEL_MAIN_MENU,
|
||||
#endif
|
||||
PANEL_RUN_DIALOG,
|
||||
TOGGLE_RECORDING,
|
||||
SET_SPEW_MARK,
|
||||
@ -1649,14 +1470,6 @@ namespace Meta {
|
||||
VERTICAL,
|
||||
BOTH
|
||||
}
|
||||
#if !HAS_MUTTER42
|
||||
[CCode (cheader_filename = "meta/meta-plugin.h", cprefix = "META_MODAL_", type_id = "meta_modal_options_get_type ()")]
|
||||
[Flags]
|
||||
public enum ModalOptions {
|
||||
POINTER_ALREADY_GRABBED,
|
||||
KEYBOARD_ALREADY_GRABBED
|
||||
}
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/meta-monitor-manager.h", cprefix = "META_MONITOR_SWITCH_CONFIG_", type_id = "meta_monitor_switch_config_type_get_type ()")]
|
||||
public enum MonitorSwitchConfigType {
|
||||
ALL_MIRROR,
|
||||
@ -1833,22 +1646,10 @@ namespace Meta {
|
||||
public const int ICON_HEIGHT;
|
||||
[CCode (cheader_filename = "meta/common.h", cname = "META_ICON_WIDTH")]
|
||||
public const int ICON_WIDTH;
|
||||
#if !HAS_MUTTER40
|
||||
[CCode (cheader_filename = "meta/meta-version.h", cname = "META_MAJOR_VERSION")]
|
||||
public const int MAJOR_VERSION;
|
||||
[CCode (cheader_filename = "meta/meta-version.h", cname = "META_MICRO_VERSION")]
|
||||
public const int MICRO_VERSION;
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/common.h", cname = "META_MINI_ICON_HEIGHT")]
|
||||
public const int MINI_ICON_HEIGHT;
|
||||
[CCode (cheader_filename = "meta/common.h", cname = "META_MINI_ICON_WIDTH")]
|
||||
public const int MINI_ICON_WIDTH;
|
||||
#if !HAS_MUTTER40
|
||||
[CCode (cheader_filename = "meta/meta-version.h", cname = "META_MINOR_VERSION")]
|
||||
public const int MINOR_VERSION;
|
||||
[CCode (cheader_filename = "meta/meta-version.h", cname = "META_PLUGIN_API_VERSION")]
|
||||
public const int PLUGIN_API_VERSION;
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/common.h", cname = "META_PRIORITY_BEFORE_REDRAW")]
|
||||
public const int PRIORITY_BEFORE_REDRAW;
|
||||
[CCode (cheader_filename = "meta/common.h", cname = "META_PRIORITY_PREFS_NOTIFY")]
|
||||
@ -1861,76 +1662,28 @@ namespace Meta {
|
||||
public const int VIRTUAL_CORE_KEYBOARD_ID;
|
||||
[CCode (cheader_filename = "meta/common.h", cname = "META_VIRTUAL_CORE_POINTER_ID")]
|
||||
public const int VIRTUAL_CORE_POINTER_ID;
|
||||
#if !HAS_MUTTER40
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static bool activate_session ();
|
||||
#endif
|
||||
#if HAS_MUTTER338
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void add_clutter_debug_flags (Clutter.DebugFlag debug_flags, Clutter.DrawDebugFlag draw_flags, Clutter.PickDebugFlag pick_flags);
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void add_debug_paint_flag (Meta.DebugPaintFlag flag);
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void clutter_init ();
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void exit (Meta.ExitCode code);
|
||||
#if !HAS_MUTTER41
|
||||
#if HAS_MUTTER40
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void finalize ();
|
||||
#endif
|
||||
#endif
|
||||
#if HAS_MUTTER338
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static Meta.DebugPaintFlag get_debug_paint_flags ();
|
||||
#endif
|
||||
#if !HAS_MUTTER41
|
||||
#if HAS_MUTTER40
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static Meta.ExitCode get_exit_code ();
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static unowned GLib.OptionContext get_option_context ();
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static bool get_replace_current_wm ();
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void init ();
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static bool is_restart ();
|
||||
#if HAS_MUTTER40
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static bool is_topic_enabled (Meta.DebugTopic topic);
|
||||
#endif
|
||||
#if !HAS_MUTTER41
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void quit (Meta.ExitCode code);
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void register_with_session ();
|
||||
#endif
|
||||
#if HAS_MUTTER338
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void remove_clutter_debug_flags (Clutter.DebugFlag debug_flags, Clutter.DrawDebugFlag draw_flags, Clutter.PickDebugFlag pick_flags);
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void remove_debug_paint_flag (Meta.DebugPaintFlag flag);
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
#if HAS_MUTTER43
|
||||
public static void restart (string? message, Meta.Context context);
|
||||
#else
|
||||
public static void restart (string? message);
|
||||
#endif
|
||||
#if !HAS_MUTTER41
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static int run ();
|
||||
#if HAS_MUTTER40
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void run_main_loop ();
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void start ();
|
||||
#endif
|
||||
[CCode (cheader_filename = "meta/main.h")]
|
||||
public static void test_init ();
|
||||
#endif
|
||||
}
|
||||
|
280
vapi/meson.build
280
vapi/meson.build
@ -6,286 +6,6 @@ vapigen_args = [
|
||||
'--vapidir=@0@'.format(meson.current_source_dir()),
|
||||
]
|
||||
|
||||
if mutter336_dep.found()
|
||||
cogl_target = custom_target('mutter-cogl-6',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Cogl-6.gir',
|
||||
'--library=mutter-cogl-6',
|
||||
'--pkg=mutter-cogl-path-6',
|
||||
'--pkg=gobject-2.0',
|
||||
'--pkg=cairo',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
vapigen_args,
|
||||
files('Cogl-6-custom.vala')
|
||||
],
|
||||
output: 'mutter-cogl-6.vapi'
|
||||
)
|
||||
|
||||
cogl_pango_target = custom_target('mutter-cogl-pango-6',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'CoglPango-6.gir',
|
||||
'--library=mutter-cogl-pango-6',
|
||||
'--pkg=mutter-cogl-path-6',
|
||||
'--pkg=mutter-cogl-6',
|
||||
'--pkg=pangocairo',
|
||||
vapigen_args
|
||||
],
|
||||
depends: cogl_target,
|
||||
output: 'mutter-cogl-pango-6.vapi'
|
||||
)
|
||||
|
||||
clutter_target = custom_target('mutter-clutter-6',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Clutter-6.gir',
|
||||
'--library=mutter-clutter-6',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
'--pkg=mutter-cogl-6',
|
||||
'--pkg=mutter-cogl-pango-6',
|
||||
'--pkg=mutter-cogl-path-6',
|
||||
'--pkg=atk',
|
||||
'--pkg=gio-2.0',
|
||||
'--pkg=json-glib-1.0',
|
||||
'--pkg=pangocairo',
|
||||
vapigen_args,
|
||||
files('Clutter-6-custom.vala')
|
||||
],
|
||||
depends: [ cogl_target, cogl_pango_target ],
|
||||
output: 'mutter-clutter-6.vapi'
|
||||
)
|
||||
|
||||
libmutter_target = custom_target('libmutter-6',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Meta-6.gir',
|
||||
'--library=libmutter-6',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
'--pkg=mutter-cogl-6',
|
||||
'--pkg=mutter-cogl-pango-6',
|
||||
'--pkg=mutter-cogl-path-6',
|
||||
'--pkg=mutter-clutter-6',
|
||||
'--pkg=atk',
|
||||
'--pkg=gio-2.0',
|
||||
'--pkg=json-glib-1.0',
|
||||
'--pkg=pangocairo',
|
||||
'--pkg=gtk+-3.0',
|
||||
'--pkg=x11',
|
||||
'--pkg=xfixes-4.0',
|
||||
vapigen_args
|
||||
],
|
||||
depends: [ cogl_target, cogl_pango_target, clutter_target ],
|
||||
output: 'libmutter-6.vapi'
|
||||
)
|
||||
endif
|
||||
if mutter338_dep.found()
|
||||
cogl_target = custom_target('mutter-cogl-7',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Cogl-7.gir',
|
||||
'--library=mutter-cogl-7',
|
||||
'--pkg=gobject-2.0',
|
||||
'--pkg=cairo',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
vapigen_args,
|
||||
files('Cogl-7-custom.vala')
|
||||
],
|
||||
output: 'mutter-cogl-7.vapi'
|
||||
)
|
||||
|
||||
cogl_pango_target = custom_target('mutter-cogl-pango-7',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'CoglPango-7.gir',
|
||||
'--library=mutter-cogl-pango-7',
|
||||
'--pkg=mutter-cogl-7',
|
||||
'--pkg=pangocairo',
|
||||
vapigen_args
|
||||
],
|
||||
depends: cogl_target,
|
||||
output: 'mutter-cogl-pango-7.vapi'
|
||||
)
|
||||
|
||||
clutter_target = custom_target('mutter-clutter-7',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Clutter-7.gir',
|
||||
'--library=mutter-clutter-7',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
'--pkg=mutter-cogl-7',
|
||||
'--pkg=mutter-cogl-pango-7',
|
||||
'--pkg=atk',
|
||||
'--pkg=gio-2.0',
|
||||
'--pkg=json-glib-1.0',
|
||||
'--pkg=pangocairo',
|
||||
vapigen_args,
|
||||
files('Clutter-7-custom.vala')
|
||||
],
|
||||
depends: [ cogl_target, cogl_pango_target ],
|
||||
output: 'mutter-clutter-7.vapi'
|
||||
)
|
||||
|
||||
libmutter_target = custom_target('libmutter-7',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Meta-7.gir',
|
||||
'--library=libmutter-7',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
'--pkg=mutter-cogl-7',
|
||||
'--pkg=mutter-cogl-pango-7',
|
||||
'--pkg=mutter-clutter-7',
|
||||
'--pkg=atk',
|
||||
'--pkg=gio-2.0',
|
||||
'--pkg=json-glib-1.0',
|
||||
'--pkg=pangocairo',
|
||||
'--pkg=gtk+-3.0',
|
||||
'--pkg=x11',
|
||||
'--pkg=xfixes-4.0',
|
||||
vapigen_args
|
||||
],
|
||||
depends: [ cogl_target, cogl_pango_target, clutter_target ],
|
||||
output: 'libmutter-7.vapi'
|
||||
)
|
||||
endif
|
||||
if mutter40_dep.found()
|
||||
cogl_target = custom_target('mutter-cogl-8',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Cogl-8.gir',
|
||||
'--library=mutter-cogl-8',
|
||||
'--pkg=gobject-2.0',
|
||||
'--pkg=cairo',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
vapigen_args,
|
||||
files('Cogl-8-custom.vala')
|
||||
],
|
||||
output: 'mutter-cogl-8.vapi'
|
||||
)
|
||||
|
||||
cogl_pango_target = custom_target('mutter-cogl-pango-8',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'CoglPango-8.gir',
|
||||
'--library=mutter-cogl-pango-8',
|
||||
'--pkg=mutter-cogl-8',
|
||||
'--pkg=pangocairo',
|
||||
vapigen_args
|
||||
],
|
||||
depends: cogl_target,
|
||||
output: 'mutter-cogl-pango-8.vapi'
|
||||
)
|
||||
|
||||
clutter_target = custom_target('mutter-clutter-8',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Clutter-8.gir',
|
||||
'--library=mutter-clutter-8',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
'--pkg=mutter-cogl-8',
|
||||
'--pkg=mutter-cogl-pango-8',
|
||||
'--pkg=atk',
|
||||
'--pkg=gio-2.0',
|
||||
'--pkg=json-glib-1.0',
|
||||
'--pkg=pangocairo',
|
||||
vapigen_args,
|
||||
files('Clutter-8-custom.vala')
|
||||
],
|
||||
depends: [ cogl_target, cogl_pango_target ],
|
||||
output: 'mutter-clutter-8.vapi'
|
||||
)
|
||||
|
||||
libmutter_target = custom_target('libmutter-8',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Meta-8.gir',
|
||||
'--library=libmutter-8',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
'--pkg=mutter-cogl-8',
|
||||
'--pkg=mutter-cogl-pango-8',
|
||||
'--pkg=mutter-clutter-8',
|
||||
'--pkg=atk',
|
||||
'--pkg=gio-2.0',
|
||||
'--pkg=json-glib-1.0',
|
||||
'--pkg=pangocairo',
|
||||
'--pkg=gtk+-3.0',
|
||||
'--pkg=x11',
|
||||
'--pkg=xfixes-4.0',
|
||||
vapigen_args
|
||||
],
|
||||
depends: [ cogl_target, cogl_pango_target, clutter_target ],
|
||||
output: 'libmutter-8.vapi'
|
||||
)
|
||||
endif
|
||||
if mutter41_dep.found()
|
||||
cogl_target = custom_target('mutter-cogl-9',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Cogl-9.gir',
|
||||
'--library=mutter-cogl-9',
|
||||
'--pkg=gobject-2.0',
|
||||
'--pkg=cairo',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
vapigen_args,
|
||||
files('Cogl-9-custom.vala')
|
||||
],
|
||||
output: 'mutter-cogl-9.vapi'
|
||||
)
|
||||
|
||||
cogl_pango_target = custom_target('mutter-cogl-pango-9',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'CoglPango-9.gir',
|
||||
'--library=mutter-cogl-pango-9',
|
||||
'--pkg=mutter-cogl-9',
|
||||
'--pkg=pangocairo',
|
||||
vapigen_args
|
||||
],
|
||||
depends: cogl_target,
|
||||
output: 'mutter-cogl-pango-9.vapi'
|
||||
)
|
||||
|
||||
clutter_target = custom_target('mutter-clutter-9',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Clutter-9.gir',
|
||||
'--library=mutter-clutter-9',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
'--pkg=mutter-cogl-9',
|
||||
'--pkg=mutter-cogl-pango-9',
|
||||
'--pkg=atk',
|
||||
'--pkg=gio-2.0',
|
||||
'--pkg=json-glib-1.0',
|
||||
'--pkg=pangocairo',
|
||||
vapigen_args,
|
||||
files('Clutter-9-custom.vala')
|
||||
],
|
||||
depends: [ cogl_target, cogl_pango_target ],
|
||||
output: 'mutter-clutter-9.vapi'
|
||||
)
|
||||
|
||||
libmutter_target = custom_target('libmutter-9',
|
||||
command: [
|
||||
vapigen,
|
||||
mutter_typelib_dir / 'Meta-9.gir',
|
||||
'--library=libmutter-9',
|
||||
'--pkg=graphene-gobject-1.0',
|
||||
'--pkg=mutter-cogl-9',
|
||||
'--pkg=mutter-cogl-pango-9',
|
||||
'--pkg=mutter-clutter-9',
|
||||
'--pkg=atk',
|
||||
'--pkg=gio-2.0',
|
||||
'--pkg=json-glib-1.0',
|
||||
'--pkg=pangocairo',
|
||||
'--pkg=gtk+-3.0',
|
||||
'--pkg=x11',
|
||||
'--pkg=xfixes-4.0',
|
||||
vapigen_args
|
||||
],
|
||||
depends: [ cogl_target, cogl_pango_target, clutter_target ],
|
||||
output: 'libmutter-9.vapi'
|
||||
)
|
||||
endif
|
||||
if mutter42_dep.found()
|
||||
cogl_target = custom_target('mutter-cogl-10',
|
||||
command: [
|
||||
|
@ -1 +1 @@
|
||||
mutter-clutter-9.vapi
|
||||
mutter-clutter.vapi
|
@ -1,6 +0,0 @@
|
||||
atk
|
||||
cairo
|
||||
pango
|
||||
json-glib-1.0
|
||||
mutter-cogl-6
|
||||
graphene-gobject-1.0
|
@ -1 +0,0 @@
|
||||
mutter-clutter.vapi
|
@ -1,6 +0,0 @@
|
||||
atk
|
||||
cairo
|
||||
pango
|
||||
json-glib-1.0
|
||||
mutter-cogl-7
|
||||
graphene-gobject-1.0
|
@ -1 +0,0 @@
|
||||
mutter-clutter-6.vapi
|
@ -1,6 +0,0 @@
|
||||
atk
|
||||
cairo
|
||||
pango
|
||||
json-glib-1.0
|
||||
mutter-cogl-8
|
||||
graphene-gobject-1.0
|
@ -1 +0,0 @@
|
||||
mutter-clutter-7.vapi
|
@ -1,6 +0,0 @@
|
||||
atk
|
||||
cairo
|
||||
pango
|
||||
json-glib-1.0
|
||||
mutter-cogl-9
|
||||
graphene-gobject-1.0
|
@ -1 +0,0 @@
|
||||
mutter-clutter-8.vapi
|
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
mutter-cogl-9.deps
|
3
vapi/mutter-cogl-10.deps
Normal file
3
vapi/mutter-cogl-10.deps
Normal file
@ -0,0 +1,3 @@
|
||||
pango
|
||||
glib-2.0
|
||||
gio-2.0
|
@ -1 +0,0 @@
|
||||
mutter-cogl-9.vapi
|
1131
vapi/mutter-cogl-10.vapi
Normal file
1131
vapi/mutter-cogl-10.vapi
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +0,0 @@
|
||||
pango
|
||||
glib-2.0
|
||||
gio-2.0
|
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
mutter-cogl-6.deps
|
@ -1 +0,0 @@
|
||||
mutter-cogl-6.vapi
|
@ -1 +0,0 @@
|
||||
mutter-cogl-7.deps
|
@ -1 +0,0 @@
|
||||
mutter-cogl-7.vapi
|
@ -1 +0,0 @@
|
||||
mutter-cogl-8.deps
|
@ -1 +0,0 @@
|
||||
mutter-cogl-8.vapi
|
@ -1 +0,0 @@
|
||||
mutter-cogl-pango-9.vapi
|
31
vapi/mutter-cogl-pango-10.vapi
Normal file
31
vapi/mutter-cogl-pango-10.vapi
Normal file
@ -0,0 +1,31 @@
|
||||
/* mutter-cogl-pango-6.vapi generated by vapigen, do not modify. */
|
||||
|
||||
[CCode (cprefix = "CoglPango", gir_namespace = "CoglPango", gir_version = "6", lower_case_cprefix = "cogl_pango_")]
|
||||
namespace CoglPango {
|
||||
[CCode (cheader_filename = "cogl-pango.h")]
|
||||
public interface FontMap : Pango.CairoFontMap, GLib.Object {
|
||||
[Version (since = "1.0")]
|
||||
public void clear_glyph_cache ();
|
||||
public Pango.Context create_context ();
|
||||
[Version (since = "1.0")]
|
||||
public unowned Pango.Renderer get_renderer ();
|
||||
[Version (since = "1.0")]
|
||||
public bool get_use_mipmapping ();
|
||||
[Version (since = "1.14")]
|
||||
public static Pango.FontMap @new ();
|
||||
[Version (since = "1.14")]
|
||||
public void set_resolution (double dpi);
|
||||
[Version (since = "1.0")]
|
||||
public void set_use_mipmapping (bool value);
|
||||
}
|
||||
[CCode (cheader_filename = "cogl-pango.h", type_id = "cogl_pango_renderer_get_type ()")]
|
||||
public class Renderer : Pango.Renderer {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected Renderer ();
|
||||
[NoAccessorMethod]
|
||||
public void* context { construct; }
|
||||
}
|
||||
[CCode (cheader_filename = "cogl-pango.h")]
|
||||
[Version (since = "1.0")]
|
||||
public static void ensure_glyph_cache_for_layout (Pango.Layout layout);
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
/* mutter-cogl-pango-6.vapi generated by vapigen, do not modify. */
|
||||
|
||||
[CCode (cprefix = "CoglPango", gir_namespace = "CoglPango", gir_version = "6", lower_case_cprefix = "cogl_pango_")]
|
||||
namespace CoglPango {
|
||||
#if HAS_MUTTER338
|
||||
[CCode (cheader_filename = "cogl-pango.h")]
|
||||
public interface FontMap : Pango.CairoFontMap, GLib.Object {
|
||||
#else
|
||||
[CCode (cheader_filename = "cogl-pango.h", type_id = "pango_font_map_get_type ()")]
|
||||
public class FontMap : Pango.FontMap {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected FontMap ();
|
||||
#endif
|
||||
[Version (since = "1.0")]
|
||||
public void clear_glyph_cache ();
|
||||
public Pango.Context create_context ();
|
||||
[Version (since = "1.0")]
|
||||
public unowned Pango.Renderer get_renderer ();
|
||||
[Version (since = "1.0")]
|
||||
public bool get_use_mipmapping ();
|
||||
[Version (since = "1.14")]
|
||||
public static Pango.FontMap @new ();
|
||||
[Version (since = "1.14")]
|
||||
public void set_resolution (double dpi);
|
||||
[Version (since = "1.0")]
|
||||
public void set_use_mipmapping (bool value);
|
||||
}
|
||||
[CCode (cheader_filename = "cogl-pango.h", type_id = "cogl_pango_renderer_get_type ()")]
|
||||
public class Renderer : Pango.Renderer {
|
||||
[CCode (has_construct_function = false)]
|
||||
protected Renderer ();
|
||||
[NoAccessorMethod]
|
||||
public void* context { construct; }
|
||||
}
|
||||
[CCode (cheader_filename = "cogl-pango.h")]
|
||||
[Version (since = "1.0")]
|
||||
public static void ensure_glyph_cache_for_layout (Pango.Layout layout);
|
||||
}
|
@ -1 +0,0 @@
|
||||
mutter-cogl-pango-6.vapi
|
@ -1 +0,0 @@
|
||||
mutter-cogl-pango-7.vapi
|
@ -1 +0,0 @@
|
||||
mutter-cogl-pango-8.vapi
|
@ -1,34 +0,0 @@
|
||||
[CCode (gir_namespace = "CoglPath", gir_version = "6")]
|
||||
namespace Cogl {
|
||||
[CCode (cheader_filename = "cogl-path/cogl-path.h", copy_function = "cogl_path_copy", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref", type_id = "cogl_path_get_gtype")]
|
||||
[Compact]
|
||||
public class Path {
|
||||
public void arc (float center_x, float center_y, float radius_x, float radius_y, float angle_1, float angle_2);
|
||||
public void close ();
|
||||
public Cogl.Path copy ();
|
||||
public void curve_to (float x_1, float y_1, float x_2, float y_2, float x_3, float y_3);
|
||||
public void ellipse (float center_x, float center_y, float radius_x, float radius_y);
|
||||
public void fill ();
|
||||
public void fill_preserve ();
|
||||
public Cogl.PathFillRule get_fill_rule ();
|
||||
public void line (float x_1, float y_1, float x_2, float y_2);
|
||||
public void line_to (float x, float y);
|
||||
public void move_to (float x, float y);
|
||||
public Path ();
|
||||
public void polygon ([CCode (array_length = false)] float[] coords, int num_points);
|
||||
public void polyline ([CCode (array_length = false)] float[] coords, int num_points);
|
||||
public void rectangle (float x_1, float y_1, float x_2, float y_2);
|
||||
public void rel_curve_to (float x_1, float y_1, float x_2, float y_2, float x_3, float y_3);
|
||||
public void rel_line_to (float x, float y);
|
||||
public void rel_move_to (float x, float y);
|
||||
public void round_rectangle (float x_1, float y_1, float x_2, float y_2, float radius, float arc_step);
|
||||
public void set_fill_rule (Cogl.PathFillRule fill_rule);
|
||||
public void stroke ();
|
||||
public void stroke_preserve ();
|
||||
}
|
||||
[CCode (cheader_filename = "cogl-path/cogl-path.h", cprefix = "COGL_PATH_FILL_RULE_", has_type_id = false)]
|
||||
public enum PathFillRule {
|
||||
NON_ZERO,
|
||||
EVEN_ODD
|
||||
}
|
||||
}
|
@ -1,771 +0,0 @@
|
||||
/* cogl-1.0.vapi generated by vapigen, do not modify. */
|
||||
|
||||
[CCode (gir_namespace = "Cogl", gir_version = "1.0")]
|
||||
namespace Cogl {
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname = "CoglHandle")]
|
||||
[Compact]
|
||||
public class Bitmap : Cogl.Handle {
|
||||
public static GLib.Type error_get_type ();
|
||||
public static GLib.Quark error_quark ();
|
||||
public static bool get_size_from_file (string filename, out int width, out int height);
|
||||
public static Cogl.Bitmap new_from_file (string filename) throws GLib.Error;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname = "CoglHandle")]
|
||||
[Compact]
|
||||
public class Buffer : Cogl.Handle {
|
||||
public static GLib.Type access_get_type ();
|
||||
public static GLib.Type bit_get_type ();
|
||||
public uint get_size ();
|
||||
public Cogl.BufferUpdateHint get_update_hint ();
|
||||
public uchar map (Cogl.BufferAccess access);
|
||||
public static GLib.Type map_hint_get_type ();
|
||||
public bool set_data (size_t offset, [CCode (array_length_type = "size_t")] uint8[] data);
|
||||
public void set_update_hint (Cogl.BufferUpdateHint hint);
|
||||
public static GLib.Type target_get_type ();
|
||||
public void unmap ();
|
||||
public static GLib.Type update_hint_get_type ();
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
[Compact]
|
||||
public class Framebuffer {
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", ref_function = "cogl_handle_ref", unref_function = "cogl_handle_unref")]
|
||||
[Compact]
|
||||
public class Handle {
|
||||
[CCode (cname = "cogl_is_bitmap")]
|
||||
public bool is_bitmap ();
|
||||
[CCode (cname = "cogl_is_buffer")]
|
||||
public bool is_buffer ();
|
||||
[CCode (cname = "cogl_is_material")]
|
||||
public bool is_material ();
|
||||
[CCode (cname = "cogl_is_offscreen")]
|
||||
public bool is_offscreen ();
|
||||
[CCode (cname = "cogl_is_pixel_buffer")]
|
||||
public bool is_pixel_buffer ();
|
||||
[CCode (cname = "cogl_is_program")]
|
||||
public bool is_program ();
|
||||
[CCode (cname = "cogl_is_shader")]
|
||||
public bool is_shader ();
|
||||
[CCode (cname = "cogl_is_texture")]
|
||||
public bool is_texture ();
|
||||
[CCode (cname = "cogl_is_vertex_buffer")]
|
||||
public bool is_vertex_buffer ();
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname = "CoglHandle", ref_function = "cogl_material_ref", unref_function = "cogl_material_unref")]
|
||||
[Compact]
|
||||
public class Material : Cogl.Handle {
|
||||
[CCode (has_construct_function = false, type = "CoglHandle*")]
|
||||
public Material ();
|
||||
public static GLib.Type alpha_func_get_type ();
|
||||
public Cogl.Material copy ();
|
||||
public static GLib.Type filter_get_type ();
|
||||
public static void foreach_layer (Cogl.Material material, Cogl.MaterialLayerCallback callback);
|
||||
public void get_ambient (out Cogl.Color ambient);
|
||||
public void get_color (out Cogl.Color color);
|
||||
public static void get_depth_range (Cogl.Material material, float near_val, float far_val);
|
||||
public static bool get_depth_test_enabled (Cogl.Material material);
|
||||
public static Cogl.DepthTestFunction get_depth_test_function (Cogl.Material material);
|
||||
public static bool get_depth_writing_enabled (Cogl.Material material);
|
||||
public void get_diffuse (out Cogl.Color diffuse);
|
||||
public void get_emission (out Cogl.Color emission);
|
||||
public static bool get_layer_point_sprite_coords_enabled (Cogl.Material material, int layer_index);
|
||||
public unowned GLib.List<Cogl.MaterialLayer> get_layers ();
|
||||
public int get_n_layers ();
|
||||
public float get_point_size ();
|
||||
public float get_shininess ();
|
||||
public void get_specular (out Cogl.Color specular);
|
||||
public static unowned Cogl.Bitmap get_user_program (Cogl.Material material);
|
||||
public void remove_layer (int layer_index);
|
||||
public void set_alpha_test_function (Cogl.MaterialAlphaFunc alpha_func, float alpha_reference);
|
||||
public void set_ambient (Cogl.Color ambient);
|
||||
public void set_ambient_and_diffuse (Cogl.Color color);
|
||||
public bool set_blend (string blend_string) throws Cogl.BlendStringError;
|
||||
public void set_blend_constant (Cogl.Color constant_color);
|
||||
public void set_color (Cogl.Color color);
|
||||
public void set_color4f (float red, float green, float blue, float alpha);
|
||||
public void set_color4ub (uchar red, uchar green, uchar blue, uchar alpha);
|
||||
public static bool set_depth_range (Cogl.Material material, float near_val, float far_val) throws GLib.Error;
|
||||
public static void set_depth_test_enabled (Cogl.Material material, bool enable);
|
||||
public static void set_depth_test_function (Cogl.Material material, Cogl.DepthTestFunction function);
|
||||
public static void set_depth_writing_enabled (Cogl.Material material, bool enable);
|
||||
public void set_diffuse (Cogl.Color diffuse);
|
||||
public void set_emission (Cogl.Color emission);
|
||||
public void set_layer (int layer_index, Cogl.Texture texture);
|
||||
public bool set_layer_combine (int layer_index, string blend_string) throws Cogl.BlendStringError;
|
||||
public void set_layer_combine_constant (int layer_index, Cogl.Color constant);
|
||||
public void set_layer_filters (int layer_index, Cogl.MaterialFilter min_filter, Cogl.MaterialFilter mag_filter);
|
||||
public void set_layer_matrix (int layer_index, Cogl.Matrix matrix);
|
||||
public static bool set_layer_point_sprite_coords_enabled (Cogl.Material material, int layer_index, bool enable) throws GLib.Error;
|
||||
public static void set_layer_wrap_mode (Cogl.Material material, int layer_index, Cogl.MaterialWrapMode mode);
|
||||
public static void set_layer_wrap_mode_p (Cogl.Material material, int layer_index, Cogl.MaterialWrapMode mode);
|
||||
public static void set_layer_wrap_mode_s (Cogl.Material material, int layer_index, Cogl.MaterialWrapMode mode);
|
||||
public static void set_layer_wrap_mode_t (Cogl.Material material, int layer_index, Cogl.MaterialWrapMode mode);
|
||||
public void set_point_size (float point_size);
|
||||
public void set_shininess (float shininess);
|
||||
public void set_specular (Cogl.Color specular);
|
||||
public static void set_user_program (Cogl.Material material, Cogl.Bitmap program);
|
||||
public static GLib.Type wrap_mode_get_type ();
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname = "CoglHandle")]
|
||||
[Compact]
|
||||
public class MaterialLayer : Cogl.Handle {
|
||||
public Cogl.MaterialFilter get_mag_filter ();
|
||||
public Cogl.MaterialFilter get_min_filter ();
|
||||
public unowned Cogl.Texture? get_texture ();
|
||||
public Cogl.MaterialLayerType get_type ();
|
||||
public static Cogl.MaterialWrapMode get_wrap_mode_p (Cogl.MaterialLayer layer);
|
||||
public static Cogl.MaterialWrapMode get_wrap_mode_s (Cogl.MaterialLayer layer);
|
||||
public static Cogl.MaterialWrapMode get_wrap_mode_t (Cogl.MaterialLayer layer);
|
||||
public static GLib.Type type_get_type ();
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref")]
|
||||
[Compact]
|
||||
public class Object {
|
||||
public void* get_user_data (Cogl.UserDataKey key);
|
||||
public void set_user_data (Cogl.UserDataKey key, Cogl.UserDataDestroyCallback destroy);
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname = "CoglHandle", ref_function = "cogl_offscreen_ref", unref_function = "cogl_offscreen_unref")]
|
||||
[Compact]
|
||||
public class Offscreen : Cogl.Handle {
|
||||
[CCode (cname = "cogl_pop_draw_buffer")]
|
||||
public static void pop_draw_buffer ();
|
||||
[CCode (cname = "cogl_push_draw_buffer")]
|
||||
public static void push_draw_buffer ();
|
||||
[CCode (instance_pos = -1)]
|
||||
public void set_draw_buffer (Cogl.BufferTarget target);
|
||||
[CCode (cname = "cogl_offscreen_new_to_texture", has_construct_function = false, type = "CoglHandle*")]
|
||||
public Offscreen.to_texture (Cogl.Texture handle);
|
||||
}
|
||||
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
[Compact]
|
||||
public class PangoFontMap {
|
||||
[CCode (has_construct_function = false, type = "PangoFontMap*")]
|
||||
public PangoFontMap ();
|
||||
public void clear_glyph_cache ();
|
||||
public unowned Pango.Context create_context ();
|
||||
public unowned Pango.Renderer get_renderer ();
|
||||
public bool get_use_mipmapping ();
|
||||
public void set_resolution (double dpi);
|
||||
public void set_use_mipmapping (bool value);
|
||||
}
|
||||
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
[Compact]
|
||||
public class PangoRenderer {
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
[Compact]
|
||||
public class PixelArray {
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
[Compact]
|
||||
public class PixelBuffer : Cogl.Handle {
|
||||
public PixelBuffer (uint size);
|
||||
public PixelBuffer.for_size (uint width, uint height, Cogl.PixelFormat format, uint stride);
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname = "CoglHandle", ref_function = "cogl_program_ref", unref_function = "cogl_program_unref")]
|
||||
[Compact]
|
||||
public class Program : Cogl.Handle {
|
||||
[CCode (cname = "cogl_create_program", has_construct_function = false, type = "CoglHandle*")]
|
||||
public Program ();
|
||||
public void attach_shader (Cogl.Shader shader_handle);
|
||||
public int get_uniform_location (string uniform_name);
|
||||
public void link ();
|
||||
public static void uniform_1f (int uniform_no, float value);
|
||||
public static void uniform_1i (int uniform_no, int value);
|
||||
public static void uniform_float (int uniform_no, int size, [CCode (array_length_pos = 2.9)] float[] value);
|
||||
public static void uniform_int (int uniform_no, int size, [CCode (array_length_pos = 2.9)] int[] value);
|
||||
public static void uniform_matrix (int uniform_no, int size, bool transpose, [CCode (array_length_pos = 2.9)] float[] value);
|
||||
public void use ();
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname = "CoglHandle", ref_function = "cogl_shader_ref", unref_function = "cogl_shader_unref")]
|
||||
[Compact]
|
||||
public class Shader : Cogl.Handle {
|
||||
[CCode (cname = "cogl_create_shader", has_construct_function = false, type = "CoglHandle*")]
|
||||
public Shader (Cogl.ShaderType shader_type);
|
||||
public void compile ();
|
||||
public string get_info_log ();
|
||||
public Cogl.ShaderType get_type ();
|
||||
public bool is_compiled ();
|
||||
public void source (string source);
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", ref_function = "cogl_object_ref", unref_function = "cogl_object_unref", type_id = "cogl_texture_get_gtype")]
|
||||
public class Texture {
|
||||
public Texture.from_bitmap (Cogl.Bitmap bmp_handle, Cogl.TextureFlags flags, Cogl.PixelFormat internal_format);
|
||||
public Texture.from_data (uint width, uint height, Cogl.TextureFlags flags, Cogl.PixelFormat format, Cogl.PixelFormat internal_format, uint rowstride, [CCode (array_length = false)] uchar[] data);
|
||||
public Texture.from_file (string filename, Cogl.TextureFlags flags, Cogl.PixelFormat internal_format) throws GLib.Error;
|
||||
public Texture.from_sub_texture (Cogl.Texture full_texture, int sub_x, int sub_y, int sub_width, int sub_height);
|
||||
public int get_data (Cogl.PixelFormat format, uint rowstride, [CCode (array_length = false)] uint8[] data);
|
||||
public Cogl.PixelFormat get_format ();
|
||||
public uint get_height ();
|
||||
public int get_max_waste ();
|
||||
public uint get_rowstride ();
|
||||
public uint get_width ();
|
||||
public bool is_sliced ();
|
||||
public bool set_region (int src_x, int src_y, int dst_x, int dst_y, uint dst_width, uint dst_height, int width, int height, Cogl.PixelFormat format, uint rowstride, [CCode (array_length = false)] uint8[] data);
|
||||
public Texture.with_size (uint width, uint height, Cogl.TextureFlags flags, Cogl.PixelFormat internal_format);
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
[Compact]
|
||||
public class UserDataKey {
|
||||
public int unused;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
[Compact]
|
||||
public class Vector3 {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname = "CoglHandle", ref_function = "cogl_vertex_buffer_ref", unref_function = "cogl_vertex_buffer_unref")]
|
||||
[Compact]
|
||||
public class VertexBuffer : Cogl.Handle {
|
||||
[CCode (has_construct_function = false, type = "CoglHandle*")]
|
||||
public VertexBuffer (uint n_vertices);
|
||||
public void add (string attribute_name, uchar n_components, Cogl.AttributeType type, bool normalized, uint16 stride, void* pointer);
|
||||
public void @delete (string attribute_name);
|
||||
public void disable (string attribute_name);
|
||||
public void draw (Cogl.VerticesMode mode, int first, int count);
|
||||
public void draw_elements (Cogl.VerticesMode mode, Cogl.VertexBufferIndices indices, int min_index, int max_index, int indices_offset, int count);
|
||||
public void enable (string attribute_name);
|
||||
public uint get_n_vertices ();
|
||||
public void submit ();
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cname = "CoglHandle")]
|
||||
[Compact]
|
||||
public class VertexBufferIndices : Cogl.Handle {
|
||||
public VertexBufferIndices (Cogl.IndicesType indices_type, void* indices_array, int indices_len);
|
||||
public static unowned Cogl.VertexBufferIndices get_for_quads (uint n_indices);
|
||||
public Cogl.IndicesType get_type ();
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public struct Angle {
|
||||
public Cogl.Fixed cos ();
|
||||
public Cogl.Fixed sin ();
|
||||
public Cogl.Fixed tan ();
|
||||
}
|
||||
[BooleanType]
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
[GIR (name = "Bool")]
|
||||
[SimpleType]
|
||||
public struct Bool : bool {
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_type_id = false)]
|
||||
public struct Color {
|
||||
public uchar red;
|
||||
public uchar green;
|
||||
public uchar blue;
|
||||
public uchar alpha;
|
||||
public uint32 padding0;
|
||||
public uint32 padding1;
|
||||
public uint32 padding2;
|
||||
public Cogl.Color copy ();
|
||||
public static bool equal (void* v1, void* v2);
|
||||
public Color.from_4f (float red, float green, float blue, float alpha);
|
||||
public Color.from_4ub (uint8 red, uint8 green, uint8 blue, uint8 alpha);
|
||||
public float get_alpha ();
|
||||
public uint get_alpha_byte ();
|
||||
public float get_alpha_float ();
|
||||
public float get_blue ();
|
||||
public uint get_blue_byte ();
|
||||
public float get_blue_float ();
|
||||
public float get_green ();
|
||||
public uint get_green_byte ();
|
||||
public float get_green_float ();
|
||||
public float get_red ();
|
||||
public uint get_red_byte ();
|
||||
public float get_red_float ();
|
||||
public void init_from_4f (float red, float green, float blue, float alpha);
|
||||
public void init_from_4fv (float color_array);
|
||||
public void init_from_4ub (uchar red, uchar green, uchar blue, uchar alpha);
|
||||
public void premultiply ();
|
||||
public void set_alpha (float alpha);
|
||||
public void set_alpha_byte (uint alpha);
|
||||
public void set_alpha_float (float alpha);
|
||||
public void set_blue (float blue);
|
||||
public void set_blue_byte (uint blue);
|
||||
public void set_blue_float (float blue);
|
||||
public void set_from_4f (float red, float green, float blue, float alpha);
|
||||
public void set_from_4ub (uchar red, uchar green, uchar blue, uchar alpha);
|
||||
public void set_green (float green);
|
||||
public void set_green_byte (uint green);
|
||||
public void set_green_float (float green);
|
||||
public void set_red (float red);
|
||||
public void set_red_byte (uint red);
|
||||
public void set_red_float (float red);
|
||||
public void unpremultiply ();
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public struct Fixed {
|
||||
public Cogl.Fixed atan ();
|
||||
public Cogl.Fixed atan2 (Cogl.Fixed b);
|
||||
public Cogl.Fixed cos ();
|
||||
public Cogl.Fixed div (Cogl.Fixed b);
|
||||
public static Cogl.Fixed log2 (uint x);
|
||||
public Cogl.Fixed mul (Cogl.Fixed b);
|
||||
public Cogl.Fixed mul_div (Cogl.Fixed b, Cogl.Fixed c);
|
||||
public static uint pow (uint x, Cogl.Fixed y);
|
||||
public uint pow2 ();
|
||||
public Cogl.Fixed sin ();
|
||||
public Cogl.Fixed sqrt ();
|
||||
public Cogl.Fixed tan ();
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", type_id = "COGL_TYPE_MATRIX")]
|
||||
public struct Matrix {
|
||||
public float xx;
|
||||
public float yx;
|
||||
public float zx;
|
||||
public float wx;
|
||||
public float xy;
|
||||
public float yy;
|
||||
public float zy;
|
||||
public float wy;
|
||||
public float xz;
|
||||
public float yz;
|
||||
public float zz;
|
||||
public float wz;
|
||||
public float xw;
|
||||
public float yw;
|
||||
public float zw;
|
||||
public float ww;
|
||||
[CCode (array_length = false)]
|
||||
public weak float[] inv;
|
||||
public uint type;
|
||||
public uint flags;
|
||||
public static bool equal (void* v1, void* v2);
|
||||
[CCode (array_length = false, array_null_terminated = false, cname = "cogl_matrix_init_from_array")]
|
||||
public Matrix.from_array ([CCode (array_length = false)] float[] array);
|
||||
public void frustum (float left, float right, float bottom, float top, float z_near, float z_far);
|
||||
[CCode (array_length = false)]
|
||||
public unowned float[] get_array ();
|
||||
public bool get_inverse (out Cogl.Matrix inverse);
|
||||
[CCode (cname = "cogl_matrix_init_identity")]
|
||||
public Matrix.identity ();
|
||||
[CCode (cname = "cogl_matrix_multiply")]
|
||||
public Matrix.multiply (Cogl.Matrix a, Cogl.Matrix b);
|
||||
public void ortho (float left, float right, float bottom, float top, float z_near, float z_far);
|
||||
public void perspective (float fov_y, float aspect, float z_near, float z_far);
|
||||
public void rotate (float angle, float x, float y, float z);
|
||||
public void scale (float sx, float sy, float sz);
|
||||
public void transform_point (ref float x, ref float y, ref float z, ref float w);
|
||||
public void translate (float x, float y, float z);
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public struct TextureVertex {
|
||||
public float x;
|
||||
public float y;
|
||||
public float z;
|
||||
public float tx;
|
||||
public float ty;
|
||||
public Cogl.Color color;
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_ATTRIBUTE_TYPE_", has_type_id = false)]
|
||||
public enum AttributeType {
|
||||
BYTE,
|
||||
UNSIGNED_BYTE,
|
||||
SHORT,
|
||||
UNSIGNED_SHORT,
|
||||
FLOAT
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_BITMAP_ERROR_", has_type_id = false)]
|
||||
public enum BitmapError {
|
||||
FAILED,
|
||||
UNKNOWN_TYPE,
|
||||
CORRUPT_IMAGE
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_BUFFER_ACCESS_", has_type_id = false)]
|
||||
public enum BufferAccess {
|
||||
READ,
|
||||
WRITE,
|
||||
READ_WRITE
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_BUFFER_BIT_", has_type_id = false)]
|
||||
public enum BufferBit {
|
||||
COLOR,
|
||||
DEPTH,
|
||||
STENCIL
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_BUFFER_MAP_HINT_", has_type_id = false)]
|
||||
public enum BufferMapHint {
|
||||
DISCARD
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_", has_type_id = false)]
|
||||
public enum BufferTarget {
|
||||
WINDOW_BUFFER,
|
||||
OFFSCREEN_BUFFER
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_BUFFER_UPDATE_HINT_", has_type_id = false)]
|
||||
public enum BufferUpdateHint {
|
||||
STATIC,
|
||||
DYNAMIC,
|
||||
STREAM
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_DEPTH_TEST_FUNCTION_", has_type_id = false)]
|
||||
public enum DepthTestFunction {
|
||||
NEVER,
|
||||
LESS,
|
||||
EQUAL,
|
||||
LEQUAL,
|
||||
GREATER,
|
||||
NOTEQUAL,
|
||||
GEQUAL,
|
||||
ALWAYS
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_DRIVER_ERROR_", has_type_id = false)]
|
||||
public enum DriverError {
|
||||
UNKNOWN_VERSION,
|
||||
INVALID_VERSION
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_ERROR_", has_type_id = false)]
|
||||
public enum Error {
|
||||
UNSUPPORTED
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_FEATURE_", has_type_id = false)]
|
||||
public enum FeatureFlags {
|
||||
TEXTURE_RECTANGLE,
|
||||
TEXTURE_NPOT,
|
||||
TEXTURE_YUV,
|
||||
TEXTURE_READ_PIXELS,
|
||||
SHADERS_GLSL,
|
||||
OFFSCREEN,
|
||||
OFFSCREEN_MULTISAMPLE,
|
||||
OFFSCREEN_BLIT,
|
||||
FOUR_CLIP_PLANES,
|
||||
STENCIL_BUFFER,
|
||||
VBOS,
|
||||
PBOS,
|
||||
UNSIGNED_INT_INDICES,
|
||||
DEPTH_RANGE,
|
||||
TEXTURE_NPOT_BASIC,
|
||||
TEXTURE_NPOT_MIPMAP,
|
||||
TEXTURE_NPOT_REPEAT,
|
||||
POINT_SPRITE,
|
||||
TEXTURE_3D,
|
||||
SHADERS_ARBFP
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_FOG_MODE_", has_type_id = false)]
|
||||
public enum FogMode {
|
||||
LINEAR,
|
||||
EXPONENTIAL,
|
||||
EXPONENTIAL_SQUARED
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_INDICES_TYPE_UNSIGNED_", has_type_id = false)]
|
||||
public enum IndicesType {
|
||||
BYTE,
|
||||
SHORT,
|
||||
INT
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_MATERIAL_ALPHA_FUNC_", has_type_id = false)]
|
||||
public enum MaterialAlphaFunc {
|
||||
NEVER,
|
||||
LESS,
|
||||
EQUAL,
|
||||
LEQUAL,
|
||||
GREATER,
|
||||
NOTEQUAL,
|
||||
GEQUAL,
|
||||
ALWAYS
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_MATERIAL_FILTER_", has_type_id = false)]
|
||||
public enum MaterialFilter {
|
||||
NEAREST,
|
||||
LINEAR,
|
||||
NEAREST_MIPMAP_NEAREST,
|
||||
LINEAR_MIPMAP_NEAREST,
|
||||
NEAREST_MIPMAP_LINEAR,
|
||||
LINEAR_MIPMAP_LINEAR
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_MATERIAL_LAYER_TYPE_", has_type_id = false)]
|
||||
public enum MaterialLayerType {
|
||||
TEXTURE
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_MATERIAL_WRAP_MODE_", has_type_id = false)]
|
||||
public enum MaterialWrapMode {
|
||||
REPEAT,
|
||||
CLAMP_TO_EDGE,
|
||||
AUTOMATIC
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_PIXEL_FORMAT_", has_type_id = false)]
|
||||
public enum PixelFormat {
|
||||
ANY,
|
||||
A_8,
|
||||
RGB_565,
|
||||
RGBA_4444,
|
||||
RGBA_5551,
|
||||
YUV,
|
||||
G_8,
|
||||
RGB_888,
|
||||
BGR_888,
|
||||
RGBA_8888,
|
||||
BGRA_8888,
|
||||
ARGB_8888,
|
||||
ABGR_8888,
|
||||
RGBA_8888_PRE,
|
||||
BGRA_8888_PRE,
|
||||
ARGB_8888_PRE,
|
||||
ABGR_8888_PRE,
|
||||
RGBA_4444_PRE,
|
||||
RGBA_5551_PRE
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_READ_PIXELS_COLOR_", has_type_id = false)]
|
||||
public enum ReadPixelsFlags {
|
||||
BUFFER
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_SHADER_TYPE_", has_type_id = false)]
|
||||
public enum ShaderType {
|
||||
VERTEX,
|
||||
FRAGMENT
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_TEXTURE_", has_type_id = false)]
|
||||
public enum TextureFlags {
|
||||
NONE,
|
||||
NO_AUTO_MIPMAP,
|
||||
NO_SLICING,
|
||||
NO_ATLAS
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_TEXTURE_PIXMAP_X11_DAMAGE_", has_type_id = false)]
|
||||
public enum TexturePixmapX11ReportLevel {
|
||||
RAW_RECTANGLES,
|
||||
DELTA_RECTANGLES,
|
||||
BOUNDING_BOX,
|
||||
NON_EMPTY
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_VERTICES_MODE_", has_type_id = false)]
|
||||
public enum VerticesMode {
|
||||
POINTS,
|
||||
LINE_STRIP,
|
||||
LINE_LOOP,
|
||||
LINES,
|
||||
TRIANGLE_STRIP,
|
||||
TRIANGLE_FAN,
|
||||
TRIANGLES
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", cprefix = "COGL_BLEND_STRING_ERROR_")]
|
||||
public errordomain BlendStringError {
|
||||
PARSE_ERROR,
|
||||
ARGUMENT_PARSE_ERROR,
|
||||
INVALID_ERROR,
|
||||
GPU_UNSUPPORTED_ERROR
|
||||
}
|
||||
[CCode (cheader_filename = "cogl/cogl.h", has_target = false)]
|
||||
public delegate void FuncPtr ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public delegate bool MaterialLayerCallback (Cogl.Material material, int layer_index);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public delegate void UserDataDestroyCallback ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int AFIRST_BIT;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int A_BIT;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int BGR_BIT;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int CLUTTER_COGL_HAS_GL;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_0_5;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_1;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_2_PI;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_BITS;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_EPSILON;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_MAX;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_MIN;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_PI;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_PI_2;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_PI_4;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int FIXED_Q;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int HAS_GL;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int HAS_X11;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int HAS_XLIB;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int PIXEL_FORMAT_24;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int PIXEL_FORMAT_32;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int PREMULT_BIT;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int RADIANS_TO_DEGREES;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int SQRTI_ARG_10_PERCENT;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int SQRTI_ARG_5_PERCENT;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int SQRTI_ARG_MAX;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int TEXTURE_MAX_WASTE;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int UNORDERED_MASK;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public const int UNPREMULT_MASK;
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type attribute_type_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void begin_gl ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type blend_string_error_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static bool check_extension (string name, string ext);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clear (Cogl.Color color, uint buffers);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clip_ensure ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clip_pop ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clip_push (float x_offset, float y_offset, float width, float height);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clip_push_from_path (Cogl.Path path);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clip_push_from_path_preserve (Cogl.Path path);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clip_push_rectangle (float x0, float y0, float x1, float y1);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clip_push_window_rect (float x_offset, float y_offset, float width, float height);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clip_push_window_rectangle (int x_offset, int y_offset, int width, int height);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clip_stack_restore ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void clip_stack_save ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type depth_test_function_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void disable_fog ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static Cogl.Fixed double_to_fixed (double value);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static int double_to_int (double value);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static uint double_to_uint (double value);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type driver_error_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void end_gl ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type error_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type feature_flags_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static bool features_available (Cogl.FeatureFlags features);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void flush ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type fog_mode_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void frustum (float left, float right, float bottom, float top, float z_near, float z_far);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static bool get_backface_culling_enabled ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void get_bitmasks (int red, int green, int blue, int alpha);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static bool get_depth_test_enabled ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static Cogl.FeatureFlags get_features ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void get_modelview_matrix (Cogl.Matrix matrix);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.OptionGroup get_option_group ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static unowned Cogl.Path get_path ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static unowned Cogl.FuncPtr get_proc_address (string name);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void get_projection_matrix (Cogl.Matrix matrix);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void get_viewport ([CCode (array_length = false)] float[] v);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type indices_type_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static bool is_path (Cogl.Bitmap handle);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static bool is_vertex_buffer_indices (Cogl.Bitmap handle);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void ortho (float left, float right, float bottom, float top, float near, float far);
|
||||
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
public static void pango_ensure_glyph_cache_for_layout (Pango.Layout layout);
|
||||
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
public static void pango_render_layout (Pango.Layout layout, int x, int y, Cogl.Color color, int flags);
|
||||
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
public static void pango_render_layout_line (Pango.LayoutLine line, int x, int y, Cogl.Color color);
|
||||
[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
public static void pango_render_layout_subpixel (Pango.Layout layout, int x, int y, Cogl.Color color, int flags);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void perspective (float fovy, float aspect, float z_near, float z_far);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type pixel_format_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void polygon (Cogl.TextureVertex[] vertices, bool use_color);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void pop_framebuffer ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void pop_matrix ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void push_framebuffer (Cogl.Framebuffer buffer);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void push_matrix ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void read_pixels (int x, int y, int width, int height, Cogl.ReadPixelsFlags source, Cogl.PixelFormat format, [CCode (array_length = false)] uint8[] pixels);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type read_pixels_flags_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void rectangle (float x_1, float y_1, float x_2, float y_2);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void rectangle_with_multitexture_coords (float x1, float y1, float x2, float y2, float tex_coords, int tex_coords_len);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void rectangle_with_texture_coords (float x1, float y1, float x2, float y2, float tx1, float ty1, float tx2, float ty2);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void rectangles ([CCode (array_length = false)] float[] verts, uint n_rects);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void rectangles_with_texture_coords ([CCode (array_length = false)] float[] verts, uint n_rects);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void rotate (float angle, float x, float y, float z);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void scale (float x, float y, float z);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_backface_culling_enabled (bool setting);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_depth_test_enabled (bool setting);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_fog (Cogl.Color fog_color, Cogl.FogMode mode, float density, float z_near, float z_far);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_framebuffer (Cogl.Framebuffer buffer);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_modelview_matrix (Cogl.Matrix matrix);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_path (Cogl.Path path);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_projection_matrix (Cogl.Matrix matrix);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_source (Cogl.Material material);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_source_color (Cogl.Color color);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_source_color4f (float red, float green, float blue, float alpha);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_source_color4ub (uchar red, uchar green, uchar blue, uchar alpha);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_source_texture (Cogl.Texture texture_handle);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void set_viewport (int x, int y, int width, int height);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static int sqrti (int x);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void transform (Cogl.Matrix matrix);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void translate (float x, float y, float z);
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static GLib.Type vertices_mode_get_type ();
|
||||
[CCode (cheader_filename = "cogl/cogl.h")]
|
||||
public static void viewport (uint width, uint height);
|
||||
}
|
Loading…
Reference in New Issue
Block a user