mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
Adding procedures checkcolor and checkpoint. Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d Allow using command QAAISGetPixelColor2d on WNT Rename test case tests/bugs/vis/bug19619 to pro19619 Added test cases to modalg and moddata
36 lines
545 B
Plaintext
Executable File
36 lines
545 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"
|
|
QAMoveTo $x_coord $y_coord
|
|
QAMoveTo $x_coord $y_coord
|
|
|
|
QAUpdateLights
|
|
|
|
# There is a selection
|
|
puts "There is a selection"
|
|
|
|
checkcolor $x_coord $y_coord 0 1 1
|
|
|
|
set only_screen 1
|
|
|