Mercurial > mercurial > hgweb_madnm.cgi
comparison src/custom.cpp @ 2:45d4fd954c31 default tip
change layout.
| author | pyon@macmini |
|---|---|
| date | Mon, 10 Jun 2019 22:17:33 +0900 |
| parents | f40a65687079 |
| children |
comparison
equal
deleted
inserted
replaced
| 1:f40a65687079 | 2:45d4fd954c31 |
|---|---|
| 1 // Filename : custom.cpp | 1 // Filename : custom.cpp |
| 2 // Last Change: 2019-06-09 Sun 16:57:44. | 2 // Last Change: 2019-06-10 ŒŽ 12:52:05. |
| 3 // | 3 // |
| 4 | 4 |
| 5 #include "id.h" | 5 #include "id.h" |
| 6 #include "appconf.h" | 6 #include "appconf.h" |
| 7 #include "custom.h" | 7 #include "custom.h" |
| 27 /* Event Handlers & Functions */ | 27 /* Event Handlers & Functions */ |
| 28 // Event Handlers | 28 // Event Handlers |
| 29 void LookWindow::OnPaint( wxPaintEvent &event ) | 29 void LookWindow::OnPaint( wxPaintEvent &event ) |
| 30 { | 30 { |
| 31 LoadImage(); | 31 LoadImage(); |
| 32 DoMask1(); | |
| 33 if ( m_masknum == 2 ) DoMask2(); | |
| 32 } | 34 } |
| 33 | 35 |
| 34 void LookWindow::OnMotion( wxMouseEvent &event ) | 36 void LookWindow::OnMotion( wxMouseEvent &event ) |
| 35 { | 37 { |
| 36 if ( event.Dragging() && event.LeftIsDown() ) { | 38 if ( event.Dragging() && event.LeftIsDown() ) { |
