ARB
|
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include "GLwDrawAP.h"
#include <assert.h>
#include <stdio.h>
#include <Xm/PrimitiveP.h>
#include "GLwMDrawAP.h"
Go to the source code of this file.
Macros | |
#define | USE(x) (x)=(x) |
#define | ATTRIBLIST_SIZE 32 |
#define | offset(field) XtOffset(GLwDrawingAreaWidget, glwDrawingArea.field) |
Functions | |
static void | createColormap (GLwDrawingAreaWidget w, int offset, XrmValue *value) |
static void | Initialize (GLwDrawingAreaWidget req, GLwDrawingAreaWidget neww, ArgList args, Cardinal *num_args) |
static void | Realize (Widget w, Mask *valueMask, XSetWindowAttributes *attributes) |
static void | Redraw (GLwDrawingAreaWidget w, XEvent *event, Region region) |
static void | Resize (GLwDrawingAreaWidget glw) |
static void | Destroy (GLwDrawingAreaWidget glw) |
static void | glwInput (GLwDrawingAreaWidget glw, XEvent *event, String *params, Cardinal *numParams) |
static void | error (Widget w, const char *string) |
static void | warning (Widget w, const char *string) |
static void | createAttribList (GLwDrawingAreaWidget w) |
static void | createVisualInfo (GLwDrawingAreaWidget w) |
void | GLwDrawingAreaMakeCurrent (Widget w, GLXContext ctx) |
void | GLwDrawingAreaSwapBuffers (Widget w) |
Variables | |
static char | defaultTranslations [] |
static XtActionsRec | actions [] |
static XtResource | resources [] |
static XtResource | initializeResources [] |
static XtResource | backgroundResources [] |
GLwDrawingAreaClassRec | glwDrawingAreaClassRec |
WidgetClass | glwDrawingAreaWidgetClass =(WidgetClass)&glwDrawingAreaClassRec |
#define USE | ( | x | ) | (x)=(x) |
Definition at line 48 of file GLwDrawA.c.
Referenced by createColormap(), glwInput(), and Redraw().
#define ATTRIBLIST_SIZE 32 |
Definition at line 71 of file GLwDrawA.c.
Referenced by createAttribList().
#define offset | ( | field | ) | XtOffset(GLwDrawingAreaWidget, glwDrawingArea.field) |
Definition at line 73 of file GLwDrawA.c.
Referenced by ED4_folding_line::add_to_dimension(), LineQueue::alignInto(), AP_get_codons(), Oligo::at(), PrimerDesign::buildPrimerTrees(), calcGbdOffsets(), canvas_to_xfig(), QuadraticThreshold::change_parsimony_start(), create_concatInfo_SAI(), PT_compressed::createFrom(), SeqPart::data(), decr_displ(), embl_comments(), FastSearchSequence::fast_align(), findMultipattern(), CompactedSequence::gapsBefore(), CompactedSubSequence::gapsBefore(), gb_create_dictionary(), gb_hierarchy_location::gb_hierarchy_location(), gb_hierarchy_location::get_db_path(), get_list_part(), get_var_string(), getelem(), BufferedFileReader::getLine_intern(), getrel_GBDATA(), Item::Item(), RegExpr::match(), gb_hierarchy_location::matches(), matrix_config_changed_cb(), mtog_decode_ref_and_remarks(), NormalizeOffset(), gb_hierarchy_location::operator==(), ReadableDataLoc::operator[](), gc_desc::parse_decl(), Item::print(), Node::print(), PT_read_son< POS_TREE2 >(), ReadNA_Flat(), remove_advice_id(), resolve_IUPAC_target_string(), scan_token_or_die(), set_displ(), ProbeMatch_impl::set_probe_region_offset(), stristr(), write_GBDATA(), write_IFS(), writeGbdByKey(), and WriteNA_Flat().
|
static |
Definition at line 372 of file GLwDrawA.c.
References assert, _GLwDrawingAreaRec::glwDrawingArea, USE, and GLwDrawingAreaPart::visualInfo.
|
static |
Definition at line 417 of file GLwDrawA.c.
References GLwDrawingAreaPart::allocateBackground, GLwDrawingAreaPart::allocateOtherColors, assert, GLwDrawingAreaPart::attribList, _GLwDrawingAreaRec::core, createAttribList(), createVisualInfo(), FALSE, _GLwDrawingAreaRec::glwDrawingArea, GLwDrawingAreaPart::myList, GLwDrawingAreaPart::myVisual, TRUE, and GLwDrawingAreaPart::visualInfo.
Referenced by ArbProbeCollection::openXML().
|
static |
Definition at line 462 of file GLwDrawA.c.
References GLwDrawingAreaPart::allocateBackground, cb, _GLwDrawingAreaRec::core, GLwDrawingAreaCallbackStruct::event, GLwDrawingAreaPart::ginitCallback, GLwCR_GINIT, _GLwDrawingAreaRec::glwDrawingArea, GLwDrawingAreaCallbackStruct::height, GLwDrawingAreaPart::installBackground, GLwDrawingAreaPart::installColormap, GLwDrawingAreaCallbackStruct::reason, status, GLwDrawingAreaPart::visualInfo, warning(), and GLwDrawingAreaCallbackStruct::width.
|
static |
Definition at line 522 of file GLwDrawA.c.
References cb, GLwDrawingAreaCallbackStruct::event, GLwCR_EXPOSE, GLwDrawingAreaCallbackStruct::height, GLwDrawingAreaCallbackStruct::reason, USE, and GLwDrawingAreaCallbackStruct::width.
|
static |
Definition at line 535 of file GLwDrawA.c.
References cb, GLwDrawingAreaCallbackStruct::event, GLwCR_RESIZE, GLwDrawingAreaCallbackStruct::height, GLwDrawingAreaCallbackStruct::reason, and GLwDrawingAreaCallbackStruct::width.
|
static |
Definition at line 547 of file GLwDrawA.c.
References GLwDrawingAreaPart::attribList, _GLwDrawingAreaRec::glwDrawingArea, GLwDrawingAreaPart::installColormap, GLwDrawingAreaPart::myList, GLwDrawingAreaPart::myVisual, status, and GLwDrawingAreaPart::visualInfo.
|
static |
Definition at line 596 of file GLwDrawA.c.
References cb, _GLwDrawingAreaRec::core, GLwDrawingAreaCallbackStruct::event, GLwCR_INPUT, _GLwDrawingAreaRec::glwDrawingArea, GLwDrawingAreaCallbackStruct::height, GLwDrawingAreaPart::inputCallback, GLwDrawingAreaCallbackStruct::reason, USE, and GLwDrawingAreaCallbackStruct::width.
Definition at line 292 of file GLwDrawA.c.
Referenced by createAttribList(), and createVisualInfo().
Definition at line 303 of file GLwDrawA.c.
Referenced by Realize().
|
static |
Definition at line 316 of file GLwDrawA.c.
References GLwDrawingAreaPart::accumAlphaSize, GLwDrawingAreaPart::accumBlueSize, GLwDrawingAreaPart::accumGreenSize, GLwDrawingAreaPart::accumRedSize, GLwDrawingAreaPart::alphaSize, assert, GLwDrawingAreaPart::attribList, ATTRIBLIST_SIZE, GLwDrawingAreaPart::auxBuffers, GLwDrawingAreaPart::blueSize, GLwDrawingAreaPart::bufferSize, GLwDrawingAreaPart::depthSize, GLwDrawingAreaPart::doublebuffer, error(), _GLwDrawingAreaRec::glwDrawingArea, GLwDrawingAreaPart::greenSize, GLwDrawingAreaPart::level, GLwDrawingAreaPart::redSize, GLwDrawingAreaPart::rgba, GLwDrawingAreaPart::stencilSize, and GLwDrawingAreaPart::stereo.
Referenced by Initialize().
|
static |
Definition at line 359 of file GLwDrawA.c.
References assert, GLwDrawingAreaPart::attribList, error(), _GLwDrawingAreaRec::glwDrawingArea, and GLwDrawingAreaPart::visualInfo.
Referenced by Initialize().
void GLwDrawingAreaMakeCurrent | ( | Widget | w, |
GLXContext | ctx | ||
) |
Definition at line 607 of file GLwDrawA.c.
Referenced by InitializeOpenGLWindow().
void GLwDrawingAreaSwapBuffers | ( | Widget | w | ) |
Definition at line 622 of file GLwDrawA.c.
|
static |
Definition at line 87 of file GLwDrawA.c.
|
static |
Definition at line 98 of file GLwDrawA.c.
|
static |
Definition at line 119 of file GLwDrawA.c.
|
static |
Definition at line 176 of file GLwDrawA.c.
|
static |
Definition at line 187 of file GLwDrawA.c.
GLwDrawingAreaClassRec glwDrawingAreaClassRec |
Definition at line 234 of file GLwDrawA.c.
WidgetClass glwDrawingAreaWidgetClass =(WidgetClass)&glwDrawingAreaClassRec |
Definition at line 288 of file GLwDrawA.c.