1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/vis/bug280_2
aba 4754e16481 0023539: QASelect and QAShiftSelect commands
Replaced QAMoveTo, QASelect and QAShiftSelect draw commands with vmoveto and vselect
Moved vselect and vmoveto draw commands to ViewerTest_ViewerCommands.cxx
Replaced  QAMoveTo and QASelect in test cases. Corrected returned error case result in vselect and vmoveto.
Added commands in ViewerTest_ViewerCommands from QADraw. Edited tests.
QACommands in tests were replaced with ViewerTest commands.
QAxwd command was removed from QADraw. Edited command wzoom and commands from ViewerTest.
Help for ViewerTest commands was edited
Small corrections. Added test cases for polygonal selection.
Small correction of test cases
2013-01-18 14:22:14 +04:00

33 lines
501 B
Plaintext
Executable File

puts "========"
puts "OCC280"
puts "2. Hilighting the object, by moving mouse cursor on it does not hilight the object"
puts "========"
vinit
box b 100 900 300
vdisplay b
vfit
OCC280 0 0
# selected point
set x_coord 218
set y_coord 196
# There is not selection
puts "There is not selection"
checkcolor $x_coord $y_coord 1 1 0
# Move a mouse
puts "Move a mouse"
vmoveto $x_coord $y_coord
# There is a selection
puts "There is a selection"
checkcolor $x_coord $y_coord 0 1 1
set only_screen 1