OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [gdbtcl/] [mempref.ith] - Blame information for rev 578

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.