delete no need output
This commit is contained in:
parent
555f5a551d
commit
f91b9cf2f0
|
@ -13,17 +13,17 @@ auto GUI_Window::handle(int e) -> int {
|
|||
mouse_status |= Mouse_Status::left_down;
|
||||
this->child(2)->label("Event:Mouse Left Down");
|
||||
vkvm::callEvent(vkvm::EventType::MouseLeftDown);
|
||||
std::cout<<mouse_status<<std::endl;
|
||||
// std::cout<<mouse_status<<std::endl;
|
||||
} else if (Fl::event_button() == FL_RIGHT_MOUSE) {
|
||||
mouse_status |= Mouse_Status::right_down;
|
||||
this->child(2)->label("Event:Mouse Right Down");
|
||||
vkvm::callEvent(vkvm::EventType::MouseRightDown);
|
||||
std::cout<<mouse_status<<std::endl;
|
||||
// std::cout<<mouse_status<<std::endl;
|
||||
} else {
|
||||
mouse_status |= Mouse_Status::middle_down;
|
||||
this->child(2)->label("Event:Mouse Middle Down");
|
||||
vkvm::callEvent(vkvm::EventType::MouseMiddleDown);
|
||||
std::cout<<mouse_status<<std::endl;
|
||||
// std::cout<<mouse_status<<std::endl;
|
||||
}
|
||||
return 1;
|
||||
/*Mousebutton and movement*/
|
||||
|
@ -35,17 +35,17 @@ auto GUI_Window::handle(int e) -> int {
|
|||
mouse_status &= Mouse_Status::left_up;
|
||||
this->child(2)->label("Event:Mouse Left Up");
|
||||
vkvm::callEvent(vkvm::EventType::MouseLeftUp);
|
||||
std::cout<<mouse_status<<std::endl;
|
||||
// std::cout<<mouse_status<<std::endl;
|
||||
} else if (Fl::event_button() == FL_RIGHT_MOUSE) {
|
||||
mouse_status &= Mouse_Status::right_up;
|
||||
this->child(2)->label("Event:Mouse Right Up");
|
||||
vkvm::callEvent(vkvm::EventType::MouseRightUp);
|
||||
std::cout<<mouse_status<<std::endl;
|
||||
// std::cout<<mouse_status<<std::endl;
|
||||
} else {
|
||||
mouse_status &= Mouse_Status::middle_up;
|
||||
this->child(2)->label("Event:Mouse Middle Up");
|
||||
vkvm::callEvent(vkvm::EventType::MouseMiddleUp);
|
||||
std::cout<<mouse_status<<std::endl;
|
||||
// std::cout<<mouse_status<<std::endl;
|
||||
}
|
||||
return 1;
|
||||
case FL_DRAG:
|
||||
|
|
Loading…
Reference in New Issue