Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[5a2e7c]: manuals / vgui_users_guide / node16.html Maximize Restore History

Download this file

node16.html    115 lines (113 with data), 4.4 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 98.1 release (February 19th, 1998)
originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>More complicated GUIs</TITLE>
<META NAME="description" CONTENT="More complicated GUIs">
<META NAME="keywords" CONTENT="vgui_users_guide">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="STYLESHEET" HREF="vgui_users_guide.css">
<LINK REL="next" HREF="node17.html">
<LINK REL="previous" HREF="node15.html">
<LINK REL="up" HREF="vgui_users_guide.html">
<LINK REL="next" HREF="node17.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html211"
HREF="node17.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/local/share/latex2html/icons.gif/next_motif.gif"></A>
<A NAME="tex2html208"
HREF="vgui_users_guide.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/local/share/latex2html/icons.gif/up_motif.gif"></A>
<A NAME="tex2html202"
HREF="node15.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/local/share/latex2html/icons.gif/previous_motif.gif"></A>
<A NAME="tex2html210"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/local/share/latex2html/icons.gif/contents_motif.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html212"
HREF="node17.html">About this document ...</A>
<B> Up:</B> <A NAME="tex2html209"
HREF="vgui_users_guide.html">VGUI Tutorial for application</A>
<B> Previous:</B> <A NAME="tex2html203"
HREF="node15.html">Displaying 3D objects</A>
<BR>
<BR>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION00700000000000000000">
More complicated GUIs</A>
</H1>
<P>
<FONT SIZE="-2">There are several reasons why you may wish to write your application without using
the VGUI pattern. One reason is that only menus and dialog boxes are available using
the pattern provided by VGUI. If you want to use more complicated widgets in your
GUI (e.g. sliders, buttons) then you will have to write the application for one
particular GUI toolkit only.
</FONT>
<P>
<FONT SIZE="-2">Alternatively you may be very familiar with a particular toolkit and not want to learn
the VGUI pattern for menus etc (but remember this will make your code less portable).
</FONT>
<P>
<FONT SIZE="-2">As a first example here is the display image example again, but this time written in GTK.
We still use the tableau code from VGUI to create the OpenGL area where the image is
displayed and the <TT>vgui_gtk_adaptor</TT> class to plug the OpenGL area into our GTK code.
</FONT>
<P>
<FONT SIZE="-2"><IMG
WIDTH="600" HEIGHT="604" ALIGN="BOTTOM" BORDER="0"
SRC="img14.gif"
ALT="\input{gtk-display-image}">
</FONT>
<P>
<FONT SIZE="-2">In this next example we are writing a movie player and we want to use
buttons to stop and start the movie. In order to do this the application
has been written in GTK.
</FONT>
<P>
<FONT SIZE="-2">
</FONT>
<P><HR>
<!--Navigation Panel-->
<A NAME="tex2html211"
HREF="node17.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/local/share/latex2html/icons.gif/next_motif.gif"></A>
<A NAME="tex2html208"
HREF="vgui_users_guide.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/local/share/latex2html/icons.gif/up_motif.gif"></A>
<A NAME="tex2html202"
HREF="node15.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/local/share/latex2html/icons.gif/previous_motif.gif"></A>
<A NAME="tex2html210"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/local/share/latex2html/icons.gif/contents_motif.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html212"
HREF="node17.html">About this document ...</A>
<B> Up:</B> <A NAME="tex2html209"
HREF="vgui_users_guide.html">VGUI Tutorial for application</A>
<B> Previous:</B> <A NAME="tex2html203"
HREF="node15.html">Displaying 3D objects</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>Target Junior User</I>
<BR><I>2000-10-31</I>
</ADDRESS>
</BODY>
</HTML>