Text archives Help
- From: abe@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r388 - in branches/itanium2: Engine/Display fox
- Date: Thu, 16 Jun 2005 04:07:13 -0600 (MDT)
Author: abe
Date: Thu Jun 16 04:07:11 2005
New Revision: 388
Modified:
branches/itanium2/Engine/Display/GLXImageDisplay.cc
branches/itanium2/fox/FMantaImageFrame.cc
Log:
M fox/FMantaImageFrame.cc
M Engine/Display/GLXImageDisplay.cc
Small change to demonstrate that the mouse handler is getting events...
Modified: branches/itanium2/Engine/Display/GLXImageDisplay.cc
==============================================================================
--- branches/itanium2/Engine/Display/GLXImageDisplay.cc (original)
+++ branches/itanium2/Engine/Display/GLXImageDisplay.cc Thu Jun 16 04:07:11
2005
@@ -37,7 +37,6 @@
std::cout << "setupDisplayChannel" << context.proc << std::endl;
-
// Only the display processor.
if (context.proc != 0)
return;
Modified: branches/itanium2/fox/FMantaImageFrame.cc
==============================================================================
--- branches/itanium2/fox/FMantaImageFrame.cc (original)
+++ branches/itanium2/fox/FMantaImageFrame.cc Thu Jun 16 04:07:11 2005
@@ -47,6 +47,12 @@
// Default implementations of the on mouse change and key press.
long FMantaImageFrame::onMouseChange( FXObject *sender, FXSelector sel, void
*data ) {
+ FXEvent *event = (FXEvent *)data;
+ FXushort sel_type = FXSELTYPE( sel );
+
+ std::cerr << "In onMouseChange " << event->win_x << " "
+ << event->win_y << std::endl;
+
return 1;
}
- [MANTA] r388 - in branches/itanium2: Engine/Display fox, abe, 06/16/2005
Archive powered by MHonArc 2.6.16.