Re: FYI: GtkText design progress



Danny Dulai wrote:

> On 12/27/99, Derek Simkowiak said:
> >
> >       Instead, we use a "property list".  The property list is a
> >doubly-linked list of TextProperty structs.  A TextProperty struct is
> >defined as:
> >
> >struct _TextProperty
> >{
> >  /* Font. */
> >  GtkSCTextFont* font;
> >
> >  /* Background Color. */
> >  GdkColor back_color;
> >
> >  /* Foreground Color. */
> >  GdkColor fore_color;
> >
> >  /* Show which properties are set */
> >  TextPropertyFlags flags;
> >
> >  /* Length of this property. */
> >  guint length;
> >
> >  /* user data */
> >  gpointer user_data;
> >};
> >
> >       [...and just FYI:]
> >
> >typedef enum {
> >  PROPERTY_FONT =       1 << 0,
> >  PROPERTY_FOREGROUND = 1 << 1,
> >  PROPERTY_BACKGROUND = 1 << 2,
> >  PROPERTY_DATA =       1 << 3
> >} TextPropertyFlags;
>
> Please don't forget a way to underline text! Fonts can't be underlined!

I also would like an official 'erroneous input' indicator.  Star Office uses
a red squiggly underline for misspelled words.  I think we should have
something similar.

>
>
> --
> ___________________________________________________________________________
> Danny Dulai                                           Feet. Pumice. Lotion.
> http://www.ishiboo.com/~nirva/                            nirva@ishiboo.com
>

Kent




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]