Home » Developing U++ » UppHub » SysInfo, Functions4U and Controls4U packages
Re: SysInfo, Functions4U and Controls4U packages [message #23982 is a reply to message #23979] |
Mon, 14 December 2009 08:23   |
 |
koldo
Messages: 3432 Registered: August 2008
|
Senior Veteran |
|
|
andrei_natanael wrote on Mon, 14 December 2009 00:35 | Hello Koldo,
I have one suggestion for StaticArrow(and StaticLine), could you use enumerations for SetOrientation and SetEnds i believe it's simple(more portable) to use an enum than entering a string which depends on encoding.
In example:
enum ArrowEnds
{
LeftEnd,
RightEnd,
LeftRightEnd,
NoEnd
};
arrow.SetEnds(LeftEnd);
The only inconvenient is that you have to find the right naming for orientations and ends.
Andrei
|
Hello Andrei
You are right in all. I will put the two systems.
The idea came about for example I do not know a nice way to define with an enum a line like this :

Well, I found this "_┌" as the best 
Best regards
Koldo
-
Attachment: Dib.PNG
(Size: 4.46KB, Downloaded 1090 times)
Best regards
IƱaki
|
|
|
 |
|
SysInfo, Functions4U and Controls4U packages
By: koldo on Sat, 12 December 2009 20:39
|
 |
|
Re: SysInfo, Functions4U and Controls4U packages
By: d_th on Sat, 12 December 2009 21:01
|
 |
|
Re: SysInfo, Functions4U and Controls4U packages
By: koldo on Sun, 13 December 2009 00:00
|
 |
|
Re: SysInfo, Functions4U and Controls4U packages
By: d_th on Sun, 13 December 2009 13:25
|
 |
|
Re: SysInfo, Functions4U and Controls4U packages
By: koldo on Sun, 13 December 2009 16:38
|
 |
|
Re: SysInfo, Functions4U and Controls4U packages
|
 |
|
Re: SysInfo, Functions4U and Controls4U packages
By: koldo on Mon, 14 December 2009 08:23
|
 |
|
Re: SysInfo, Functions4U and Controls4U packages
By: koldo on Tue, 15 December 2009 23:33
|
 |
|
Re: SysInfo, Functions4U and Controls4U packages
|
Goto Forum:
Current Time: Thu May 01 12:42:36 CEST 2025
Total time taken to generate the page: 0.03070 seconds
|