Modernized code and fixed compiler warnings in Guisan widgets

This commit is contained in:
Dimitris Panokostas 2020-02-07 11:20:25 +01:00
parent 0c56349025
commit 959f0869cb
27 changed files with 432 additions and 500 deletions

View file

@ -468,8 +468,8 @@ namespace gcn
int mScrollbarWidth;
unsigned int mHPolicy;
unsigned int mVPolicy;
bool mVBarVisible;
bool mHBarVisible;
bool mVBarVisible{};
bool mHBarVisible{};
bool mUpButtonPressed;
bool mDownButtonPressed;
bool mLeftButtonPressed;
@ -480,8 +480,8 @@ namespace gcn
int mRightButtonScrollAmount;
bool mIsVerticalMarkerDragged;
bool mIsHorizontalMarkerDragged;
int mHorizontalMarkerDragOffset;
int mVerticalMarkerDragOffset;
int mHorizontalMarkerDragOffset{};
int mVerticalMarkerDragOffset{};
};
}