Mercurial > hg > xemacs-beta
comparison src/console-x-impl.h @ 5128:7be849cb8828 ben-lisp-object
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sun, 07 Mar 2010 02:09:59 -0600 |
parents | a9c41067dd88 5502045ec510 |
children | 97eb4942aec8 |
comparison
equal
deleted
inserted
replaced
5127:a9c41067dd88 | 5128:7be849cb8828 |
---|---|
1 /* Define X specific console, device, and frame object for XEmacs. | 1 /* Define X specific console, device, and frame object for XEmacs. |
2 Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. | 2 Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. |
3 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois. | 3 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois. |
4 Copyright (C) 1996, 2002, 2003 Ben Wing. | 4 Copyright (C) 1996, 2002, 2003 Ben Wing. |
5 Copyright (C) 2010 Didier Verna | |
5 | 6 |
6 This file is part of XEmacs. | 7 This file is part of XEmacs. |
7 | 8 |
8 XEmacs is free software; you can redistribute it and/or modify it | 9 XEmacs is free software; you can redistribute it and/or modify it |
9 under the terms of the GNU General Public License as published by the | 10 under the terms of the GNU General Public License as published by the |
263 Widget menubar_widget; | 264 Widget menubar_widget; |
264 | 265 |
265 /* The widget of the edit portion of this frame; this is an EmacsFrame, | 266 /* The widget of the edit portion of this frame; this is an EmacsFrame, |
266 and the window of this widget is what the redisplay code draws on. */ | 267 and the window of this widget is what the redisplay code draws on. */ |
267 Widget edit_widget; | 268 Widget edit_widget; |
269 /* Position of the edit widget above, for absolute background placement. */ | |
270 int x, y; | |
268 | 271 |
269 /* Lists the widgets above the text area, in the proper order. | 272 /* Lists the widgets above the text area, in the proper order. |
270 Used by the EmacsManager. */ | 273 Used by the EmacsManager. */ |
271 Widget top_widgets[MAX_CONCURRENT_TOP_WIDGETS]; | 274 Widget top_widgets[MAX_CONCURRENT_TOP_WIDGETS]; |
272 int num_top_widgets; | 275 int num_top_widgets; |
358 #define wrap_x_frame(p) wrap_record (p, x_frame) | 361 #define wrap_x_frame(p) wrap_record (p, x_frame) |
359 #define X_FRAME_P(x) RECORDP (x, x_frame) | 362 #define X_FRAME_P(x) RECORDP (x, x_frame) |
360 #endif /* NEW_GC */ | 363 #endif /* NEW_GC */ |
361 #define FRAME_X_DATA(f) FRAME_TYPE_DATA (f, x) | 364 #define FRAME_X_DATA(f) FRAME_TYPE_DATA (f, x) |
362 | 365 |
366 #define FRAME_X_X(f) (FRAME_X_DATA (f)->x) | |
367 #define FRAME_X_Y(f) (FRAME_X_DATA (f)->y) | |
363 #define FRAME_X_SHELL_WIDGET(f) (FRAME_X_DATA (f)->widget) | 368 #define FRAME_X_SHELL_WIDGET(f) (FRAME_X_DATA (f)->widget) |
364 #define FRAME_X_CONTAINER_WIDGET(f) (FRAME_X_DATA (f)->container) | 369 #define FRAME_X_CONTAINER_WIDGET(f) (FRAME_X_DATA (f)->container) |
365 #define FRAME_X_MENUBAR_WIDGET(f) (FRAME_X_DATA (f)->menubar_widget) | 370 #define FRAME_X_MENUBAR_WIDGET(f) (FRAME_X_DATA (f)->menubar_widget) |
366 #define FRAME_X_TEXT_WIDGET(f) (FRAME_X_DATA (f)->edit_widget) | 371 #define FRAME_X_TEXT_WIDGET(f) (FRAME_X_DATA (f)->edit_widget) |
367 #define FRAME_X_TOP_WIDGETS(f) (FRAME_X_DATA (f)->top_widgets) | 372 #define FRAME_X_TOP_WIDGETS(f) (FRAME_X_DATA (f)->top_widgets) |
405 #endif /* XIM_XLIB */ | 410 #endif /* XIM_XLIB */ |
406 #endif /* HAVE_XIM */ | 411 #endif /* HAVE_XIM */ |
407 | 412 |
408 extern struct console_type *x_console_type; | 413 extern struct console_type *x_console_type; |
409 | 414 |
415 void x_get_frame_text_position (struct frame *); | |
416 | |
410 #endif /* HAVE_X_WINDOWS */ | 417 #endif /* HAVE_X_WINDOWS */ |
411 | 418 |
412 #endif /* INCLUDED_console_x_impl_h_ */ | 419 #endif /* INCLUDED_console_x_impl_h_ */ |