"Fossies" - the Fresh Open Source Software Archive

Member "FreeBASIC-1.05.0-linux-x86_64/include/freebasic/X11/EventI.bi" (31 Jan 2016, 4227 Bytes) of package /linux/privat/FreeBASIC-1.05.0-linux-x86_64.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Visual Basic source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 '' FreeBASIC binding for libXt-1.1.4
    2 ''
    3 '' based on the C header files:
    4 ''   *********************************************************
    5 ''
    6 ''   Copyright 1987, 1988, 1998  The Open Group
    7 ''
    8 ''   Permission to use, copy, modify, distribute, and sell this software and its
    9 ''   documentation for any purpose is hereby granted without fee, provided that
   10 ''   the above copyright notice appear in all copies and that both that
   11 ''   copyright notice and this permission notice appear in supporting
   12 ''   documentation.
   13 ''
   14 ''   The above copyright notice and this permission notice shall be included in
   15 ''   all copies or substantial portions of the Software.
   16 ''
   17 ''   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   18 ''   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   19 ''   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
   20 ''   OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
   21 ''   AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
   22 ''   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   23 ''
   24 ''   Except as contained in this notice, the name of The Open Group shall not be
   25 ''   used in advertising or otherwise to promote the sale, use or other dealings
   26 ''   in this Software without prior written authorization from The Open Group.
   27 ''
   28 ''
   29 ''   Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
   30 ''
   31 ''                           All Rights Reserved
   32 ''
   33 ''   Permission to use, copy, modify, and distribute this software and its
   34 ''   documentation for any purpose and without fee is hereby granted,
   35 ''   provided that the above copyright notice appear in all copies and that
   36 ''   both that copyright notice and this permission notice appear in
   37 ''   supporting documentation, and that the name of Digital not be
   38 ''   used in advertising or publicity pertaining to distribution of the
   39 ''   software without specific, written prior permission.
   40 ''
   41 ''   DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
   42 ''   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
   43 ''   DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
   44 ''   ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
   45 ''   WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
   46 ''   ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
   47 ''   SOFTWARE.
   48 ''
   49 ''   *****************************************************************
   50 ''
   51 '' translated to FreeBASIC by:
   52 ''   Copyright © 2015 FreeBASIC development team
   53 
   54 #pragma once
   55 
   56 #include once "PassivGraI.bi"
   57 
   58 extern "C"
   59 
   60 #define _Event_h_
   61 declare sub _XtEventInitialize()
   62 
   63 type _XtEventRec
   64     next as XtEventTable
   65     mask as EventMask
   66     proc as XtEventHandler
   67     closure as XtPointer
   68     select : 1 as ulong
   69     has_type_specifier : 1 as ulong
   70     async : 1 as ulong
   71 end type
   72 
   73 type XtEventRec as _XtEventRec
   74 
   75 type _XtGrabRec
   76     next as XtGrabList
   77     widget as Widget
   78     exclusive : 1 as ulong
   79     spring_loaded : 1 as ulong
   80 end type
   81 
   82 type XtGrabRec as _XtGrabRec
   83 
   84 type _BlockHookRec
   85     next as _BlockHookRec ptr
   86     app as XtAppContext
   87     proc as XtBlockHookProc
   88     closure as XtPointer
   89 end type
   90 
   91 type BlockHookRec as _BlockHookRec
   92 type BlockHook as _BlockHookRec ptr
   93 declare sub _XtFreeEventTable(byval as XtEventTable ptr)
   94 declare function _XtOnGrabList(byval as Widget, byval as XtGrabRec ptr) as XBoolean
   95 declare sub _XtRemoveAllInputs(byval as XtAppContext)
   96 declare sub _XtRefreshMapping(byval as XEvent ptr, byval as XBoolean)
   97 declare sub _XtSendFocusEvent(byval as Widget, byval as long)
   98 declare function _XtConvertTypeToMask(byval as long) as EventMask
   99 declare function _XtFindRemapWidget(byval event as XEvent ptr, byval widget as Widget, byval mask as EventMask, byval pdi as XtPerDisplayInput) as Widget
  100 declare sub _XtUngrabBadGrabs(byval event as XEvent ptr, byval widget as Widget, byval mask as EventMask, byval pdi as XtPerDisplayInput)
  101 declare sub _XtFillAncestorList(byval listPtr as Widget ptr ptr, byval maxElemsPtr as long ptr, byval numElemsPtr as long ptr, byval start as Widget, byval breakWidget as Widget)
  102 extern XtAppPeekEvent_SkipTimer as XBoolean
  103 
  104 end extern