mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@15886 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5d4811a721
commit
fa78f3d9e0
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ struct MyApp : TopWindow {
|
|||
|
||||
PenInfo pen;
|
||||
|
||||
virtual bool Pen(Point p, const PenInfo& pn, dword keyflags) {
|
||||
virtual bool Pen(Point p, const PenInfo& pn, dword keyflags) override {
|
||||
if(keyflags & K_SHIFT)
|
||||
return false; // let the message to be processed as mouse
|
||||
if(pn.pressure) {
|
||||
|
|
@ -31,7 +31,7 @@ struct MyApp : TopWindow {
|
|||
}
|
||||
}
|
||||
|
||||
virtual void Paint(Draw& w0) {
|
||||
virtual void Paint(Draw& w0) override {
|
||||
DrawPainter w(w0, GetSize());
|
||||
w.Co();
|
||||
w.Clear(SColorPaper());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue