fixed minor type issue
This commit is contained in:
parent
ecfeae295b
commit
7be1fe8954
2 changed files with 6 additions and 5 deletions
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Button.cc,v 1.4 2003/01/10 02:16:29 fluxgen Exp $
|
// $Id: Button.cc,v 1.5 2003/02/23 16:52:17 fluxgen Exp $
|
||||||
|
|
||||||
#include "Button.hh"
|
#include "Button.hh"
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ Button::Button(int screen_num, int x, int y,
|
||||||
}
|
}
|
||||||
|
|
||||||
Button::Button(const FbWindow &parent, int x, int y,
|
Button::Button(const FbWindow &parent, int x, int y,
|
||||||
size_t width, size_t height):
|
unsigned int width, unsigned int height):
|
||||||
m_win(parent, x, y, width, height,
|
m_win(parent, x, y, width, height,
|
||||||
ExposureMask | ButtonPressMask | ButtonReleaseMask),
|
ExposureMask | ButtonPressMask | ButtonReleaseMask),
|
||||||
m_foreground_pm(0),
|
m_foreground_pm(0),
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: FbWindow.cc,v 1.6 2003/02/03 13:39:57 fluxgen Exp $
|
// $Id: FbWindow.cc,v 1.7 2003/02/23 16:52:16 fluxgen Exp $
|
||||||
|
|
||||||
#include "FbWindow.hh"
|
#include "FbWindow.hh"
|
||||||
|
|
||||||
|
@ -157,9 +157,10 @@ void FbWindow::updateGeometry() {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Window root;
|
Window root;
|
||||||
size_t border_width, depth;
|
unsigned int border_width, depth;
|
||||||
XGetGeometry(s_display, m_window, &root, &m_x, &m_y,
|
XGetGeometry(s_display, m_window, &root, &m_x, &m_y,
|
||||||
&m_width, &m_height, &border_width, &depth);
|
(unsigned int *)&m_width, (unsigned int *)&m_height,
|
||||||
|
&border_width, &depth);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FbWindow::create(Window parent, int x, int y,
|
void FbWindow::create(Window parent, int x, int y,
|
||||||
|
|
Loading…
Reference in a new issue