Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sulje ohjelma escillä myös WaitKeyn kohdalla #84

Closed
aXu-AP opened this issue Jun 10, 2012 · 3 comments
Closed

Sulje ohjelma escillä myös WaitKeyn kohdalla #84

aXu-AP opened this issue Jun 10, 2012 · 3 comments
Labels

Comments

@aXu-AP
Copy link

aXu-AP commented Jun 10, 2012

Tällä hetkellähän ohjelma voidaan sulkea escillä vain DrawScreenin kohdalla. WaitKeyn (ja WaitMouse) kohdalla kuitenkin tarkkaillaan näppäinsyötteitä, joten voisi myös tarkistaa tuon escin painamisen, jos SafeExit on päällä.

//Tämä ohjelma vaatii 2 escin painallusta sulkeutuakseen
WaitKey
Repeat
    DrawScreen
Forever
@valscion
Copy link
Contributor

Mielestäni molemmat jo sammuttavat ohjelman. Wikiä ei vaan ole noiden osalta päivitetty.

@aXu-AP
Copy link
Author

aXu-AP commented Jun 11, 2012

WaitMouse näyttää sittenkin sammuttavan ohjelman, mutta WaitKey ei.

@valscion
Copy link
Contributor

Korjattu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants