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 » 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 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3361
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. Razz

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 Smile :

index.php?t=getfile&id=2046&private=0

Well, I found this "_┌" as the best Smile

Best regards
Koldo
  • Attachment: Dib.PNG
    (Size: 4.46KB, Downloaded 1012 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bazaar packages in U++ web
Next Topic: Docking package (plus examples)
Goto Forum:
  


Current Time: Tue May 14 11:17:09 CEST 2024

Total time taken to generate the page: 0.02831 seconds