Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bos #20256: [CEA 18523] Porting SMESH to int 64 bits
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_TransparencyDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx
b/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx
index b747fcf8259cc434115bddacef8dd545e4971e23..d95676d19b1c88a8d74c2f169eef8a31e7481e02 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
15
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-143,7
+143,7
@@
SMESHGUI_TransparencyDlg::SMESHGUI_TransparencyDlg( SMESHGUI* theModule )
connect( mySMESHGUI, SIGNAL( SignalCloseAllDialogs() ), this, SLOT( ClickOnOk() ) );
connect( mySelectionMgr, SIGNAL( currentSelectionChanged() ), this, SLOT( onSelectionChanged() ) );
connect( mySMESHGUI, SIGNAL( SignalCloseAllDialogs() ), this, SLOT( ClickOnOk() ) );
connect( mySelectionMgr, SIGNAL( currentSelectionChanged() ), this, SLOT( onSelectionChanged() ) );
- myHelpFileName = "transparency
_page
.html";
+ myHelpFileName = "transparency.html";
}
//=================================================================================
}
//=================================================================================
@@
-191,13
+191,14
@@
void SMESHGUI_TransparencyDlg::ClickOnHelp()
//=================================================================================
// function : SetTransparency()
// purpose : Called when value of slider change
//=================================================================================
// function : SetTransparency()
// purpose : Called when value of slider change
-// : or the first time as initilisation
+// : or the first time as initi
a
lisation
//=================================================================================
void SMESHGUI_TransparencyDlg::SetTransparency()
{
if ( myViewWindow ) {
SUIT_OverrideCursor wc;
//=================================================================================
void SMESHGUI_TransparencyDlg::SetTransparency()
{
if ( myViewWindow ) {
SUIT_OverrideCursor wc;
- float opacity = ( 100 - Slider1->value() ) / 100.;
+ //float opacity = ( 100.f - Slider1->value() ) / 100.;
+ float opacity = float( 100 - Slider1->value() ) / 100.;
SALOME_ListIO aList;
mySelectionMgr->selectedObjects( aList );
SALOME_ListIO aList;
mySelectionMgr->selectedObjects( aList );