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 » Developing U++ » UppHub » Name clash between Control4U and OpenCV
Name clash between Control4U and OpenCV [message #36215] Sat, 12 May 2012 16:32 Go to next message
Zbych is currently offline  Zbych
Messages: 318
Registered: July 2009
Senior Member
Hi,

Booth openCV library and SliderCtrlX use the same constant BORDER_SIZE. I have proposition to replace defines from SliderCtrlX with const values (SliderCtrlX.h):

#define			BORDER_SIZE			2
#define			BORDER1				BORDER_SIZE
#define			BORDER2				( 2 * BORDER_SIZE )


class SliderCtrlX : public Ctrl {

	static const int BORDER_SIZE = 2;
	static const int BORDER1 = BORDER_SIZE;
	static const int BORDER2 = 2 * BORDER_SIZE;
[...]

Re: Name clash between Control4U and OpenCV [message #36220 is a reply to message #36215] Sat, 12 May 2012 21:55 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Thank you Zbych

Hello Jibe: It is good for you?.


Best regards
Iñaki
Re: Name clash between Control4U and OpenCV [message #36238 is a reply to message #36220] Wed, 16 May 2012 08:30 Go to previous messageGo to next message
Zbych is currently offline  Zbych
Messages: 318
Registered: July 2009
Senior Member
When do you plan to commit changes to SVN?

Re: Name clash between Control4U and OpenCV [message #36239 is a reply to message #36238] Wed, 16 May 2012 09:20 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Hello Zbych

It seems I have read your mind Smile.

Jibe (the SliderCtrlX author) seems to be not available and your changes seem very reasonable so they will be uploaded today (UTC hour)


Best regards
Iñaki
Re: Name clash between Control4U and OpenCV [message #36265 is a reply to message #36239] Thu, 17 May 2012 12:49 Go to previous message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Uploaded.

Best regards
Iñaki
Previous Topic: Functions4U
Next Topic: PolyXML Package changes
Goto Forum:
  


Current Time: Mon Oct 18 08:43:02 CEST 2021

Total time taken to generate the page: 0.01977 seconds