aboutsummaryrefslogtreecommitdiffstats
path: root/src/xwidget.h
diff options
context:
space:
mode:
authorJoakim Verona2011-06-25 22:53:39 +0200
committerJoakim Verona2011-06-25 22:53:39 +0200
commit9fa0e291e866fb7945e18cd2ad8514090c13d510 (patch)
tree7535f7de7040c4200c669bd15c0bf153aa27c597 /src/xwidget.h
parent6716c046071a641da713adf2e1e3d2f583643a9d (diff)
downloademacs-9fa0e291e866fb7945e18cd2ad8514090c13d510.tar.gz
emacs-9fa0e291e866fb7945e18cd2ad8514090c13d510.zip
cleanups + small step towards better lisp interface. use syms rather than ints for xwidget types
Diffstat (limited to 'src/xwidget.h')
-rw-r--r--src/xwidget.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xwidget.h b/src/xwidget.h
index c66568eaac0..9e3d4669056 100644
--- a/src/xwidget.h
+++ b/src/xwidget.h
@@ -14,9 +14,11 @@ int valid_xwidget_p (Lisp_Object object) ;
14each xwidget instance/model is described by this struct. 14each xwidget instance/model is described by this struct.
15 */ 15 */
16struct xwidget{ 16struct xwidget{
17 int id; 17 Lisp_Object plist;//auxilliary data
18 int type; 18 Lisp_Object type;//the widget type
19 char* title; 19
20 int id; // id is stored inside the struct which is conveniont in some cases
21 char* title;//a title that is used for button labels for instance
20 22
21 23
22 int height; 24 int height;