Changeset 35586

Show
Ignore:
Timestamp:
08/20/08 13:40:29 (5 months ago)
Author:
pfritz
Message:

formatting

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ewl/src/lib/ewl_text.h

    r35084 r35586  
    7171        void *textblock;          /**< The Evas_Object_Textblock */ 
    7272 
    73         char *text;                  /**< The text itself */ 
     73        char *text;               /**< The text itself */ 
    7474        char *obscure;            /**< The utf8 character to be displayed 
    7575                                       instead of the real text */ 
    7676        struct 
    7777        { 
    78                 unsigned int chars;         /**< Number of characters in the text */ 
    79                 unsigned int bytes;         /**< Number of bytes in the text */ 
    80                 unsigned int max_chars; /**< Maximal number of characters in the text */ 
    81         } length;                         /**< Different text lengths */ 
    82  
    83         unsigned int total_size;         /**< The total size we've alloc'd for text */ 
    84         unsigned int cursor_position;         /**< The cursor position */ 
     78                unsigned int chars;     /**< Number of characters in the text */ 
     79                unsigned int bytes;     /**< Number of bytes in the text */ 
     80                unsigned int max_chars; /**< Maximal number of characters in  
     81                                                the text */ 
     82        } length;                 /**< Different text lengths */ 
     83 
     84        unsigned int total_size;  /**< The total size we've alloc'd for text */ 
     85        unsigned int cursor_position;   /**< The cursor position */ 
    8586 
    8687        struct 
    8788        { 
    88                 void *nodes;        /**< The formatting nodes */ 
    89                 void *tx;        /**< The current formatting context */ 
    90         } formatting;                  /**< Holds the formatting information */ 
    91  
    92         Ecore_List *triggers;            /**< The list of triggers */ 
     89                void *nodes;      /**< The formatting nodes */ 
     90                void *tx;         /**< The current formatting context */ 
     91        } formatting;             /**< Holds the formatting information */ 
     92 
     93        Ecore_List *triggers;     /**< The list of triggers */ 
    9394        Ecore_List *areas_cache;  /**< unused areas */ 
    94         Ewl_Widget *selection;          /**< The current selection */ 
     95        Ewl_Widget *selection;    /**< The current selection */ 
    9596 
    9697        struct 
    9798        { 
    98                 int x;                         /**< X offset for layout */ 
    99                 int y;                         /**< Y offset for layout */ 
    100         } offset;                        /**< Layout offset values */ 
    101  
    102         unsigned char delete_count;          /**< Number of deletes */ 
    103         unsigned char in_select;          /**< Are we in select mode? */ 
    104  
    105         unsigned char selectable;          /**< Is the text selectable? */ 
    106         unsigned char dirty;                    /**< Does the text need layout? */ 
     99                int x;            /**< X offset for layout */ 
     100                int y;            /**< Y offset for layout */ 
     101        } offset;                 /**< Layout offset values */ 
     102 
     103        unsigned char delete_count;     /**< Number of deletes */ 
     104        unsigned char in_select;        /**< Are we in select mode? */ 
     105 
     106        unsigned char selectable;       /**< Is the text selectable? */ 
     107        unsigned char dirty;            /**< Does the text need layout? */ 
    107108}; 
    108109