* No longer hides the mouse cursor when the pop up menu is shown.

* Removed the superfluous "Cancel" item from the pop up menu.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16277 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-02-07 12:05:23 +00:00
parent f83eeab28a
commit 009cd1060a
2 changed files with 642 additions and 496 deletions

File diff suppressed because it is too large Load Diff

View File

@ -37,12 +37,12 @@ class ShowImageView : public BView {
virtual void Draw(BRect updateRect);
virtual void FrameResized(float width, float height);
virtual void MouseDown(BPoint point);
virtual void MouseMoved(BPoint point, uint32 state, const BMessage *pmsg);
virtual void MouseMoved(BPoint point, uint32 state, const BMessage *message);
virtual void MouseUp(BPoint point);
virtual void KeyDown(const char *bytes, int32 numBytes);
virtual void Pulse();
virtual void MessageReceived(BMessage *pmsg);
virtual void MessageReceived(BMessage *message);
void SetTrackerMessenger(const BMessenger& trackerMessenger);
status_t SetImage(const entry_ref *ref);
@ -234,8 +234,12 @@ class ShowImageView : public BView {
BString fCaption; // caption text
bool fInverted;
bool fShowingPopUpMenu;
enum image_orientation fImageOrientation;
static enum image_orientation fTransformation[ImageProcessor::kNumberOfAffineTransformations][kNumberOfOrientations];
static enum image_orientation fTransformation[
ImageProcessor::kNumberOfAffineTransformations][kNumberOfOrientations];
};
#endif // SHOW_IMAGE_VIEW_H