• R/O
  • SSH
  • HTTPS

haribote: Commit


Commit MetaInfo

Revision179 (tree)
Time2007-03-09 02:57:51
Authorbayside

Log Message

added comment

Change Summary

Incremental Difference

--- haribote/trunk/BayOS/baygui/awt/Component.cpp (revision 178)
+++ haribote/trunk/BayOS/baygui/awt/Component.cpp (revision 179)
@@ -209,6 +209,7 @@
209209 int mouse_y = ((MouseEvent*) e)->getY() - this->ty;
210210 int mouse_m = ((MouseEvent*) e)->getModifiers();
211211
212+ /* マウスが押された・離された */
212213 if (Component::getComponentAt(mouse_x + getX(), mouse_y + getY()) == this) {
213214 MouseEvent* me = new MouseEvent(
214215 e->getSource(),
@@ -224,6 +225,7 @@
224225 }
225226 case KeyEvent::KEY_PRESSED:
226227 case KeyEvent::KEY_RELEASED:
228+ /* キーが押された・離された */
227229 if (this->focused == true) {
228230 processKeyEvent((KeyEvent*) e);
229231 }
Show on old repository browser