mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Cleaning up some warnings.
This commit is contained in:
parent
0d061c24e7
commit
9a664ddb92
@ -1174,13 +1174,13 @@ Frame::doResize(bool left, bool x, bool top, bool y)
|
|||||||
// Initialize variables
|
// Initialize variables
|
||||||
int start_x, new_x;
|
int start_x, new_x;
|
||||||
int start_y, new_y;
|
int start_y, new_y;
|
||||||
uint last_width, old_width;
|
uint old_width;
|
||||||
uint last_height, old_height;
|
uint old_height;
|
||||||
|
|
||||||
start_x = new_x = left ? _gm.x : (_gm.x + _gm.width);
|
start_x = new_x = left ? _gm.x : (_gm.x + _gm.width);
|
||||||
start_y = new_y = top ? _gm.y : (_gm.y + _gm.height);
|
start_y = new_y = top ? _gm.y : (_gm.y + _gm.height);
|
||||||
last_width = old_width = _gm.width;
|
old_width = _gm.width;
|
||||||
last_height = old_height = _gm.height;
|
old_height = _gm.height;
|
||||||
|
|
||||||
// the basepoint of our window
|
// the basepoint of our window
|
||||||
_click_x = left ? (_gm.x + _gm.width) : _gm.x;
|
_click_x = left ? (_gm.x + _gm.width) : _gm.x;
|
||||||
@ -1755,7 +1755,7 @@ void
|
|||||||
Frame::getMaxBounds(int &max_x,int &max_r, int &max_y, int &max_b)
|
Frame::getMaxBounds(int &max_x,int &max_r, int &max_y, int &max_b)
|
||||||
{
|
{
|
||||||
int f_r, f_b;
|
int f_r, f_b;
|
||||||
int x, y, h, w, r, b;
|
int x, y, r, b;
|
||||||
|
|
||||||
f_r = getRX();
|
f_r = getRX();
|
||||||
f_b = getBY();
|
f_b = getBY();
|
||||||
@ -1768,8 +1768,8 @@ Frame::getMaxBounds(int &max_x,int &max_r, int &max_y, int &max_b)
|
|||||||
|
|
||||||
x = (*it)->getX();
|
x = (*it)->getX();
|
||||||
y = (*it)->getY();
|
y = (*it)->getY();
|
||||||
h = (*it)->getHeight();
|
//h = (*it)->getHeight();
|
||||||
w = (*it)->getWidth();
|
//w = (*it)->getWidth();
|
||||||
r = (*it)->getRX();
|
r = (*it)->getRX();
|
||||||
b = (*it)->getBY();
|
b = (*it)->getBY();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user