Re: CVS: commit msevior abi/src/wp/ap/unix abiwidget.cpp abiwidget.h

From: Martin Sevior <msevior_at_physics.unimelb.edu.au>
Date: Fri Mar 02 2007 - 03:44:59 CET

On Fri, 2007-03-02 at 03:44 +0100, Dominic Lachowicz wrote:
> Shouldn't the set size method take a double or int? And shouldn't set
> family take a const char?
>
> Sorry to nit pick.
>

Good Points.

I'll fix in my next commit.

Cheers

Martin

> Cheers,
> dom
>
> On 3/2/07, cvs@abisource.com <cvs@abisource.com> wrote:
> >
> > Update of /cvsroot/abi/src/wp/ap/unix
> > In directory abiword.snt.utwente.nl:/tmp/cvs-serv2071/src/wp/ap/unix
> >
> > Modified Files:
> > abiwidget.cpp abiwidget.h
> > Log Message:
> >
> > Implement abiwidget methods abi_widget_set_font_size, abi_widget_set_font_name
> >
> >
> > Index: abiwidget.cpp
> > ===================================================================
> > RCS file: /cvsroot/abi/src/wp/ap/unix/abiwidget.cpp,v
> > retrieving revision 1.83
> > retrieving revision 1.84
> > diff -u -d -r1.83 -r1.84
> > --- abiwidget.cpp 27 Jan 2007 12:33:07 -0000 1.83
> > +++ abiwidget.cpp 2 Mar 2007 01:18:59 -0000 1.84
> > @@ -1114,6 +1114,19 @@
> > return TRUE;
> > }
> >
> > +
> > +extern "C" gboolean
> > +abi_widget_set_font_name(AbiWidget * w, gchar * szName)
> > +{
> > + return abi_widget_invoke_ex (w,"fontFamily",szName,0,0);
> > +}
> > +
> > +extern "C" gboolean
> > +abi_widget_set_font_size(AbiWidget * w, gchar * szSize)
> > +{
> > + return abi_widget_invoke_ex (w,"fontSize",szSize,0,0);
> > +}
> > +
> > extern "C" gboolean
> > abi_widget_load_file(AbiWidget * abi, const char * pszFile)
> > {
> >
> > Index: abiwidget.h
> > ===================================================================
> > RCS file: /cvsroot/abi/src/wp/ap/unix/abiwidget.h,v
> > retrieving revision 1.31
> > retrieving revision 1.32
> > diff -u -d -r1.31 -r1.32
> > --- abiwidget.h 27 Jan 2007 12:33:07 -0000 1.31
> > +++ abiwidget.h 2 Mar 2007 01:18:59 -0000 1.32
> > @@ -368,6 +368,8 @@
> >
> > gboolean abi_widget_insert_table(AbiWidget * w, gint32 rows, gint32 cols);
> > gboolean abi_widget_get_mouse_pos(AbiWidget * w, gint32 * x, gint32 * y);
> > + gboolean abi_widget_set_font_name(AbiWidget * w, gchar * szFontName);
> > + gboolean abi_widget_set_font_size(AbiWidget * w, gchar * szFontsize);
> >
> > #ifdef HAVE_BONOBO
> > void abi_widget_set_Bonobo_uic(AbiWidget * abi,BonoboUIComponent * uic);
> >
> > -----------------------------------------------
> > To unsubscribe from this list, send a message to
> > abisource-cvs-commit-request@abisource.com with the word
> > unsubscribe in the message body.
> >
>
>
Received on Fri Mar 2 03:55:40 2007

This archive was generated by hypermail 2.1.8 : Fri Mar 02 2007 - 03:55:40 CET