Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Removed padx from buttons. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
81361a44c9c0837bf28d5c46537bc101 |
User & Date: | peter 2008-01-23 16:59:06.000 |
Context
2008-01-23
| ||
17:00 | Updated link to pdf4tcl. check-in: 91fa68e9d7 user: peter tags: trunk | |
16:59 | Removed padx from buttons. check-in: 81361a44c9 user: peter tags: trunk | |
16:56 | Include file names in dir tree, to see struture better. check-in: 2803ddb92f user: peter tags: trunk | |
Changes
Changes to src/eskil.tcl.
︙ | ︙ | |||
2980 2981 2982 2983 2984 2985 2986 | pack .fo.ls.sp -fill both -expand 1 label .fo.le -text "Example\n0Ooi1Il" -anchor w -font tmpfont -width 1 \ -justify left if {![info exists ::diff(fixedfont)]} {set ::diff(fixedfont) 1} checkbutton .fo.cb -text "Fixed" -variable ::diff(fixedfont) \ -command [list UpdateFontBox $lb] | | | | | | | | 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 | pack .fo.ls.sp -fill both -expand 1 label .fo.le -text "Example\n0Ooi1Il" -anchor w -font tmpfont -width 1 \ -justify left if {![info exists ::diff(fixedfont)]} {set ::diff(fixedfont) 1} checkbutton .fo.cb -text "Fixed" -variable ::diff(fixedfont) \ -command [list UpdateFontBox $lb] button .fo.bo -text "Ok" -command "applyFont $lb ; destroy .fo" button .fo.ba -text "Apply" -command "applyFont $lb" button .fo.bc -text "Close" -command "destroy .fo" if {![info exists FontCache]} { set fam [lsort -dictionary [font families]] font create testfont foreach f $fam { if {![string equal $f ""]} { font configure testfont -family $f lappend FontCache $f [font metrics testfont -fixed] } } font delete testfont } UpdateFontBox $lb destroy .fo.ltmp grid .fo.lf .fo.ls -sticky news -padx 3 -pady 3 grid x .fo.cb -sticky nwe -padx 3 -pady 3 grid x .fo.bo -sticky we -padx 3 -pady 3 -ipadx 10 grid x .fo.ba -sticky we -padx 3 -pady 3 -ipadx 10 grid x .fo.bc -sticky we -padx 3 -pady 3 -ipadx 10 grid .fo.le - -sticky nwe -padx 3 -pady 3 grid .fo.lf -sticky news -rowspan 5 grid columnconfigure .fo 0 -weight 1 grid rowconfigure .fo 1 -weight 1 exampleFont $lb } |
︙ | ︙ | |||
3695 3696 3697 3698 3699 3700 3701 | # Directory diff options set Pref(dir,comparelevel) 1 set Pref(dir,ignorekey) 0 set Pref(dir,incfiles) "" set Pref(dir,exfiles) "*.o" set Pref(dir,incdirs) "" | | | 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 | # Directory diff options set Pref(dir,comparelevel) 1 set Pref(dir,ignorekey) 0 set Pref(dir,incfiles) "" set Pref(dir,exfiles) "*.o" set Pref(dir,incdirs) "" set Pref(dir,exdirs) "RCS CVS .git .svn" set Pref(dir,onlyrev) 0 # Backward compatibilty option set Pref(onlydiffs) -1 set ::diff(filter) "" |
︙ | ︙ |
Changes to src/print.tcl.
︙ | ︙ | |||
445 446 447 448 449 450 451 | radiobutton .pr.r4 -text "C" -variable diff(prettyPrint) -value "c" frame .pr.fs radiobutton .pr.fs.r1 -text "80 char" -variable Pref(wideLines) -value 0 radiobutton .pr.fs.r2 -text "95 char" -variable Pref(wideLines) -value 1 pack .pr.fs.r1 .pr.fs.r2 -side left -padx 10 | | | < | | 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 | radiobutton .pr.r4 -text "C" -variable diff(prettyPrint) -value "c" frame .pr.fs radiobutton .pr.fs.r1 -text "80 char" -variable Pref(wideLines) -value 0 radiobutton .pr.fs.r2 -text "95 char" -variable Pref(wideLines) -value 1 pack .pr.fs.r1 .pr.fs.r2 -side left -padx 10 button .pr.b1 -text "Print to File" \ -command "destroy .pr; update; PrintDiffs $top" button .pr.b2 -text "Cancel" -command {destroy .pr} grid .pr.l1 - - -sticky we grid .pr.l2 - - -sticky we grid .pr.s1 - - -sticky we grid .pr.s2 - - -sticky we grid .pr.f - - -sticky we grid .pr.fs - - -sticky we grid .pr.b1 x .pr.b2 -sticky we -padx 5 -pady 5 -ipadx 5 grid columnconfigure .pr {0 2} -uniform a grid columnconfigure .pr 1 -weight 1 pack .pr.r1 .pr.r2 .pr.r3 .pr.r4 -in .pr.f -side left -fill x -expand 1 } # Count the length of a line during a text dump |
︙ | ︙ | |||
535 536 537 538 539 540 541 | -command [list BrowsePrintFileName $top .pr.fne] if {$::diff($top,printFile) eq ""} { set ::diff($top,printFile) "~/eskil.pdf" } frame .pr.fb | | | < | | | 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 | -command [list BrowsePrintFileName $top .pr.fne] if {$::diff($top,printFile) eq ""} { set ::diff($top,printFile) "~/eskil.pdf" } frame .pr.fb button .pr.b1 -text "Print to File" \ -command "destroy .pr; update; PrintDiffs $top 0 1" button .pr.b2 -text "Cancel" -command {destroy .pr} pack .pr.b1 -in .pr.fb -side left -padx 3 -pady 3 -ipadx 5 pack .pr.b2 -in .pr.fb -side right -padx 3 -pady 3 -ipadx 5 grid .pr.hsl .pr.hss -sticky we -padx 3 -pady 3 grid .pr.cll .pr.cle .pr.clf -sticky we -padx 3 -pady 3 grid .pr.fnl .pr.fne - .pr.fnb -sticky we -padx 3 -pady 3 grid .pr.fb - - - -sticky we -padx 3 -pady 3 grid columnconfigure .pr 2 -weight 1 } |