]> git.decadent.org.uk Git - ion3.git/blobdiff - ioncore/infowin.h
Update cfg_kludge_flash for Flash 10
[ion3.git] / ioncore / infowin.h
index c57dd01cf7aee5b90f93acc09306ad21f66b6f6a..e7a450e46547721f553f96441da3bddc6db96c76 100644 (file)
@@ -1,12 +1,9 @@
 /*
  * ion/ioncore/infowin.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2006
+ * Copyright (c) Tuomo Valkonen 1999-2009
  *
- * Ion is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
  */
 
 #ifndef ION_IONCORE_INFOWIN_H
@@ -23,8 +20,8 @@ DECLCLASS(WInfoWin){
     WWindow wwin;
     GrBrush *brush;
     char *buffer;
-    char *attr;
     char *style;
+    GrStyleSpec attr;
 };
 
 #define INFOWIN_BRUSH(INFOWIN) ((INFOWIN)->brush)
@@ -37,8 +34,8 @@ extern WInfoWin *create_infowin(WWindow *parent, const WFitParams *fp,
 
 extern void infowin_deinit(WInfoWin *p);
 
-extern void infowin_set_text(WInfoWin *p, const char *s);
-extern bool infowin_set_attr2(WInfoWin *p, const char *a1, const char *a2);
+extern void infowin_set_text(WInfoWin *p, const char *s, int maxw);
+extern GrStyleSpec *infowin_stylespec(WInfoWin *p);
 
 extern WRegion *infowin_load(WWindow *par, const WFitParams *fp, ExtlTab tab);