gstreamermm: textoverlay.h Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

# textoverlay.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_TEXTOVERLAY_H
    00004 #define _GSTREAMERMM_TEXTOVERLAY_H
    00005
    00006
    00007 #include <glibmm.h>
    00008
    00009 /* gstreamermm - a C++ wrapper for gstreamer
    00010  *
    00011  * Copyright 2008 The gstreamermm Development Team
    00012  *
    00013  * This library is free software; you can redistribute it and/or
    00014  * modify it under the terms of the GNU Lesser General Public
    00015  * License as published by the Free Software Foundation; either
    00016  * version 2.1 of the License, or (at your option) any later version.
    00017  *
    00018  * This library is distributed in the hope that it will be useful,
    00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00021  * Lesser General Public License for more details.
    00022  *
    00023  * You should have received a copy of the GNU Lesser General Public
    00024  * License along with this library; if not, write to the Free
    00025  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00026  */
    00027
    00028 #include <gstreamermm/element.h>
    00029
    00030
    00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00032 typedef struct _GstTextOverlay GstTextOverlay;
    00033 typedef struct _GstTextOverlayClass GstTextOverlayClass;
    00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00035
    00036
    00037 namespace Gst
    00038 { class TextOverlay_Class; } // namespace Gst
    00039 namespace Gst
    00040 {
    00041
    00047 enum TextOverlayHAlign
    00048 {
    00049   TEXT_OVERLAY_HALIGN_LEFT,
    00050   TEXT_OVERLAY_HALIGN_CENTER,
    00051   TEXT_OVERLAY_HALIGN_RIGHT
    00052 };
    00053
    00054 } // namespace Gst
    00055
    00056
    00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00058 namespace Glib
    00059 {
    00060
    00061 template <>
    00062 class Value<Gst::TextOverlayHAlign> : public Glib::Value_Enum<Gst::TextOverlayHAlign>
    00063 {
    00064 public:
    00065   static GType value_type() G_GNUC_CONST;
    00066 };
    00067
    00068 } // namespace Glib
    00069 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00070
    00071
    00072 namespace Gst
    00073 {
    00074
    00078 enum TextOverlayVAlign
    00079 {
    00080   TEXT_OVERLAY_VALIGN_BASELINE,
    00081   TEXT_OVERLAY_VALIGN_BOTTOM,
    00082   TEXT_OVERLAY_VALIGN_TOP
    00083 };
    00084
    00085 } // namespace Gst
    00086
    00087
    00088 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00089 namespace Glib
    00090 {
    00091
    00092 template <>
    00093 class Value<Gst::TextOverlayVAlign> : public Glib::Value_Enum<Gst::TextOverlayVAlign>
    00094 {
    00095 public:
    00096   static GType value_type() G_GNUC_CONST;
    00097 };
    00098
    00099 } // namespace Glib
    00100 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00101
    00102
    00103 namespace Gst
    00104 {
    00105
    00109 enum TextOverlayWrapMode
    00110 {
    00111   TEXT_OVERLAY_WRAP_MODE_NONE = -1,
    00112   TEXT_OVERLAY_WRAP_MODE_WORD,
    00113   TEXT_OVERLAY_WRAP_MODE_CHAR,
    00114   TEXT_OVERLAY_WRAP_MODE_WORD_CHAR
    00115 };
    00116
    00117 } // namespace Gst
    00118
    00119
    00120 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00121 namespace Glib
    00122 {
    00123
    00124 template <>
    00125 class Value<Gst::TextOverlayWrapMode> : public Glib::Value_Enum<Gst::TextOverlayWrapMode>
    00126 {
    00127 public:
    00128   static GType value_type() G_GNUC_CONST;
    00129 };
    00130
    00131 } // namespace Glib
    00132 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00133
    00134
    00135 namespace Gst
    00136 {
    00137
    00141 enum TextOverlayLineAlign
    00142 {
    00143   TEXT_OVERLAY_LINE_ALIGN_LEFT,
    00144   TEXT_OVERLAY_LINE_ALIGN_CENTER,
    00145   TEXT_OVERLAY_LINE_ALIGN_RIGHT
    00146 };
    00147
    00148 } // namespace Gst
    00149
    00150
    00151 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00152 namespace Glib
    00153 {
    00154
    00155 template <>
    00156 class Value<Gst::TextOverlayLineAlign> : public Glib::Value_Enum<Gst::TextOverlayLineAlign>
    00157 {
    00158 public:
    00159   static GType value_type() G_GNUC_CONST;
    00160 };
    00161
    00162 } // namespace Glib
    00163 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00164
    00165
    00166 namespace Gst
    00167 {
    00168
    00169
    00180 class TextOverlay
    00181 : public Gst::Element
    00182 {
    00183
    00184 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00185
    00186 public:
    00187   typedef TextOverlay CppObjectType;
    00188   typedef TextOverlay_Class CppClassType;
    00189   typedef GstTextOverlay BaseObjectType;
    00190   typedef GstTextOverlayClass BaseClassType;
    00191
    00192 private:  friend class TextOverlay_Class;
    00193   static CppClassType textoverlay_class_;
    00194
    00195 private:
    00196   // noncopyable
    00197   TextOverlay(const TextOverlay&);
    00198   TextOverlay& operator=(const TextOverlay&);
    00199
    00200 protected:
    00201   explicit TextOverlay(const Glib::ConstructParams& construct_params);
    00202   explicit TextOverlay(GstTextOverlay* castitem);
    00203
    00204 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00205
    00206 public:
    00207   virtual ~TextOverlay();
    00208
    00209 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00210   static GType get_type()      G_GNUC_CONST;
    00211   static GType get_base_type() G_GNUC_CONST;
    00212 #endif
    00213
    00215   GstTextOverlay*       gobj()       { return reinterpret_cast<GstTextOverlay*>(gobject_); }
    00216
    00218   const GstTextOverlay* gobj() const { return reinterpret_cast<GstTextOverlay*>(gobject_); }
    00219
    00221   GstTextOverlay* gobj_copy();
    00222
    00223 private:
    00224
    00225
    00226 protected:
    00227   TextOverlay();
    00228   TextOverlay(const Glib::ustring& name);
    00229
    00230 public:
    00234   static Glib::RefPtr<TextOverlay> create();
    00235
    00236
    00240   static Glib::RefPtr<TextOverlay> create(const Glib::ustring& name);
    00241
    00242
    00243   #ifdef GLIBMM_PROPERTIES_ENABLED
    00244
    00250   Glib::PropertyProxy<Glib::ustring> property_text() ;
    00251 #endif //#GLIBMM_PROPERTIES_ENABLED
    00252
    00253 #ifdef GLIBMM_PROPERTIES_ENABLED
    00254
    00260   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_text() const;
    00261 #endif //#GLIBMM_PROPERTIES_ENABLED
    00262
    00263   #ifdef GLIBMM_PROPERTIES_ENABLED
    00264
    00270   Glib::PropertyProxy<bool> property_shaded_background() ;
    00271 #endif //#GLIBMM_PROPERTIES_ENABLED
    00272
    00273 #ifdef GLIBMM_PROPERTIES_ENABLED
    00274
    00280   Glib::PropertyProxy_ReadOnly<bool> property_shaded_background() const;
    00281 #endif //#GLIBMM_PROPERTIES_ENABLED
    00282
    00283   #ifdef GLIBMM_PROPERTIES_ENABLED
    00284
    00290   Glib::PropertyProxy_WriteOnly<Glib::ustring> property_valign() ;
    00291 #endif //#GLIBMM_PROPERTIES_ENABLED
    00292
    00293
    00294   #ifdef GLIBMM_PROPERTIES_ENABLED
    00295
    00301   Glib::PropertyProxy_WriteOnly<Glib::ustring> property_halign() ;
    00302 #endif //#GLIBMM_PROPERTIES_ENABLED
    00303
    00304
    00305   #ifdef GLIBMM_PROPERTIES_ENABLED
    00306
    00312   Glib::PropertyProxy<TextOverlayHAlign> property_halignment() ;
    00313 #endif //#GLIBMM_PROPERTIES_ENABLED
    00314
    00315 #ifdef GLIBMM_PROPERTIES_ENABLED
    00316
    00322   Glib::PropertyProxy_ReadOnly<TextOverlayHAlign> property_halignment() const;
    00323 #endif //#GLIBMM_PROPERTIES_ENABLED
    00324
    00325   #ifdef GLIBMM_PROPERTIES_ENABLED
    00326
    00332   Glib::PropertyProxy<TextOverlayVAlign> property_valignment() ;
    00333 #endif //#GLIBMM_PROPERTIES_ENABLED
    00334
    00335 #ifdef GLIBMM_PROPERTIES_ENABLED
    00336
    00342   Glib::PropertyProxy_ReadOnly<TextOverlayVAlign> property_valignment() const;
    00343 #endif //#GLIBMM_PROPERTIES_ENABLED
    00344
    00345   #ifdef GLIBMM_PROPERTIES_ENABLED
    00346
    00352   Glib::PropertyProxy<int> property_xpad() ;
    00353 #endif //#GLIBMM_PROPERTIES_ENABLED
    00354
    00355 #ifdef GLIBMM_PROPERTIES_ENABLED
    00356
    00362   Glib::PropertyProxy_ReadOnly<int> property_xpad() const;
    00363 #endif //#GLIBMM_PROPERTIES_ENABLED
    00364
    00365   #ifdef GLIBMM_PROPERTIES_ENABLED
    00366
    00372   Glib::PropertyProxy<int> property_ypad() ;
    00373 #endif //#GLIBMM_PROPERTIES_ENABLED
    00374
    00375 #ifdef GLIBMM_PROPERTIES_ENABLED
    00376
    00382   Glib::PropertyProxy_ReadOnly<int> property_ypad() const;
    00383 #endif //#GLIBMM_PROPERTIES_ENABLED
    00384
    00385   #ifdef GLIBMM_PROPERTIES_ENABLED
    00386
    00392   Glib::PropertyProxy<int> property_deltax() ;
    00393 #endif //#GLIBMM_PROPERTIES_ENABLED
    00394
    00395 #ifdef GLIBMM_PROPERTIES_ENABLED
    00396
    00402   Glib::PropertyProxy_ReadOnly<int> property_deltax() const;
    00403 #endif //#GLIBMM_PROPERTIES_ENABLED
    00404
    00405   #ifdef GLIBMM_PROPERTIES_ENABLED
    00406
    00412   Glib::PropertyProxy<int> property_deltay() ;
    00413 #endif //#GLIBMM_PROPERTIES_ENABLED
    00414
    00415 #ifdef GLIBMM_PROPERTIES_ENABLED
    00416
    00422   Glib::PropertyProxy_ReadOnly<int> property_deltay() const;
    00423 #endif //#GLIBMM_PROPERTIES_ENABLED
    00424
    00425   #ifdef GLIBMM_PROPERTIES_ENABLED
    00426
    00432   Glib::PropertyProxy<TextOverlayWrapMode> property_wrap_mode() ;
    00433 #endif //#GLIBMM_PROPERTIES_ENABLED
    00434
    00435 #ifdef GLIBMM_PROPERTIES_ENABLED
    00436
    00442   Glib::PropertyProxy_ReadOnly<TextOverlayWrapMode> property_wrap_mode() const;
    00443 #endif //#GLIBMM_PROPERTIES_ENABLED
    00444
    00445   #ifdef GLIBMM_PROPERTIES_ENABLED
    00446
    00452   Glib::PropertyProxy_WriteOnly<Glib::ustring> property_font_desc() ;
    00453 #endif //#GLIBMM_PROPERTIES_ENABLED
    00454
    00455
    00456   #ifdef GLIBMM_PROPERTIES_ENABLED
    00457
    00463   Glib::PropertyProxy<bool> property_silent() ;
    00464 #endif //#GLIBMM_PROPERTIES_ENABLED
    00465
    00466 #ifdef GLIBMM_PROPERTIES_ENABLED
    00467
    00473   Glib::PropertyProxy_ReadOnly<bool> property_silent() const;
    00474 #endif //#GLIBMM_PROPERTIES_ENABLED
    00475
    00476   #ifdef GLIBMM_PROPERTIES_ENABLED
    00477
    00483   Glib::PropertyProxy<TextOverlayLineAlign> property_line_alignment() ;
    00484 #endif //#GLIBMM_PROPERTIES_ENABLED
    00485
    00486 #ifdef GLIBMM_PROPERTIES_ENABLED
    00487
    00493   Glib::PropertyProxy_ReadOnly<TextOverlayLineAlign> property_line_alignment() const;
    00494 #endif //#GLIBMM_PROPERTIES_ENABLED
    00495
    00496   #ifdef GLIBMM_PROPERTIES_ENABLED
    00497
    00503   Glib::PropertyProxy<bool> property_wait_text() ;
    00504 #endif //#GLIBMM_PROPERTIES_ENABLED
    00505
    00506 #ifdef GLIBMM_PROPERTIES_ENABLED
    00507
    00513   Glib::PropertyProxy_ReadOnly<bool> property_wait_text() const;
    00514 #endif //#GLIBMM_PROPERTIES_ENABLED
    00515
    00516
    00517 public:
    00518
    00519 public:
    00520   //C++ methods used to invoke GTK+ virtual functions:
    00521 #ifdef GLIBMM_VFUNCS_ENABLED
    00522 #endif //GLIBMM_VFUNCS_ENABLED
    00523
    00524 protected:
    00525   //GTK+ Virtual Functions (override these to change behaviour):
    00526 #ifdef GLIBMM_VFUNCS_ENABLED
    00527 #endif //GLIBMM_VFUNCS_ENABLED
    00528
    00529   //Default Signal Handlers::
    00530 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00531 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00532
    00533
    00534 };
    00535
    00536 } //namespace Gst
    00537
    00538
    00539 namespace Glib
    00540 {
    00549   Glib::RefPtr<Gst::TextOverlay> wrap(GstTextOverlay* object, bool take_copy = false);
    00550 }
    00551
    00552
    00553 #endif /* _GSTREAMERMM_TEXTOVERLAY_H */
    00554