OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [gcj/] [xlib/] [natXUnmapEvent.cc] - Blame information for rev 781

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
/* Copyright (C) 2000  Free Software Foundation
2
 
3
   This file is part of libgcj.
4
 
5
This software is copyrighted work licensed under the terms of the
6
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
7
details.  */
8
 
9
#include <X11/Xlib.h>
10
 
11
#include <gcj/cni.h>
12
#include <gnu/gcj/RawData.h>
13
 
14
#include <gnu/gcj/xlib/Display.h>
15
#include <gnu/gcj/xlib/Window.h>
16
#include <gnu/gcj/xlib/XAnyEvent.h>
17
#include <gnu/gcj/xlib/XEvent.h>
18
#include <gnu/gcj/xlib/XUnmapEvent.h>
19
 
20
void gnu::gcj::xlib::XUnmapEvent::setUnmappedWindow(gnu::gcj::xlib::Window*
21
                                                    unmappedWindow)
22
{
23
  ::XUnmapEvent* evt = (::XUnmapEvent*) event->structure;
24
  evt->window = unmappedWindow->getXID();
25
}
26
 
27
void gnu::gcj::xlib::XUnmapEvent::setFromConfigure(jboolean fromConfigure)
28
{
29
  ::XUnmapEvent* evt = (::XUnmapEvent*) event->structure;
30
  evt->from_configure = fromConfigure ? True : False;
31
}
32
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.