comparison src/toolbar-common.c @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents 8ae895c67ce7
children e38acbeb1cae
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
1 /* toolbar implementation -- Generic redisplay interface. 1 /* toolbar implementation -- "Generic" (X or GTK) redisplay interface.
2 Copyright (C) 1995 Board of Trustees, University of Illinois. 2 Copyright (C) 1995 Board of Trustees, University of Illinois.
3 Copyright (C) 1995 Sun Microsystems, Inc. 3 Copyright (C) 1995 Sun Microsystems, Inc.
4 Copyright (C) 1995, 1996 Ben Wing. 4 Copyright (C) 1995, 1996 Ben Wing.
5 Copyright (C) 1996 Chuck Thompson. 5 Copyright (C) 1996 Chuck Thompson.
6 6
28 28
29 #include "faces.h" 29 #include "faces.h"
30 #include "frame.h" 30 #include "frame.h"
31 #include "toolbar.h" 31 #include "toolbar.h"
32 #include "window.h" 32 #include "window.h"
33
34 /* This is used when we need to draw the toolbars ourselves -- on X or GTK.
35 On MS Windows, we use the built-in toolbar controls. */
33 36
34 /* Only a very few things need to differ based on the toolkit used. 37 /* Only a very few things need to differ based on the toolkit used.
35 ** 38 **
36 ** Some of the routines used assert(FRAME_yyy_P(f)) checks, this is 39 ** Some of the routines used assert(FRAME_yyy_P(f)) checks, this is
37 ** now abstracted into __INTERNAL_APPROPRIATENESS_CHECK(). When we 40 ** now abstracted into __INTERNAL_APPROPRIATENESS_CHECK(). When we