Mercurial > pidgin.yaz
comparison pidgin/gtkimhtml.h @ 32472:2f014dbda8a6
Make some gtkimhtml functions private
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 01 Sep 2011 07:27:16 +0000 |
parents | 4676bbc64e36 |
children | 3340d322c8f8 |
comparison
equal
deleted
inserted
replaced
32471:c66910c13433 | 32472:2f014dbda8a6 |
---|---|
425 * @return A new IM/HTML Scalable object with an image. | 425 * @return A new IM/HTML Scalable object with an image. |
426 */ | 426 */ |
427 GtkIMHtmlScalable *gtk_imhtml_image_new(GdkPixbuf *img, const gchar *filename, int id); | 427 GtkIMHtmlScalable *gtk_imhtml_image_new(GdkPixbuf *img, const gchar *filename, int id); |
428 | 428 |
429 /** | 429 /** |
430 * Creates and returns a new GTK+ IM/HTML scalable object with an | |
431 * animated image. | |
432 * | |
433 * @param img A GdkPixbufAnimation of the image to add. | |
434 * @param filename The filename to associate with the image. | |
435 * @param id The id to associate with the image. | |
436 * | |
437 * @return A new IM/HTML Scalable object with an image. | |
438 * | |
439 * @since 2.1.0 | |
440 */ | |
441 /* | |
442 * TODO: All this animation code could be combined much better with | |
443 * the image code. It couldn't be done when it was written | |
444 * because it requires breaking backward compatibility. It | |
445 * would be good to do it for 3.0.0. | |
446 */ | |
447 GtkIMHtmlScalable *gtk_imhtml_animation_new(GdkPixbufAnimation *img, const gchar *filename, int id); | |
448 | |
449 /** | |
450 * Destroys and frees a GTK+ IM/HTML scalable image. | |
451 * | |
452 * @param scale The GTK+ IM/HTML scalable. | |
453 */ | |
454 /* TODO: Is there any reason this isn't private? */ | |
455 void gtk_imhtml_image_free(GtkIMHtmlScalable *scale); | |
456 | |
457 /** | |
458 * Destroys and frees a GTK+ IM/HTML scalable animation. | |
459 * | |
460 * @param scale The GTK+ IM/HTML scalable. | |
461 */ | |
462 /* TODO: Is there any reason this isn't private? */ | |
463 void gtk_imhtml_animation_free(GtkIMHtmlScalable *scale); | |
464 | |
465 /** | |
466 * Rescales a GTK+ IM/HTML scalable image to a given size. | |
467 * | |
468 * @param scale The GTK+ IM/HTML scalable. | |
469 * @param width The new width. | |
470 * @param height The new height. | |
471 */ | |
472 /* TODO: Is there any reason this isn't private? */ | |
473 void gtk_imhtml_image_scale(GtkIMHtmlScalable *scale, int width, int height); | |
474 | |
475 /** | |
476 * Adds a GTK+ IM/HTML scalable image to a given GTK+ IM/HTML at a given iter. | |
477 * | |
478 * @param scale The GTK+ IM/HTML scalable. | |
479 * @param imhtml The GTK+ IM/HTML. | |
480 * @param iter The GtkTextIter at which to add the scalable. | |
481 */ | |
482 /* TODO: Is there any reason this isn't private? */ | |
483 void gtk_imhtml_image_add_to(GtkIMHtmlScalable *scale, GtkIMHtml *imhtml, GtkTextIter *iter); | |
484 | |
485 /** | |
486 * Creates and returns an new GTK+ IM/HTML scalable with a horizontal rule. | 430 * Creates and returns an new GTK+ IM/HTML scalable with a horizontal rule. |
487 * | 431 * |
488 * @return A new IM/HTML Scalable object with an image. | 432 * @return A new IM/HTML Scalable object with an image. |
489 */ | 433 */ |
490 GtkIMHtmlScalable *gtk_imhtml_hr_new(void); | 434 GtkIMHtmlScalable *gtk_imhtml_hr_new(void); |