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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [gdbtk/] [library/] [globalpref.ith] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# Global preference 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 GlobalPref {
16
  inherit ManagedWin ModalDialog
17
 
18
  private {
19
    variable icondirlist ""
20
    variable Original   ;# Original settings
21
    variable Fonts      ;# List of all available fonts for editing
22
    common tracing_labels
23
    common inited 0
24
    variable tracing_cb
25
 
26
    proc _init {}
27
    method build_win {}
28
    method make_font_item {f name label font_list}
29
    method resize_font_item_height {}
30
    method change_icons {w args}
31
    method wfont_changed  {attribute font w val}
32
    method font_changed {attribute font val}
33
    method toggle_tracing_mode {}
34
    method ok {}
35
    method apply {{deleteMe 0}}
36
    method cancel {}
37
    method toggle_tracing {win}
38
  }
39
 
40
  public {
41
    method constructor {args}
42
    method destructor {}
43
  }
44
 
45
}

powered by: WebSVN 2.1.0

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