mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Element : add new help line (perpendicular to terminal)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3615 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -94,20 +94,20 @@ bool Qet::isOpposed(Qet::Orientation a, Qet::Orientation b)
|
||||
}
|
||||
|
||||
/**
|
||||
Indique si une orientation de borne est horizontale (Est / Ouest).
|
||||
@param a L'orientation de borne
|
||||
@return True si l'orientation de borne est horizontale, false sinon
|
||||
*/
|
||||
bool Qet::estHorizontale(Qet::Orientation a) {
|
||||
* @brief Qet::isHorizontal
|
||||
* @param a
|
||||
* @return true if @a is horizontal, else false.
|
||||
*/
|
||||
bool Qet::isHorizontal(Qet::Orientation a) {
|
||||
return(a == Qet::East || a == Qet::West);
|
||||
}
|
||||
|
||||
/**
|
||||
Indique si une orientation de borne est verticale (Nord / Sud).
|
||||
@param a L'orientation de borne
|
||||
@return True si l'orientation de borne est verticale, false sinon
|
||||
*/
|
||||
bool Qet::estVerticale(Qet::Orientation a) {
|
||||
* @brief Qet::isVertical
|
||||
* @param a
|
||||
* @return true if @a is vertical, else false.
|
||||
*/
|
||||
bool Qet::isVertical(Qet::Orientation a) {
|
||||
return(a == Qet::North || a == Qet::South);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user