Changeset 1e43dec in tol for tolbase/lib/toltk
- Timestamp:
- May 25, 2015, 8:00:31 AM (11 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- ee9644c
- Parents:
- 53456bc
- Location:
- tolbase/lib/toltk
- Files:
-
- 6 added
- 3 edited
-
images/splash-gnu.gif (added)
-
images/splash-msvc.gif (added)
-
images/splash.gif (modified) (previous)
-
images/tolbase-gnu-64.xbm (added)
-
images/tolbase-gnu.ico (added)
-
images/tolbase-msvc.ico (added)
-
images/tolbase.ico (added)
-
project.tcl (modified) (3 diffs)
-
tolbase.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/lib/toltk/project.tcl
r53456bc r1e43dec 128 128 129 129 # Gives a name for the application 130 set prjtitle "TOLBase" 130 # tol platform selection 131 array set tol_platform [lindex [toltcl::eval {PlatformInfo(?)} -named 1] 1] 132 if {$tol_platform(CompilerID) eq "GNU"} { 133 set prjtitle "TOLBase (GNU)" 134 } elseif {$tol_platform(CompilerID) eq "MSVC"} { 135 set prjtitle "TOLBase (MSVC)" 136 } else { 137 set prjtitle "TOLBase" 138 } 139 131 140 if { [info exists projects(Project,title)] && $projects(Project,title) ne "" } { 132 141 set prjtitle $projects(Project,title) … … 144 153 pack $widgets(mainmdi) -fill both -expand yes -side bottom 145 154 bind . <Control-Tab> "[list $widgets(mainmdi) cicle]; break" 155 156 #(pgea) se adelanta para no ver el icono de TK intermedio 157 if { [string equal $tcl_platform(platform) "unix"] } { 158 wm iconbitmap . "@[file join $toltk_images_path tolbase-gnu-64.xbm]" 159 } else { 160 # tol platform selection 161 if {$tol_platform(CompilerID) eq "GNU"} { 162 wm iconbitmap . -default [file join $toltk_images_path tolbase-gnu.ico] 163 } elseif {$tol_platform(CompilerID) eq "MSVC"} { 164 wm iconbitmap . -default [file join $toltk_images_path tolbase-msvc.ico] 165 } else { 166 wm iconbitmap . -default [file join $toltk_images_path tolbase.ico] 167 } 168 } 169 146 170 ::TolConsole::MainFrame $widgets(mainmdi) [TolConReq] 147 171 # … … 156 180 $widgets(mainmenu) draw 157 181 158 if { [string equal $tcl_platform(platform) "unix"] } {159 wm iconbitmap . "@[file join $toltk_images_path bayes.xbm]"160 } else {161 wm iconbitmap . -default [file join $toltk_images_path bayes.ico]162 }163 182 if { [TolConReq] } { 164 183 ::TolInspector::Busy -
tolbase/lib/toltk/tolbase.tcl
r53456bc r1e43dec 1319 1319 global GuiVersionInfo 1320 1320 1321 set imgfile [file join $toltk_library toltk images splash.gif] 1321 # tol platform selection 1322 array set tol_platform [lindex [toltcl::eval {PlatformInfo(?)} -named 1] 1] 1323 if {$tol_platform(CompilerID) eq "GNU"} { 1324 set imgfile [file join $toltk_library toltk images splash-gnu.gif] 1325 } elseif {$tol_platform(CompilerID) eq "MSVC"} { 1326 set imgfile [file join $toltk_library toltk images splash-msvc.gif] 1327 } else { 1328 set imgfile [file join $toltk_library toltk images splash.gif] 1329 } 1322 1330 set img [image create photo -file $imgfile] 1323 1331 toplevel $w
Note: See TracChangeset
for help on using the changeset viewer.
