blob: d1f5f7239493d10dd72e5e226c08b2e83af43e47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Memory display preferences window class definition for GDBtk.
# Copyright (C) 1998, 1999 Cygnus Solutions
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License (GPL) as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
itcl::class MemPref {
inherit ModalDialog ManagedWin
public {
variable win
variable size
variable format
variable numbytes
variable bpr
variable ascii
variable ascii_char
variable color
method constructor {args}
method destructor {}
method busy {}
method idle {}
method cancel {}
method set_bytes_per_row {w value}
method check_numbytes {var index mode}
method toggle_size_control {}
method apply {}
method enable_format {}
method disable_format {}
method pick {lab}
method reconfig {}
}
private {
# The next seven variables are all used in the radio-buttons
# and checkbuttons of the display.
variable gsize
variable gformat
variable gnumbytes
variable gbpr
variable gbprlist
variable gascii
variable gascii_char
variable gvar
variable Widgets
variable WidgetState
variable format_disabled 0
variable old_numbytes
variable normal_background
method build_win {}
method ok {}
}
protected {
common float_size ""
common double_size ""
common default_numbytes 128
}
}
|