~azzar1/nux/please-dont-focus-me-on-mouse-down

« back to all changes in this revision

Viewing changes to Nux/PangoText.cpp

  • Committer: Tarmac
  • Author(s): Jay Taoko
  • Date: 2012-01-03 04:09:51 UTC
  • mfrom: (531.1.1 nux-today)
  • Revision ID: tarmac-20120103040951-0xbi8f10w440loqz
* Removed API:
   GraphicsDisplay& GetWindow();
   GraphicsEngine& GetGraphicsEngine();
   NThread* GetThreadApplication();
   WindowThread* GetGraphicsThread();

* Modified code to to use GetWindowThread() to access its internal objects.

* Added tests:
   - WindowThread
   - StaticText
. Fixes: . Appoved by Jason Smith.

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
//       typedef struct {
279
279
//         PangoLayout *layout;
280
280
//         gint         start_index;            // start of line as byte index into layout->text.
281
 
//         gint         length;                       // length of line in bytes.
 
281
//         gint         length;                 // length of line in bytes.
282
282
//         GSList      *runs;                   // a list containing the runs of the line in visual order.
283
283
//         guint        is_paragraph_start : 1; // TRUE if this is the first line of the paragraph.
284
284
//         guint        resolved_dir : 3;       // Resolved direction of line.