BAGEL: Remove unused class member from CBagLinkObject (fixing also CIC 1544862)

This commit is contained in:
Strangerke 2024-05-06 22:03:49 +01:00
parent fbcdea6edb
commit f18ebe60f9
2 changed files with 3 additions and 6 deletions

View File

@ -33,6 +33,7 @@ CBagLinkObject::CBagLinkObject() {
_destLocation = CBofPoint(0, 0);
_srcLocation = CBofPoint(-1, -1);
_fade = 0;
setVisible(false);
CBagObject::setOverCursor(5);
}

View File

@ -32,14 +32,13 @@ namespace Bagel {
*/
class CBagLinkObject : public CBagObject {
public:
enum LINK_TYPE { LINK = 0, CLOSEUP = 1 };
enum LinkType { LINK = 0, CLOSEUP = 1 };
private:
CBofSize _size;
int _outline;
CBofPoint _destLocation;
CBofPoint _srcLocation;
LINK_TYPE _linkType;
LinkType _linkType;
int _fade;
public:
@ -72,9 +71,6 @@ public:
void setSrcLoc(CBofPoint loc) {
_srcLocation = loc;
}
void setOutline(int color) {
_outline = color;
}
};
} // namespace Bagel