Changeset 1e43dec in tol for tolbase/lib/toltk/tolbase.tcl


Ignore:
Timestamp:
May 25, 2015, 8:00:31 AM (11 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
ee9644c
Parents:
53456bc
Message:

Refs #1827
Se incorporan nuevos iconos para TOLBase 3.2. Se hace diferencia entre el TOL compilado con GNU-GCC (MinGW en Windows) y el TOL con MSVC.
Se introducen cambios en TOLBase para adoptar estas nuevas imágenes.

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@6723 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/toltk/tolbase.tcl

    r53456bc r1e43dec  
    13191319  global GuiVersionInfo
    13201320
    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  }
    13221330  set img [image create photo -file $imgfile]
    13231331  toplevel $w
Note: See TracChangeset for help on using the changeset viewer.