~ubuntu-branches/ubuntu/wily/atkmm1.6/wily

« back to all changes in this revision

Viewing changes to atk/atkmm/text.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2011-11-17 02:28:10 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20111117022810-0fcs3rpkgi0zmofe
Tags: 2.22.6-1
* New upstream release.
* debian/watch:
  - Track .xz tarballs.
* Stop installing libtool .la files.
* Bump Standards-Version to 3.9.2. No further changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#define _ATKMM_TEXT_H
5
5
 
6
6
 
7
 
#include <glibmm.h>
 
7
#include <glibmm/ustring.h>
 
8
#include <sigc++/sigc++.h>
8
9
 
9
10
/* $Id: text.hg,v 1.7 2005/01/05 18:21:30 murrayc Exp $ */
10
11
 
27
28
 
28
29
 
29
30
#include <atkmm/component.h> /* for Atk::CoordType */
 
31
#include <glibmm/slisthandle.h>
30
32
#include <atk/atktext.h>
31
33
 
32
34
 
328
330
  ///Provides access to the underlying C GObject.
329
331
  AtkText*       gobj()       { return reinterpret_cast<AtkText*>(gobject_); }
330
332
 
331
 
  ///Provides access to the underlying C GObject.  
 
333
  ///Provides access to the underlying C GObject.
332
334
  const AtkText* gobj() const { return reinterpret_cast<AtkText*>(gobject_); }
333
335
 
334
336
private:
622
624
   * @param coord_type Specify whether coordinates are relative to the screen or widget window.
623
625
   * @param rect A pointer to a AtkTextRectangle which is filled in by this function.
624
626
   */
625
 
  void get_range_extents(int start_offset, int end_offset,
626
 
                                      CoordType coord_type,
627
 
                                      Rectangle& rect);
 
627
  void get_range_extents(int start_offset, int end_offset, CoordType coord_type, Rectangle& rect);
628
628
  
629
629
  /** Get the ranges of text in the specified bounding box.
630
630
   * 
636
636
   * @return Array of AtkTextRange. The last element of the array returned 
637
637
   * by this function will be <tt>0</tt>.
638
638
   */
639
 
  AtkTextRange** get_bounded_ranges(const Rectangle& rect, CoordType coord_type,
640
 
                                                 TextClipType x_clip_type, TextClipType y_clip_type);
 
639
  AtkTextRange** get_bounded_ranges(const Rectangle& rect, CoordType coord_type, TextClipType x_clip_type, TextClipType y_clip_type);
641
640
                                                           
642
641
 
643
642
  /**