Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » design flaw in scatterctrl?
design flaw in scatterctrl? [message #49824] Sat, 12 May 2018 12:56 Go to previous message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
In Scatterctrl,

private:
bool showInfo;
Point clickPoint;
PopUpInfo popText;
String popTextX, popTextY, popTextY2;
Point popLT, popRB;
bool isZoomWindow;
const Point offset;
int copyRatio;
bool isLeftDown;

int butDownX, butDownY;
bool isScrolling, isLabelPopUp;

bool showContextMenu;
bool showPropDlg;
bool showProcessDlg;
bool showButtons;

int lastRefresh_ms;
dword lastRefresh0_ms;
int maxRefresh_ms;

bool highlighting;

Upp::Array<MouseBehavior> mouseBehavior;
Upp::Array<KeyBehavior> keyBehavior;

void ProcessPopUp(const Point & pt);

virtual void Paint(Draw& w);
virtual void LeftDown(Point, dword);
virtual void LeftDouble(Point p, dword);
virtual void LeftUp(Point, dword);
virtual void MiddleDown(Point, dword);
virtual void MouseMove(Point, dword);
virtual void MiddleUp(Point, dword);
public: // my fix
virtual void RightDown(Point, dword);
private:
virtual void RightUp(Point, dword);
virtual void MouseLeave();
virtual void MouseWheel(Point, int zdelta, dword);
virtual bool Key(dword key, int count);
virtual void GotFocus();
virtual void LostFocus();

void DoMouseAction(bool down, Point pt,

you can see a lot of the function are private when they are virtual.
I needed to use some of them.., not without modification..
Is this ok?

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: click on a checkbox does not work , it does something else
Next Topic: I request the implementation of callback5
Goto Forum:
  


Current Time: Fri Apr 19 23:28:43 CEST 2024

Total time taken to generate the page: 0.02962 seconds