clutter: Move Text actor to clutter/pango

Similar to ClutterText node in the previous commit.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4106>
This commit is contained in:
Bilal Elmoussaoui 2024-11-12 13:47:53 +01:00 committed by Marge Bot
parent c15bb5d49c
commit 4313c2bb58
8 changed files with 18 additions and 18 deletions

View File

@ -98,8 +98,6 @@
#include "clutter/clutter-stage.h"
#include "clutter/clutter-stage-view.h"
#include "clutter/clutter-tap-action.h"
#include "clutter/clutter-text-buffer.h"
#include "clutter/clutter-text.h"
#include "clutter/clutter-texture-content.h"
#include "clutter/clutter-timeline.h"
#include "clutter/clutter-transition-group.h"
@ -107,6 +105,8 @@
#include "clutter/clutter-virtual-input-device.h"
#include "clutter/clutter-zoom-action.h"
#include "clutter/pango/clutter-text.h"
#include "clutter/pango/clutter-text-buffer.h"
#include "clutter/pango/clutter-text-node.h"
#undef __CLUTTER_H_INSIDE__

View File

@ -2,6 +2,8 @@ clutter_clutter_includesubdir = clutter_includesubdir / 'clutter'
clutter_clutter_includedir = clutter_includedir / 'clutter'
clutter_headers = [
'pango/clutter-text.h',
'pango/clutter-text-buffer.h',
'pango/clutter-text-node.h',
'clutter.h',
'clutter-action.h',
@ -71,8 +73,6 @@ clutter_headers = [
'clutter-stage.h',
'clutter-stage-view.h',
'clutter-tap-action.h',
'clutter-text.h',
'clutter-text-buffer.h',
'clutter-texture-content.h',
'clutter-timeline.h',
'clutter-transition-group.h',
@ -87,6 +87,9 @@ clutter_sources = [
'pango/clutter-pango-glyph-cache.c',
'pango/clutter-pango-pipeline-cache.c',
'pango/clutter-pango-render.c',
'pango/clutter-text.c',
'pango/clutter-text-accessible.c',
'pango/clutter-text-buffer.c',
'pango/clutter-text-node.c',
'clutter-accessibility.c',
'clutter-action.c',
@ -169,9 +172,6 @@ clutter_sources = [
'clutter-stage-view.c',
'clutter-stage-window.c',
'clutter-tap-action.c',
'clutter-text-accessible.c',
'clutter-text.c',
'clutter-text-buffer.c',
'clutter-texture-content.c',
'clutter-transition-group.c',
'clutter-transition.c',
@ -186,6 +186,7 @@ clutter_private_headers = [
'pango/clutter-pango-glyph-cache.h',
'pango/clutter-pango-pipeline-cache.h',
'pango/clutter-pango-private.h',
'pango/clutter-text-accessible-private.h',
'clutter-accessibility-private.h',
'clutter-actor-meta-private.h',
'clutter-actor-private.h',
@ -220,7 +221,6 @@ clutter_private_headers = [
'clutter-stage-private.h',
'clutter-stage-view-private.h',
'clutter-stage-window.h',
'clutter-text-accessible-private.h',
'clutter-timeline-private.h',
]

View File

@ -37,11 +37,11 @@
#include "config.h"
#include "clutter/clutter-text-accessible-private.h"
#include "clutter/pango/clutter-text-accessible-private.h"
#include "clutter/clutter-actor-private.h"
#include "clutter/clutter-main.h"
#include "clutter/clutter-text.h"
#include "clutter/pango/clutter-text.h"
static void cally_text_finalize (GObject *obj);

View File

@ -19,7 +19,7 @@
#include "config.h"
#include "clutter/clutter-text-buffer.h"
#include "clutter/pango/clutter-text-buffer.h"
#include "clutter/clutter-marshal.h"
#include "clutter/clutter-private.h"
@ -27,7 +27,7 @@
/**
* ClutterTextBuffer:
*
*
* Text buffer for [class@Text]
*
* The #ClutterTextBuffer class contains the actual text displayed in a
@ -556,8 +556,8 @@ clutter_text_buffer_set_text (ClutterTextBuffer *buffer,
* (other than the maximum length of entries.) The value passed in will
* be clamped to the range [ 0, %CLUTTER_TEXT_BUFFER_MAX_SIZE ].
*
* Sets the maximum allowed length of the contents of the buffer.
*
* Sets the maximum allowed length of the contents of the buffer.
*
* If the current contents are longer than the given length,
* then they will be truncated to fit.
**/

View File

@ -44,10 +44,11 @@
#include <string.h>
#include <math.h>
#include "clutter/clutter-text.h"
#include "clutter/pango/clutter-text.h"
#include "clutter/pango/clutter-pango-private.h"
#include "clutter/clutter-text-accessible-private.h"
#include "clutter/pango/clutter-text-accessible-private.h"
#include "clutter/pango/clutter-text-buffer.h"
#include "clutter/clutter-actor-private.h"
#include "clutter/clutter-animatable.h"
#include "clutter/clutter-backend-private.h"
@ -59,7 +60,6 @@
#include "clutter/clutter-marshal.h"
#include "clutter/clutter-private.h"
#include "clutter/clutter-property-transition.h"
#include "clutter/clutter-text-buffer.h"
#include "clutter/clutter-paint-volume-private.h"
#include "clutter/clutter-input-focus.h"

View File

@ -29,7 +29,7 @@
#endif
#include "clutter/clutter-actor.h"
#include "clutter/clutter-text-buffer.h"
#include "clutter/pango/clutter-text-buffer.h"
#include <pango/pango.h>
G_BEGIN_DECLS