| 148 | } |
| 149 | |
| 150 | void ThresholdTestApp::draw() |
| 151 | { |
| 152 | gl::clear( Color( 0.1f, 0.1f, 0.15f ) ); |
| 153 | |
| 154 | if( mTexture ) |
| 155 | gl::draw( mTexture ); |
| 156 | |
| 157 | if( mRequestOpenDialog ) { |
| 158 | mRequestOpenDialog = false; |
| 159 | loadFile( getOpenFilePath() ); |
| 160 | } |
| 161 | |
| 162 | if( mShowGui ) |
| 163 | drawGui(); |
| 164 | } |
| 165 | |
| 166 | void ThresholdTestApp::drawGui() |
| 167 | { |
nothing calls this directly
no test coverage detected