Algunas Funciones y Estructuras de Datos XWindow
|
|
- Samson Gordon
- 5 years ago
- Views:
Transcription
1 Algunas Funciones y Estructuras de Datos XWindow Display *XOpenDisplay(display_name) char *display_name; char *ServerVendor(display) int XDisplayWidth(display,screen_number) int screen_number; int XDisplayHeight(display,screen_number) int screen_number; int XDefaultScreen(display) DefaultRootWindow(display) RootWindow(display,screen_number) int screen_number; XCloseDisplay(display) Window XCreateSimpleWindow(display,parent,x,y,width,height, border_width,border,background) Window parent; unsigned int width,height; unsigned int border_width; unsigned long border; unsigned long background; XMapWindow(display,w) XMapRaised(display,w)
2 XChangeWindowAttributes(display,w,valuemask,attributes) unsigned long valuemask; XSetWindowAttributes *attributes; typedef struct { Pixmap background_pixmap; unsigned long background_pixel; Pixmap border_pixmap; unsigned long border_pixel; int bit_gravity; int win_gravity; int backing_store; unsigned long backing_planes; unsigned long backing_pixel; Bool save_under; long event_mask; long do_not_propagate_mask; Bool override_redirect; Colormap colormap; Cursor cursor; } XSetWindowAttributes; #define CWBackPixmap (1L<<0) #define CWBackPixel (1L<<1) #define CWBorderPixmap (1L<<2) #define CWBitGravity (1L<<3) #define CWWinGravity (1L<<4) #define CWBackingStore (1L<<5) #define CWBackingPlanes (1L<<6) #define CWBackingPixel (1L<<7) #define CWOverrideRedirect (1L<<8) #define CWSaveUnder (1L<<9) #define CWEventMask (1L<<10) #define CWDontPropagate (1L<<11) #define CWColormap (1L<<12) #define CWCursor (1L<<13) XMapSubwindows(display,w) XUnMapWindow(display,w) 2
3 XUnMapSubwindows(display,w) XFlush(display) XMoveWindow(diplay,window,x,y) Window *window; XResizeWindow(display,window,width,height) Window window; unsigned int width,height; XMoveResizeWindow(diplay,window,x,y,width,height) Window *window; unsigned int width,height; XSetWindowBorderWidth(display,w,width) unsigned int width; XRaiseWindow(display,w) XLowerWindow(display,w) XCirculateSubwindows(display,w,direction) int direction; XCirculateSubwindowsUp(display,w) XCirculateSubwindowsDown(display,w) 3
4 XRestackWindows(display,windows,n) Window windows[]; XConfigureWindow(display,w,value_mask,values) unsigned int value_mask; XWindowChanges *values; typedef struct{ int width,height; int border_width; Window sibling; int stack_mode; } XWindowChanges; Gestión de eventos. typedef struct { int type; unsigned long serial; Bool send_event; Window window; Window root; Window subwindow; Time time; int x, y; int x_root, y_root; unsigned int state; unsigned int button; /* Button1, Button2, Button3 */ Bool same_screen; } XButtonEvent; typedef XButtonEvent XButtonPressedEvent; typedef XButtonEvent XButtonReleasedEvent; 4
5 typedef struct { int type; unsigned long serial; Bool send_event; Displar *display; Window window; }XAnyEvent; typedef union _Xevent { int type; XAnyEvent xany; XKeyEvent xkey; XButtonEvent xbutton; XMotionEvent xmotion; XcrossingEvent xcorssing; XFocusChangeEvent xexpose; XGraphicsExposeEvent xgraphicsexpose; XNoExposeEvent xnoexpose; XVisibilityEvent xvisibility; XcreateWindowEvent xcreatewindow; XDestroyWindowEvent xdestroywindow; XUnmapEvent xunmap; XMapEvent xmap; XMapRequestEvent xmaprequest; XReparentEvent xreparent; XConfigureEvent xconfigure; XGravityEvent xgravity; XResizeRequestEvent xresizerequest; XConfigureRequestEvent xconfigurerequest; XCirculateEvent xcirculate; XCirculateRequestEvent xcirculaterequest; XPropertyEvent xproperty; XSelectionClearEvent xselectionclear; XSelectionRequestEvent xselectionrequest; XSelectionEvent xselection; XColormapEvent xcolormap; XClientMessageEvent xclient; XMappingEvent xmapping; XErrorEvent xerror; XKeymapEvent xkeymap; long pad[24; } XEvent; 5
6 XSelectInput (display,w,event_mask) long event_mask; XNextEvent (display,event_return) XEvent *event_return; XMaskEvent (display,event_mask,event_return) long event_mask; XEvent *event_return; XWindowEvent (display,w,event_mask,event_return) Window *w; long event_return; XEvent *event_return; Bool XCheckMaskEvent (display,event_mask,event_return) long event_mask; XEvent *event_return; Bool XCheckWindowEvent (display,w,event_mask,event_return) Window *w; long event_mask; XEvent *event_return; Bool XCheckTypedEvent (display,event_type,event_return) int event_type; XEvent *event_return; Bool XCheckTypedWindowEvent (display,w,event_type,event_return) int event_type; XEvent *event_return; 6
7 Teclado int XLookupString (event,string,length,key,cs); XKeyevent *event; char *string; int length; Keysym *key; XComposeStatus *cs; char *XKeysymToString (keysym); KeySym XStringToKeysmy (string); char *string; KeySym XKeycodeToKeysym (display,keycode,index); KeyCode keycode; int index; KeySym XLookupKeysym (event,index); XKeyEvent *event; int index; KeyCode XKeysymToKeycode (display,keysym); XRebindKeysym (display,keysym,list,n,string,m) KeySym *list; unsigned char *string; int m; IsCursorKey (keysym); IsFunctionKey (keysym); IsKeypadKey (keysym); IsMiscFunctionKey (keysym); 7
8 IsModifierKey (keysym); IsPFKey (keysym); Eventos Expose typedef struct { int type; unsigned long serial; Bool send_event; Window window; int width, height; int count; } XExposeEvent; Mapas de color Colormarp DefaultColormap (display,screen) int screen; Colormap XdefaultColormap (display,screen) int screen, typedef struct{ unsigned long pixel; unsigned short red,green blue; char flag; chard pad; } XColor; Status XAllocColor (display,cmap,&color) Colormap cmap; XColor color; Status XAllocNamedColor (display,cmap,name,&color,&exat) Colormap cmap; char *name; XColor color,exact; 8
9 XSetWindowBackground (diplay,w,pixel) unsigned long pixel; XSetWindowBorder (display,w,pixel) unsigned long pixel; Contextos Gráficos GC XCreateGC (display,drw,mask,values) Drawable dru; unsigned long mask; XGCValues *values; XChangeGC (display, gc, mask, values) unsigned long mask; XGCValues *values; XSetForeground (display,gc,foreground) unsigned long foreground; XSetBackground (display,gc,background) unsigned long foreground; Creación de pixmaps Pixmap XCreatePixmap(display,drawable,width,height,depth) Drawable drawable; unsigned int width, height; unsigned int depth; 9
10 XCopyArea(display,src_drawable,dest_drawable,gc,src_x,src_y, width,height,dest_x,dest_y) Drawable src_drawable,dest_drawable; int src_x,src_y; unsigned int width, height; int dest_x, dest_y; XCopyPlane(display,src_drawable,dest_drawable,gc,src_x,src_y, width,height,dest_x,dest_y,plane) Drawable src_drawable,dest_drawable; int src_x,src_y; unsigned int width, height; int dest_x, dest_y; unsigned long plane; XFreePixmap(display,pixmap) Pixmap pixmap; Primitivas gráficas XDrawPoints (display,drw,gc,points,n,mode) XPoint *points; int mode; typedef struct { short x,y; }XPoint; XDrawPoint (display,drw,gc,x,y) Display *display 10
11 XDrawSegments (display,drw,gc,segments,n) XSegment *segments; XDrawLines (display,drw gc,points,n,mode) XPoint *points; int mode; typedef structure{ short x1,y1,x2,y2; }XSegment; XDrawLine (display,drw,gc,x1,y1,x2,y2) int x1,y1,x2,y2; XSetLineAttributes (display,gc,line_width,line_style,cap_style,join_style) unsigned int line_width; int line_style; int cap_style; int join_style; XSetDashes (display,gc,offset,dash_list,n); int offset; char dash_list[]; XDrawRectangle (display,drw,gc,x,y,width,height) unsigned int width,height; 11
12 XDrawRectangles (display,drw,gc,rectangles,n) XRectangle rectangles[]; XDrawArc (display,drw,gc,x,y,width,height,angle1,angle2) unsigned int width,height; int angle1,angle2; XDrawArcs (display,drw,gc,arcs,n) XArc *arcs; typedef struct { short x,y; unsigned short width,height; short angle1,angle2; }XArc; XFillRectangle (display,drw,gc,x,y,width,height) unsigned int width,height; XFillRectangles (display,drw,gc,rectangles,n) XRectangle rectangles[]; 12
13 XFillArc (display,drw,gc,x,y,width,height,angle1,angle2) unsigned int width,height; int angle1,angle2; XFillArcs (display,drw,gc,arcs,n) XArc *arcs; XSetArcMode display,gc,arc_mode) int arc_mode; XFillPolygon (display,drw,gc,points,n,shape,mode) XPoint *points; int shape; int mode; XSetFillRule (display,gc,fill_rule) int fill_rule Primitivas para dibujar texto Font XLoadFont (display,name) char *name; XSetFont (display,gc,font) Font font; 13
14 XDrawString (display,drw,gc,x,y,string,l) char *string; int l; XDrawImageString (display,drw,gc,x,y,string, 1) int x,y,; char *string; int l; XFontStruct *XQueryFont(display,fid) Display *display, Font fid; XFontStruct *XLoadQueryFont(display,name) Display *display, char *name; int XTextWidth(font_struc,string,n) XFontStruc *font_struct; char *string; XTextExtents(font_struct,string,n,dir,ascent,descent,overall) XFontStruct *font_struct; char *string; int *dir; int *ascent,*descent; XCharStruct *overall; 14
15 Algunas Funciones y Estructuras de Datos OSF/Motif y XtIntrinsics Creación del contexto de la aplicación. Widget XtAppInitialize(app_context_return,application_class, options, num_options, argc_in_out, argv_in_out, fallback_resources, args, num_args) XtAppContext app_context_return; String application_class; XrmOptionDescList options; Cardinal num_options; Cardinal *argc_in_out; String *argv_in_out; String *fallback_resources; Arglist args; Cardinal num_args Creación y gestión de Widgets. Widget XmCreate<WidgetClass>(parent, name, args, argcount) Widget parent; String name; ArgList args; Cardinal argcount; void XtManageChild(child) Widget child; XtRealizeWidget(w) Widget w; Gestión del bucle de eventos. void XtAppMainLoop(app_context) XtAppContext app_context; 15
16 Configuración de recursos. typedef struct { String name; XtArgVal value; } Arg; XtSetArg(arg, resource, value) Arg arg; String resource; XtArgVal value; Llamadas de retorno y gestores de eventos Xwindow. void XtAddEventHandler(w, mask, nonmask, proc, client_data) Widget w; EventMask mask; Boolean nonmask; XtEventHandler proc; XtPointer client_data; XtEventHandler proc(w, client_data, pevent) Widget w; XtPinter client_data; Xevent *pevent; void XtAddCallback(w, callback_name, proc, client_data) Widget w; String callback_name; XtCallbackProc proc; XtPointer client_data; XtCallbackProc proc(w, client_data, call_data) Widget w; XtPointer client_data; XtPointer call_data; Gestión de XmString s. XmString XmStringCreateSimple(text) char *text; 16
17 XmString XmStringCreate(text, charset) char *text; XmStringCharSet charset; void XmStringFree(string) XmString string; 17
X Windows Version 11.5 A Concise Description
X Windows Version 11.5 A Concise Description Tim Love - CUED November 2, 1994 This document is an introduction to the X Windows system particularly from the point of view of a programmer in C. It does
More informationIndex. A Aim of book, 3 Approach options taken here, 1 toolkits, 1 Approaches to options selection, 56
References Champine GA (1991) MIT Project Athena: a model for distributed campus computing. Digital Press, Massachusetts, USA Gettys J, Scheifler RW (2002) Xlib - c language x interface: X consortium standard.
More informationXCreateGC, XCopyGC, XChangeGC, XGetGCValues, XFreeGC, XGContextFromGC, XGCValues create or free graphics contexts and graphics context structure
XCreateGC, XCopyGC, XChangeGC, XGetGCValues, XFreeGC, XGContextFromGC, XGCValues create or free graphics contexts and graphics context structure GC XCreateGC(display, d, valuemask, values) Drawable d;
More informationXwindows. Xwindows: Windows. Windows Drawing Events Advanced Topics. Window Models Creating Windows in X X11 Architecture. Before Windowing Systems
Xwindows Windows Drawing Events Advanced Topics Xwindows: Windows Window Models Creating Windows in X X11 Architecture Before Windowing Systems 3 What's Under the Hood of a GUI Toolkit? Up until now, we
More informationEvents. Events and the Event Loop Animation Double Buffering. 1.5 Events 1
Events Events and the Event Loop Animation Double Buffering 1.5 Events 1 Human vs. System User Interactive System perceive present seconds milliseconds or faster express translate 1.5 Events 2 Event Driven
More informationAppendix. Software. Overview... Data Types Used in the Starter Toolkit... Functions... Resources and Convenience Function of Paper Class Widgets...
Appendix Software A.1. A.2. A.3. A.4. Overview... Data Types Used in the Starter Toolkit... Functions... Resources and Convenience Function of Paper Class Widgets... 361 362 362 365 359 SOFTWARE 361 A.1.
More informationNotes on creating graphical output using X-11 graphics. Ubuntu Virtual Machine
Notes on creating graphical output using X-11 graphics Ubuntu Virtual Machine B. Wilkinson, Sept 4, 2014 Assignments and projects may require graphical output, which is especially relevant for problems
More information38.1 Tk_ConfigureWidget 337
1 Chapter 36 Introduction 323 36.1 What s in a widget? 324 36.2 Widgets are event-driven 325 36.3 Tk vs. Xlib 325 36.4 Square: an example widget 326 36.5 Design for re-usability 328 Chapter 37 Creating
More informationAthena Widget Set - C Language Interface
Athena Widget Set - C Language Interface X Consortium Standard Chris D. Peterson, formerly MIT X Consortium Athena Widget Set - C Language Interface: X Consortium Standard by Chris D. Peterson X Version
More informationOpenGL Drawing Widgets and Related Functions
OpenGL Drawing Widgets and Related Functions Following is a list of the OpenGL widgets and widget-related functions, and the purpose of each. Select the item to receive more information. You may also go
More informationXmu Library. XVersion 11, Release 6.7. Don t ask.
Xmu Library XVersion 11, Release 6.7 Don t ask. Copyright 1989 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy ofthis software and associated documentation files
More informationAthena Widget Set C Language Interface
Athena Widget Set C Language Interface XWindow System XVersion 11, Release 6.4 Chris D. Peterson formerly MIT X Consortium XWindow System is a trademark of X Consortium, Inc. Copyright 1985, 1986, 1987,
More information1 Goals of this exercise Some goals of this exercise are : 1. To know how to congure TCP/IP Network on linux desktop environment. 2. To get to know li
Exercises on Network Programming Pipolis Department of Electrical Engineering Nara National College of Technology 1 Goals of this exercise Some goals of this exercise are : 1. To know how to congure TCP/IP
More informationEvent Dispatch. Review: Events
Event Dispatch 1 Review: Events Event: noun: a thing that happens, especially one of importance. Example: the media focused on events in Egypt Event: a structure used to notify an application of an event
More informationGUI Basics and Windowing Systems. Using X Windows as a case study
GUI Basics and Windowing Systems Using X Windows as a case study 2 CS 349 - Syllabus Evolution of GUIs Xero Star (1981) Developed at Xerox PARC Not commercially successful. Apple Macintosh (1984) Inspired
More informationData Transfer with UTM
Data Transfer with UTM Motif permits experienced application programmers to extend or override the data transfer capabilities of many Motif widgets. However, data transfer is typically the responsibility
More informationGUI Basics and Windowing Systems
GUI Basics and Windowing Systems Using X Windows as a case study 1 2 Evolution of GUIs Xero Star (1981) Developed at Xerox PARC Not commercially successful. Apple Macintosh (1984) Inspired by Xerox PARC
More informationVolume One. Xlib Programming Manual
Volume One Xlib Programming Manual for Version 11 of the X Window System by Adrian Nye O'Reilly & Associates, Inc. -^ Table of Contents Page Preface About This Manual Summary of Contents How to Use This
More informationDisplay PostScript System
Display PostScript System Adobe Systems Incorporated Display PostScript Toolkit for X 15 April 1993 Adobe Systems Incorporated Adobe Developer Technologies 345 Park Avenue San Jose, CA 95110 http://partners.adobe.com/
More informationGUI Basics and Windowing Systems. Using X Windows as a case study
GUI Basics and Windowing Systems Using X Windows as a case study 2 CS 349 - Syllabus Evolution of GUI Programming On early computers, everything was rolled by hand Re-inventing the wheel with every iteration
More informationMIT-SHM The MIT Shared Memory Extension
MIT-SHM The MIT Shared Memory Extension How the shared memory extension works Jonathan Corbet Atmospheric Technology Division National Center for Atmospheric Research corbet@ncar.ucar.edu Formatted and
More informationLesson 34. Write down program of maze solver. Maze Solver
Lesson 34 Objectives: - Write down program of maze solver Maze Solver Function This program reads the representation of a maze from a text file, and finds a path through it. Programming Issues The first
More informationWindowing Systems. (using X Windows as case study) GUI Architecture Base Window System Window Manager. Windowing Systems 1
Windowing Systems (using X Windows as case study) GUI Architecture Base Window System Window Manager Windowing Systems 1 Windowing System Handles input device events - keyboard (text) and pointing (mouse/touchpage)
More informationEffective Programming in C and UNIX Lab 6 Image Manipulation with BMP Images Due Date: Sunday April 3rd, 2011 by 11:59pm
15-123 Effective Programming in C and UNIX Lab 6 Image Manipulation with BMP Images Due Date: Sunday April 3rd, 2011 by 11:59pm The Assignment Summary: In this assignment we are planning to manipulate
More informationThe graphigs Programming Interface: Technical Reference
The graphigs Programming Interface: Technical Reference SC33-8193-11 The graphigs Programming Interface: Technical Reference SC33-8193-11 Note Before using this information and the product it supports,
More informationExtending X for Double-Buffering, Multi-Buffering, and Stereo. Jeffrey Friedberg Larry Seiler Jeff Vroom
Extending X for Double-Buffering, Multi-Buffering, and Stereo Jeffrey Friedberg Larry Seiler Jeff Vroom Extending X for Double-Buffering, Multi-Buffering, and Stereo by Jeffrey Friedberg Larry Seiler Jeff
More informationtrim library Programming Guide - Version 2.0
University of Bologna - Department of Mathematics Piazza di Porta S.Donato, 5-40127 - Bologna trim library Programming Guide - Version 2.0 G. Casciola Department of Mathematics University of Bologna Bologna
More informationCSE 431S Type Checking. Washington University Spring 2013
CSE 431S Type Checking Washington University Spring 2013 Type Checking When are types checked? Statically at compile time Compiler does type checking during compilation Ideally eliminate runtime checks
More informationBasic Controls. Motif Programmer s Guide 1
Basic Controls Controls are widgets and gadgets with which the user interacts directly. They form the leaves of the widget tree whose root is the application s top level shell. In most cases, controls
More informationIn-Depth Coverage of the Icon Programming Language. Lost Languages SL5. The Icon Analyst / 1. In this issue. Basic Features.
In-Depth Coverage of the Icon Programming Language April 1993 Number 17 In this issue Lost Languages SL5 1 Drawing in X-Icon 7 Subscription Renewal 12 What s Coming Up 12 Lost Languages SL5 Background
More informationDrawing in GTK+ Background. Windows and Clipping. CSci Graphical User Interface Programming Drawing in GTK+ Prof.
Background In order to understand how to draw in GTK, you rst have to understand something about how GTK draws widgets, because how GTK draws widgets has an important role in how you design your drawing
More informationSecurity Extension Specification
Security Extension Specification X Consortium Standard David Wiggins Security Extension Specification: X Consortium Standard by David Wiggins X Version 11, Release 6.8 Version 7.1 Copyright 1996 X Consortium
More informationCommon Desktop Environment 1.0. Desktop KornShell User s Guide
Common Desktop Environment 1.0 Desktop KornShell User s Guide This edition of the Common Desktop Environment Advanced User s and System Administrator s Guide applies to AIX Version 4.2, and to all subsequent
More informationSecurity Extension Specification Version 7.1 X11 Release 6.4
Security Extension Specification Version 7.1 X11 Release 6.4 David P. Wiggins X Consortium, Inc. November 15, 1996 Security Extension Specification 2 Copyright c 1996 X Consortium, Inc. THE SOFTWARE IS
More informationResearch on Data Storage Structure of Object Pool for Intelligent Virtual Terminal Based on ISO11783
5th International Conference on Mechatronics, Materials, Chemistry and Computer Engineering (ICMMCCE 2017) Research on Data Storage Structure of Object Pool for Intelligent Virtual Terminal Based on ISO11783
More informationlibtcod Documentation
libtcod Documentation Release 1.11.2 Richard Tew Mar 31, 2019 Core 1 Colors 1 2 Console 7 3 System layer 27 4 All Purpose Container 29 5 Compression Toolkit 31 6 File Parser 33 7 Image Toolkit 35 8 Line
More information12 CREATING NEW TYPES
Lecture 12 CREATING NEW TYPES of DATA Typedef declaration Enumeration Structure Bit fields Uninon Creating New Types Is difficult to solve complex problems by using programs written with only fundamental
More informationSDL Standard Drawing Library
SDL Standard Drawing Library C Library Reference Manual Rastergraf, Inc. 1810-J SE First St. Redmond, OR 97756 541) 923-5530 web: https://www.rastergraf.com email: support@rastergraf.com Release 3.6.2
More informationCS 4204 Computer Graphics
CS 4204 Computer Graphics GLUT (Continue) More Interactions Yong Cao Virginia Tech References: Interactive Computer Graphics, Fourth Edition, Ed Angle Orthographical Projection Synthetic camera model View
More informationint fnvgetconfig(handle h, UINT32 id, const void *cfg, size_t sz);... 4
RP-VL-UTIL-V1 Developer s Guide [ Contents ] 1. Introduction... 1 2. Building Environment... 1 3. Operating Environment... 1 4. Function Explanation... 2 4.1. Common API for Transmitting and Receiving...
More informationProgramming II (CS300)
1 Programming II (CS300) Chapter 11: Binary Search Trees MOUNA KACEM mouna@cs.wisc.edu Fall 2018 General Overview of Data Structures 2 Introduction to trees 3 Tree: Important non-linear data structure
More informationIntroduction to Programming Using Python Lecture 6. Dr. Zhang COSC 1437 Spring, 2018 March 01, 2018
Introduction to Programming Using Python Lecture 6 Dr. Zhang COSC 1437 Spring, 2018 March 01, 2018 Chapter 9 GUI Programming Using Tkinter Getting started with Tkinter with a simple example. Code example:
More informationChapter 9 GUI Programming Using Tkinter. Copyright 2012 by Pearson Education, Inc. All Rights Reserved.
Chapter 9 GUI Programming Using Tkinter 1 Motivations Tkinter is not only a useful tool for developing GUI projects, but also a valuable pedagogical tool for learning object-oriented programming. 2 Objectives
More informationXt Widget Classes. ApplicationShell. Composite. Constraint. Core. Object. OverrideShell. RectObj. Shell. TopLevelShell. TransientShell.
Xt Widget Classes ApplicationShell Composite Constraint Core Object OverrideShell RectObj Shell TopLevelShell TransientShell VendorShell WMShell Motif Programmer s Reference 1 ApplicationShell (library
More informationLomse library. Tutorial 1 for X11
This is meant to be an introduction to using Lomse in a X11 program. Before starting, ensure that you have installed the Lomse library. See the installation page for detailed instructions. In this first
More informationPostScript Internals Graphics II Spring 1999
PostScript Internals 15-463 Graphics II Spring 1999 Background PostScript raster image processor for Mac All Level 1 features Some support for color and multi-bit devices Undergrad independent study: MacRIP
More informationKWin went XCB. Blue Systems. October X.Org Developer s Conference
KWin went XCB Martin Gräßlin mgraesslin@kde.org Blue Systems 2014 X.Org Developer s Conference October 2014 Who am I? Martin Gräßlin e-mail: mgraesslin@kde.org IRC: mgraesslin on freenode KWin maintainer
More informationStructures, Unions Alignment, Padding, Bit Fields Access, Initialization Compound Literals Opaque Structures Summary. Structures
Structures Proseminar C Grundlagen und Konzepte Michael Kuhn Research Group Scientific Computing Department of Informatics Faculty of Mathematics, Informatics und Natural Sciences University of Hamburg
More informationAbstract Classes Interfaces CSCI 201 Principles of Software Development
Abstract Classes Interfaces CSCI 201 Principles of Software Development Jeffrey Miller, Ph.D. jeffrey.miller@usc.edu Abstract Classes Outline USC CSCI 201L Abstract Classes An abstract class is a way for
More informationAbstract Classes Interfaces CSCI 201 Principles of Software Development
Abstract Classes Interfaces CSCI 201 Principles of Software Development Jeffrey Miller, Ph.D. jeffrey.miller@usc.edu Abstract Classes Outline USC CSCI 201L Abstract Classes An abstract class is a way for
More informationColor and Pixmaps. Motif Programmer s Guide 1
Color and Pixmaps Motif uses colors and pixmaps for several general purposes: To fill window backgrounds and borders To draw text and graphics in window foregrounds To generate shadows with a three dimensional
More informationPDF Document structure, that need for managing of PDF file. It uses in all functions from EMF2PDF SDK.
EMF2PDF SDK Pilot Structures struct pdf_document { PDFDocument4 *pdfdoc; }; PDF Document structure, that need for managing of PDF file. It uses in all functions from EMF2PDF SDK. typedef enum { conone
More informationDESIGNER X-Designer Release 8
DESIGNER X-Designer Release 8 User s Guide to the New Features Imperial Software Technology Limited Kings Court 185 Kings Road Reading Berkshire RG1 4EX Tel: +44 118 958 7055 Fax: +44 118 958 9005 email:
More informationX Toolkit Intrinsics C Language Interface
X Toolkit Intrinsics C Language Interface X Window System X Version 11, Release 6 First Revision - April, 1994 Joel McCormack Digital Equipment Corporation Western Software Laboratory Paul Asente Digital
More informationVariables in C. Variables in C. What Are Variables in C? CMSC 104, Fall 2012 John Y. Park
Variables in C CMSC 104, Fall 2012 John Y. Park 1 Variables in C Topics Naming Variables Declaring Variables Using Variables The Assignment Statement 2 What Are Variables in C? Variables in C have the
More informationExtending X for Double-Buffering, Multi-Buffering, and Stereo
Extending X for Double-Buffering, Multi-Buffering, and Stereo Jeffrey Friedberg Larry Seiler Jeff Vroom Version 3.3 January 11, 1990 The Multi-Buffering extension described here was a draft standard ofthe
More informationDisplay PostScript System
Display PostScript System Adobe Systems Incorporated Global Index to the Display PostScript Reference Manuals Introduction: Perspective for Software Developers Client Library Reference Manual Client Library
More informationProgramming: You will have 6 files all need to be located in the dir. named PA4:
PROGRAMMING ASSIGNMENT 4: Read Savitch: Chapter 7 and class notes Programming: You will have 6 files all need to be located in the dir. named PA4: PA4.java ShapeP4.java PointP4.java CircleP4.java RectangleP4.java
More informationMrLib: Extra GUI Libraries
MrLib: Extra GUI Libraries Version 6.6 July 22, 2016 1 Contents 1 Aligned Pasteboard 4 1.1 aligned-pasteboard.......................... 4 1.2 horizontal-pasteboard%.......................... 4 1.3 vertical-pasteboard%...........................
More informationX Toolkit Intrinsics - C Language Interface
X Toolkit Intrinsics - C Language Interface X Window System Joel McCormack, Digital Equipment Corporation Paul Asente, Digital Equipment Corporation Ralph R. Swick, Digital Equipment Corporation X Toolkit
More informationIntroducing Motif. Motif User s Guide 1
Introducing Motif Motif is a software system that provides you with a great deal of control over the appearance of your computer s visual display. This introductory chapter provides information on the
More informationDisplay PostScript System
Display PostScript System Adobe Systems Incorporated Client Library Supplement for X 15 April 1993 Adobe Systems Incorporated Adobe Developer Technologies 345 Park Avenue San Jose, CA 95110 http://partners.adobe.com/
More informationLaboratory Module Trees
Purpose: understand the notion of 2-3 trees to build, in C, a 2-3 tree 1 2-3 Trees 1.1 General Presentation Laboratory Module 7 2-3 Trees 2-3 Trees represent a the simplest type of multiway trees trees
More informationGuile-GNOME: Atk. version , updated 9 December Bill Haneman Marc Mulcahy Padraig O Briain
Guile-GNOME: Atk version 2.16.2, updated 9 December 2011 Bill Haneman Marc Mulcahy Padraig O Briain This manual is for (gnome atk) (version 2.16.2, updated 9 December 2011) Copyright 2001-2007 Bill Haneman,
More informationGuile-GNOME: Libgnomecanvas
Guile-GNOME: Libgnomecanvas version 2.16.2, updated 9 December 2011 Federico Mena Quintero Raph Levien and others This manual is for (gnome libgnomecanvas) (version 2.16.2, updated 9 December 2011) Copyright
More informationXm Data Types. XmDirection. XmFontList. XmParseMapping. XmParseTable. XmRenderTable. XmString. XmStringDirection. XmStringTable. XmTab.
Xm Data Types XmDirection XmFontList XmParseMapping XmParseTable XmRenderTable XmString XmStringDirection XmStringTable XmTab XmTabList XmTextPosition Motif Programmer s Reference 1 XmDirection (library
More informationLab 4. Out: Friday, February 25th, 2005
CS034 Intro to Systems Programming Doeppner & Van Hentenryck Lab 4 Out: Friday, February 25th, 2005 What you ll learn. In this lab, you ll learn to use function pointers in a variety of applications. You
More informationDesigning Interactive Systems II
Designing Interactive Systems II Computer Science Graduate Program SS 2011 Prof. Dr. Jan Borchers Media Computing Group RWTH Aachen University http://hci.rwth-aachen.de/dis2 Jan Borchers 1 Review: WM,
More informationOpenGL. 1 OpenGL OpenGL 1.2 3D. (euske) 1. Client-Server Model OpenGL
OpenGL (euske) 1 OpenGL - 1.1 OpenGL 1. Client-Server Model 2. 3. 1.2 3D OpenGL (Depth-Buffer Algorithm Z-Buffer Algorithm) (polygon ) ( rendering) Client-Server Model X Window System ( GL ) GL (Indy O
More information1 Getting started with Processing
cisc3665, fall 2011, lab I.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For
More informationApplication Note ANGS [Issued date August 1, 2011]
GUI Script Application Note ANGS1.00.02 [Issued date August 1, 2011] Making User Keypad User keypad can be made with or without images. Either method, the user has to define widths, characters, heights
More informationPrograms. mwm. uil. xmbind. Motif Programmer s Reference 1
Programs mwm uil xmbind Motif Programmer s Reference 1 mwm (user cmd) NAME mwm The Motif Window Manager SYNOPSIS mwm [options] DESCRIPTION The mwm window manager provides functions that facilitate control
More informationTEXT -> IMAGE ENCODING FLOWCHART (LSB METHOD) start. store color depth of screen. false. false initialize psuedo rand # generator.
TXT -> IMG NOING FLOWHRT (LS MTHO) initialize pre-defined alphabet number codes store color depth of screen load image for encoding color depth < 24? switch color depth to >= 24 bit ask use for ization
More informationData Structures Unit 02
Data Structures Unit 02 Bucharest University of Economic Studies Memory classes, Bit structures and operators, User data types Memory classes Define specific types of variables in order to differentiate
More informationHeaps / Priority Queues
Heaps / Priority Queues Data and File Structures Laboratory http://wwwisicalacin/~dfslab/2017/indexhtml DFS Lab (ISI) Heaps / Priority Queues 1 / 17 Definitions Complete binary tree All non-leaf nodes
More informationXm Widget Classes. XmArrowButton. XmArrowButtonGadget. XmBulletinBoard. XmCascadeButton. XmCascadeButtonGadget. XmComboBox. XmCommand.
Xm Widget Classes XmArrowButton XmArrowButtonGadget XmBulletinBoard XmCascadeButton XmCascadeButtonGadget XmComboBox XmCommand XmContainer XmDialogShell XmDisplay XmDragContext XmDragIcon XmDrawingArea
More informationCSE 230 Intermediate Programming in C and C++
CSE 230 Intermediate Programming in C and C++ Unions and Bit Fields Fall 2017 Stony Brook University Instructor: Shebuti Rayana http://www3.cs.stonybrook.edu/~cse230/ Union Like structures, unions are
More informationX Window System Protocol
X Window System Protocol X Consortium Standard Robert W. Scheifler X Window System Protocol: X Consortium Standard Robert W. Scheifler Version 1.0 Copyright 1986,1987,1988,1994,2004 The Open Group X Window
More informationCS240: Programming in C
CS240: Programming in C Lecture 10: Review - Structures and Memory Allocation Unions Recap: Structures Holds multiple items as a unit Treated as scalar in C: can be returned from functions, passed to functions
More informationGuile-GNOME: Atk. version , updated 2 September Bill Haneman Marc Mulcahy Padraig O Briain
Guile-GNOME: Atk version 2.15.93, updated 2 September 2007 Bill Haneman Marc Mulcahy Padraig O Briain This manual is for (gnome atk) (version 2.15.93, updated 2 September 2007) Copyright 2001-2007 Bill
More informationStructure of a Program Using UIL and MRM
Structure of a Program Using UIL and MRM The User Interface Language (UIL) allows an application developer to separate the specification of particular widget hierarchies from the application source code.
More informationGWT - UIOBJECT CLASS
GWT - UIOBJECT CLASS http://www.tutorialspoint.com/gwt/gwt_uiobject_class.htm Copyright tutorialspoint.com Introduction The class UIObject is the superclass for all user-interface objects. It simply wraps
More informationrfbproto.h 1/12 typedef struct { CARD16 x; CARD16 y;
rfbproto.h 1/12 / Copyright (C) 1997, 1998 Olivetti & Oracle Research Laboratory This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published
More informationOutput models Drawing Rasterization Color models
Output models Drawing Rasterization olor models Fall 2004 6.831 UI Design and Implementation 1 Fall 2004 6.831 UI Design and Implementation 2 omponents Graphical objects arranged in a tree with automatic
More informationECE 3331, Dr. Hebert, Summer-3, 2016 HW 11 Hardcopy HW due Tues 07/19 Program due Sunday 07/17. Problem 1. Section 10.6, Exercise 3.
ECE 3331, Dr. Hebert, Summer-3, 2016 HW 11 Hardcopy HW due Tues 07/19 Program due Sunday 07/17 Problem 1. Section 10.6, Exercise 3. Problem 2. Section 10.6, Exercise 5. Problem 3. Section 10.6, Exercise
More informationDESIGNER X-Designer Release 9
DESIGNER X-Designer Release 9 User s Guide to the New Features Editor IST Limited PO Box 3558 Wokingham Berkshire RG40 9FT Tel: +44 845 034 0961 Fax: +44 118 977 2090 email: sales@ist.co.uk support@ist.co.uk
More informationVariables in C. CMSC 104, Spring 2014 Christopher S. Marron. (thanks to John Park for slides) Tuesday, February 18, 14
Variables in C CMSC 104, Spring 2014 Christopher S. Marron (thanks to John Park for slides) 1 Variables in C Topics Naming Variables Declaring Variables Using Variables The Assignment Statement 2 What
More informationCISC 1600 Lecture 3.1 Introduction to Processing
CISC 1600 Lecture 3.1 Introduction to Processing Topics: Example sketches Drawing functions in Processing Colors in Processing General Processing syntax Processing is for sketching Designed to allow artists
More informationWatch the following for more announcements
Review "plain text file" loadstrings() split() splittokens() selectinput() println(), float(), int(), can take an array argument, will return an array easy way to convert an array of Strings to an array
More informationStructures and Unions in C. Alan L. Cox
Structures and Unions in C Alan L. Cox alc@rice.edu Administrivia Assignment 1 is due tonight Textbook Lectures begin covering material that is also covered by the textbook on 1/30 Assignment 3 (assigned
More informationData Storage. August 9, Indiana University. Geoffrey Brown, Bryce Himebaugh 2015 August 9, / 19
Data Storage Geoffrey Brown Bryce Himebaugh Indiana University August 9, 2016 Geoffrey Brown, Bryce Himebaugh 2015 August 9, 2016 1 / 19 Outline Bits, Bytes, Words Word Size Byte Addressable Memory Byte
More informationBROWN UNNERSITY Department of Computer Science Master's Thesis CS-92-M2
BROWN UNNERSITY Department of Computer Science Master's Thesis CS-92-M2 "Class Library for the Automation of Motif (CLAM) Programmer's Manual" by Peter Wagner Class Library for the Automation of Motif
More information11 TREES DATA STRUCTURES AND ALGORITHMS IMPLEMENTATION & APPLICATIONS IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD
DATA STRUCTURES AND ALGORITHMS 11 TREES IMPLEMENTATION & APPLICATIONS IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD WWW.IMRANIHSAN.COM LECTURES ADAPTED FROM: DANIEL KANE, NEIL RHODES DEPARTMENT
More informationAdvanced Data Structures Summary
Advanced Data Structures Summary We discussed about the following data structures and operations related to them: Binary search trees 1. What information must be stored in the nodes of a binary search
More informationComputer Graphics. Making Pictures. Computer Graphics CSC470 1
Computer Graphics Making Pictures Computer Graphics CSC470 1 Getting Started Making Pictures Graphics display: Entire screen (a); windows system (b); [both have usual screen coordinates, with y-axis y
More informationCSC 1051 Algorithms and Data Structures I. Midterm Examination March 2, Name:
CSC 1051 Algorithms and Data Structures I Midterm Examination March 2, 2017 Name: Question Value Score 1 10 2 10 3 20 4 20 5 20 6 20 TOTAL 100 Please answer questions in the spaces provided. If you make
More informationRemote Procedure Call Implementations
Remote Procedure Call Implementations Sun ONC(Open Network Computing) RPC. Implements at-most-once semantics by default. At-least-once (idempotent) can also be chosen as an option for some procedures.
More informationMcMaster Brand Standard for Websites
McMaster University s policy calls for all university websites to follow its brand standard. McMaster websites share common elements, presentation and behavior and a consistent design, enabling visitors
More informationCSE 351: The Hardware/Software Interface. Section 2 Integer representations, two s complement, and bitwise operators
CSE 351: The Hardware/Software Interface Section 2 Integer representations, two s complement, and bitwise operators Integer representations In addition to decimal notation, it s important to be able to
More informationCSC 467 Lecture 13-14: Semantic Analysis
CSC 467 Lecture 13-14: Semantic Analysis Recall Parsing is to translate token stream to parse tree Today How to build trees: syntax direction translation How to add information to trees: semantic analysis
More information