annotate lwlib/lwlib-Xm.h @ 87591:4e970ff2f991

* progmodes/verilog-mode.el (top-level): Don't require compile. (compilation-error-regexp-alist, compilation-last-buffer): Define for compiler. (verilog-insert-1): New function. (verilog-insert-indices, verilog-generate-numbers): Doc fixes. Use verilog-insert-1. (verilog-surelint-off): Use next-error-last-buffer if bound. Check compile buffer is live. * progmodes/verilog-mode.el: Replace all instances of string-to-int with string-to-number, insert-string with insert, and read-input with read-string. (top-level): No need to require imenu, reporter, dinotrace, vc, font-lock when compiling. Always require compile. Relegate remaining compatibility cruft to XEmacs. Don't require font-lock. (verilog-version): Remove superfluous concat. (dinotrace-unannotate-all, zmacs-activate-region, customize-apropos): No need to define. (verilog-regexp-opt): On Emacs, just make it an alias for regexp-opt. (verilog-font-lock-keywords, verilog-font-lock-keywords-1) (verilog-font-lock-keywords-2, verilog-font-lock-keywords-3) (verilog-startup-message-displayed): These are variables, not constants. (verilog-batch-execute-func, verilog-auto-inst) (verilog-auto-inst-param): Use mapc rather than mapcar. (sigs-in, sigs-inout, sigs-out): Define for compiler rather than actually defining. (verilog-modi-get-decls, verilog-modi-get-sub-decls) (verilog-modi-get-outputs, verilog-modi-get-inouts) (verilog-modi-get-inputs, verilog-modi-get-wires) (verilog-modi-get-regs, verilog-modi-get-assigns) (verilog-modi-get-consts, verilog-modi-get-gparams) (verilog-modi-get-sub-outputs, verilog-modi-get-sub-inouts) (verilog-modi-get-sub-inputs): Move inline functions earlier in the file. (sigs-in, sigs-out): Don't declare multiple times. (got-sig, got-rvalue, uses-delayed): Define for compiler with just `defvar'. (verilog-auto): Call dinotrace-unannotate-all only if bound. (verilog-module-inside-filename-p): No need to wrap fboundp test in condition-case. (reporter-submit-bug-report): Autoload it. (verilog-mark-defun): Call zmacs-activate-region only if bound. (verilog-font-customize): Call customize-apropos only if bound. (verilog-getopt-flags, verilog-auto-reeval-locals): Use make-local-variable rather than make-variable-buffer-local. (verilog-company, verilog-project, verilog-modi-cache-list): Move make-variable-buffer-local calls to top-level. (font-lock-defaults-alist): Don't define it. (verilog-need-fld): Remove. (verilog-font-lock-init): Don't set font-lock-defaults-alist. (verilog-mode): Only call make-local-hook on XEmacs. Set font-lock-defaults rather than using verilog-font-lock-init.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 05 Jan 2008 10:23:27 +0000
parents 2b21fb87e10a
children ec58e5c426ef e16f43875a48
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
60666
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
1 /* The lwlib interface to Motif widgets.
76176
90400c6ecd12 Remove FSF copyright since file does not differ significantly from
Glenn Morris <rgm@gnu.org>
parents: 75250
diff changeset
2 Copyright (C) 1992 Lucid, Inc.
60666
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
3
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
4 This file is part of the Lucid Widget Library.
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
5
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
6 The Lucid Widget Library is free software; you can redistribute it and/or
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
7 modify it under the terms of the GNU General Public License as published by
76215
2b21fb87e10a Lucid Widget Library was released under GPLv1 or later.
Glenn Morris <rgm@gnu.org>
parents: 76176
diff changeset
8 the Free Software Foundation; either version 1, or (at your option)
60666
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
9 any later version.
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
10
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
11 The Lucid Widget Library is distributed in the hope that it will be useful,
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
14 GNU General Public License for more details.
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
15
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
16 You should have received a copy of the GNU General Public License
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 60666
diff changeset
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 60666
diff changeset
19 Boston, MA 02110-1301, USA. */
60666
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
20
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 #ifndef LWLIB_XM_H
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 #define LWLIB_XM_H
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23
5627
7ff2d6076466 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
24 #include "lwlib-int.h"
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 extern widget_creation_entry xm_creation_table [];
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 29466
diff changeset
28 Widget
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
29 xm_create_dialog __P ((widget_instance* instance));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 Boolean
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
32 lw_motif_widget_p __P ((Widget widget));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
35 xm_update_one_widget __P ((widget_instance* instance, Widget widget,
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
36 widget_value* val, Boolean deep_p));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
39 xm_update_one_value __P ((widget_instance* instance, Widget widget,
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
40 widget_value* val));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
43 xm_destroy_instance __P ((widget_instance* instance));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
46 xm_set_keyboard_focus __P ((Widget parent, Widget w));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
49 xm_popup_menu __P ((Widget widget, XEvent *event));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
52 xm_pop_instance __P ((widget_instance* instance, Boolean up));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53
9091
557a04cd151b entered into RCS
Paul Reilly <pmr@pajato.com>
parents: 5627
diff changeset
54 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
55 xm_set_main_areas __P ((Widget parent, Widget menubar, Widget work_area));
9091
557a04cd151b entered into RCS
Paul Reilly <pmr@pajato.com>
parents: 5627
diff changeset
56
9225
9e28a8ef9cad Declare xm_set_main_areas() and xm_manage_resizing().
Paul Reilly <pmr@pajato.com>
parents: 9091
diff changeset
57 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
58 xm_manage_resizing __P ((Widget w, Boolean flag));
9225
9e28a8ef9cad Declare xm_set_main_areas() and xm_manage_resizing().
Paul Reilly <pmr@pajato.com>
parents: 9091
diff changeset
59
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 #endif /* LWLIB_XM_H */
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
61
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
62 /* arch-tag: 61561304-c146-437b-8ed3-dc33818703c6
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
63 (do not change this comment) */