annotate scripts/ui/module.mk @ 16508:f19e24c97b20

move common warndlg, errordlg, helpdlg, and msgbox code to private function * message_dialog.m: New file. * scripts/ui/module.mk: Include it in the list of functions. * errordlg.m, helpdlg.m, warndlg.m, msgbox.m: Call message_dialog to do most of the work.
author John W. Eaton <jwe@octave.org>
date Fri, 12 Apr 2013 18:17:26 -0400
parents ff061068a66c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16505
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 FCN_FILE_DIRS += ui
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2
16508
f19e24c97b20 move common warndlg, errordlg, helpdlg, and msgbox code to private function
John W. Eaton <jwe@octave.org>
parents: 16505
diff changeset
3 ui_PRIVATE_FCN_FILES = \
f19e24c97b20 move common warndlg, errordlg, helpdlg, and msgbox code to private function
John W. Eaton <jwe@octave.org>
parents: 16505
diff changeset
4 ui/private/message_dialog.m
f19e24c97b20 move common warndlg, errordlg, helpdlg, and msgbox code to private function
John W. Eaton <jwe@octave.org>
parents: 16505
diff changeset
5
16505
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 ui_FCN_FILES = \
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 ui/errordlg.m \
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 ui/helpdlg.m \
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 ui/inputdlg.m \
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 ui/listdlg.m \
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 ui/msgbox.m \
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 ui/questdlg.m \
16508
f19e24c97b20 move common warndlg, errordlg, helpdlg, and msgbox code to private function
John W. Eaton <jwe@octave.org>
parents: 16505
diff changeset
13 ui/warndlg.m \
f19e24c97b20 move common warndlg, errordlg, helpdlg, and msgbox code to private function
John W. Eaton <jwe@octave.org>
parents: 16505
diff changeset
14 $(ui_PRIVATE_FCN_FILES)
16505
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 FCN_FILES += $(ui_FCN_FILES)
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 PKG_ADD_FILES += ui/PKG_ADD
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19
ff061068a66c move dialog files to separate directory
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 DIRSTAMP_FILES += ui/$(octave_dirstamp)