Changeset 2555
- Timestamp:
- Sep 21, 2011 9:19:27 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r2324 r2555 672 672 JAVA 673 673 PYTHON 674 XSUBPP 674 675 PERL 675 676 mkoctfile2 … … 7376 7377 7377 7378 7378 with_matlab="yes"7379 7379 7380 7380 # Check whether --with-matlab was given. … … 7894 7894 PERL_CCFlAGS= 7895 7895 PERL_VERSION_RV= 7896 XSUBPP= 7896 7897 PERL_LIBSPEC= 7897 7898 if test "$with_perl" != "no" ; then … … 7938 7939 7939 7940 7941 # Extract the first word of "xsubpp", so it can be a program name with args. 7942 set dummy xsubpp; ac_word=$2 7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7944 $as_echo_n "checking for $ac_word... " >&6; } 7945 if ${ac_cv_path_XSUBPP+:} false; then : 7946 $as_echo_n "(cached) " >&6 7947 else 7948 case $XSUBPP in 7949 [\\/]* | ?:[\\/]*) 7950 ac_cv_path_XSUBPP="$XSUBPP" # Let the user override the test with a path. 7951 ;; 7952 *) 7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7954 as_dummy="$with_perl/bin:$with_perl" 7955 for as_dir in $as_dummy 7956 do 7957 IFS=$as_save_IFS 7958 test -z "$as_dir" && as_dir=. 7959 for ac_exec_ext in '' $ac_executable_extensions; do 7960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7961 ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext" 7962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7963 break 2 7964 fi 7965 done 7966 done 7967 IFS=$as_save_IFS 7968 7969 ;; 7970 esac 7971 fi 7972 XSUBPP=$ac_cv_path_XSUBPP 7973 if test -n "$XSUBPP"; then 7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5 7975 $as_echo "$XSUBPP" >&6; } 7976 else 7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7978 $as_echo "no" >&6; } 7979 fi 7980 7981 7940 7982 else 7941 7983 # Extract the first word of "perl", so it can be a program name with args. … … 7973 8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 7974 8016 $as_echo "$PERL" >&6; } 8017 else 8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8019 $as_echo "no" >&6; } 8020 fi 8021 8022 8023 # Extract the first word of "xsubpp", so it can be a program name with args. 8024 set dummy xsubpp; ac_word=$2 8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8026 $as_echo_n "checking for $ac_word... " >&6; } 8027 if ${ac_cv_path_XSUBPP+:} false; then : 8028 $as_echo_n "(cached) " >&6 8029 else 8030 case $XSUBPP in 8031 [\\/]* | ?:[\\/]*) 8032 ac_cv_path_XSUBPP="$XSUBPP" # Let the user override the test with a path. 8033 ;; 8034 *) 8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8036 for as_dir in $PATH 8037 do 8038 IFS=$as_save_IFS 8039 test -z "$as_dir" && as_dir=. 8040 for ac_exec_ext in '' $ac_executable_extensions; do 8041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8042 ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext" 8043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8044 break 2 8045 fi 8046 done 8047 done 8048 IFS=$as_save_IFS 8049 8050 ;; 8051 esac 8052 fi 8053 XSUBPP=$ac_cv_path_XSUBPP 8054 if test -n "$XSUBPP"; then 8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5 8056 $as_echo "$XSUBPP" >&6; } 7975 8057 else 7976 8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 … … 9558 9640 9559 9641 MAKE=${make_command} 9642 9560 9643 9561 9644 -
trunk/configure.in
r2324 r2555 429 429 AC_SUBST(TK_VERSION) 430 430 AC_SUBST(VTKDIR) 431 AC_SUBST(XSUBPP) 431 432 432 433 ac_configure_args="--disable-threads --enable-shared" -
trunk/gui/src/RpCanvPlacard.c
r2548 r2555 211 211 212 212 /* 213 * The record below describes a canvas widget. It is made available 214 * to the item procedures so they can access certain shared fields such 215 * as the overall displacement and scale factor for the canvas. 216 */ 217 218 typedef struct TkCanvas { 219 Tk_Window tkwin; /* Window that embodies the canvas. NULL 220 * means that the window has been destroyed 221 * but the data structures haven't yet been 222 * cleaned up.*/ 223 Display *display; /* Display containing widget; needed, among 224 * other things, to release resources after 225 * tkwin has already gone away. */ 226 Tcl_Interp *interp; /* Interpreter associated with canvas. */ 227 Tcl_Command widgetCmd; /* Token for canvas's widget command. */ 228 Tk_Item *firstItemPtr; /* First in list of all items in canvas, 229 * or NULL if canvas empty. */ 230 Tk_Item *lastItemPtr; /* Last in list of all items in canvas, 231 * or NULL if canvas empty. */ 232 233 /* 234 * Information used when displaying widget: 235 */ 236 237 int borderWidth; /* Width of 3-D border around window. */ 238 Tk_3DBorder bgBorder; /* Used for canvas background. */ 239 int relief; /* Indicates whether window as a whole is 240 * raised, sunken, or flat. */ 241 int highlightWidth; /* Width in pixels of highlight to draw 242 * around widget when it has the focus. 243 * <= 0 means don't draw a highlight. */ 244 XColor *highlightBgColorPtr; 245 /* Color for drawing traversal highlight 246 * area when highlight is off. */ 247 XColor *highlightColorPtr; /* Color for drawing traversal highlight. */ 248 int inset; /* Total width of all borders, including 249 * traversal highlight and 3-D border. 250 * Indicates how much interior stuff must 251 * be offset from outside edges to leave 252 * room for borders. */ 253 GC pixmapGC; /* Used to copy bits from a pixmap to the 254 * screen and also to clear the pixmap. */ 255 int width, height; /* Dimensions to request for canvas window, 256 * specified in pixels. */ 257 int redrawX1, redrawY1; /* Upper left corner of area to redraw, 258 * in pixel coordinates. Border pixels 259 * are included. Only valid if 260 * REDRAW_PENDING flag is set. */ 261 int redrawX2, redrawY2; /* Lower right corner of area to redraw, 262 * in integer canvas coordinates. Border 263 * pixels will *not* be redrawn. */ 264 int confine; /* Non-zero means constrain view to keep 265 * as much of canvas visible as possible. */ 266 267 /* 268 * Information used to manage the selection and insertion cursor: 269 */ 270 271 Tk_CanvasTextInfo textInfo; /* Contains lots of fields; see tk.h for 272 * details. This structure is shared with 273 * the code that implements individual items. */ 274 int insertOnTime; /* Number of milliseconds cursor should spend 275 * in "on" state for each blink. */ 276 int insertOffTime; /* Number of milliseconds cursor should spend 277 * in "off" state for each blink. */ 278 Tcl_TimerToken insertBlinkHandler; 279 /* Timer handler used to blink cursor on and 280 * off. */ 281 282 /* 283 * Transformation applied to canvas as a whole: to compute screen 284 * coordinates (X,Y) from canvas coordinates (x,y), do the following: 285 * 286 * X = x - xOrigin; 287 * Y = y - yOrigin; 288 */ 289 290 int xOrigin, yOrigin; /* Canvas coordinates corresponding to 291 * upper-left corner of window, given in 292 * canvas pixel units. */ 293 int drawableXOrigin, drawableYOrigin; 294 /* During redisplay, these fields give the 295 * canvas coordinates corresponding to 296 * the upper-left corner of the drawable 297 * where items are actually being drawn 298 * (typically a pixmap smaller than the 299 * whole window). */ 300 301 /* 302 * Information used for event bindings associated with items. 303 */ 304 305 Tk_BindingTable bindingTable; 306 /* Table of all bindings currently defined 307 * for this canvas. NULL means that no 308 * bindings exist, so the table hasn't been 309 * created. Each "object" used for this 310 * table is either a Tk_Uid for a tag or 311 * the address of an item named by id. */ 312 Tk_Item *currentItemPtr; /* The item currently containing the mouse 313 * pointer, or NULL if none. */ 314 Tk_Item *newCurrentPtr; /* The item that is about to become the 315 * current one, or NULL. This field is 316 * used to detect deletions of the new 317 * current item pointer that occur during 318 * Leave processing of the previous current 319 * item. */ 320 double closeEnough; /* The mouse is assumed to be inside an 321 * item if it is this close to it. */ 322 XEvent pickEvent; /* The event upon which the current choice 323 * of currentItem is based. Must be saved 324 * so that if the currentItem is deleted, 325 * can pick another. */ 326 int state; /* Last known modifier state. Used to 327 * defer picking a new current object 328 * while buttons are down. */ 329 330 /* 331 * Information used for managing scrollbars: 332 */ 333 334 char *xScrollCmd; /* Command prefix for communicating with 335 * horizontal scrollbar. NULL means no 336 * horizontal scrollbar. Malloc'ed*/ 337 char *yScrollCmd; /* Command prefix for communicating with 338 * vertical scrollbar. NULL means no 339 * vertical scrollbar. Malloc'ed*/ 340 int scrollX1, scrollY1, scrollX2, scrollY2; 341 /* These four coordinates define the region 342 * that is the 100% area for scrolling (i.e. 343 * these numbers determine the size and 344 * location of the sliders on scrollbars). 345 * Units are pixels in canvas coords. */ 346 char *regionString; /* The option string from which scrollX1 347 * etc. are derived. Malloc'ed. */ 348 int xScrollIncrement; /* If >0, defines a grid for horizontal 349 * scrolling. This is the size of the "unit", 350 * and the left edge of the screen will always 351 * lie on an even unit boundary. */ 352 int yScrollIncrement; /* If >0, defines a grid for horizontal 353 * scrolling. This is the size of the "unit", 354 * and the left edge of the screen will always 355 * lie on an even unit boundary. */ 356 357 /* 358 * Information used for scanning: 359 */ 360 361 int scanX; /* X-position at which scan started (e.g. 362 * button was pressed here). */ 363 int scanXOrigin; /* Value of xOrigin field when scan started. */ 364 int scanY; /* Y-position at which scan started (e.g. 365 * button was pressed here). */ 366 int scanYOrigin; /* Value of yOrigin field when scan started. */ 367 368 /* 369 * Information used to speed up searches by remembering the last item 370 * created or found with an item id search. 371 */ 372 373 Tk_Item *hotPtr; /* Pointer to "hot" item (one that's been 374 * recently used. NULL means there's no 375 * hot item. */ 376 Tk_Item *hotPrevPtr; /* Pointer to predecessor to hotPtr (NULL 377 * means item is first in list). This is 378 * only a hint and may not really be hotPtr's 379 * predecessor. */ 380 381 /* 382 * Miscellaneous information: 383 */ 384 385 Tk_Cursor cursor; /* Current cursor for window, or None. */ 386 char *takeFocus; /* Value of -takefocus option; not used in 387 * the C code, but used by keyboard traversal 388 * scripts. Malloc'ed, but may be NULL. */ 389 double pixelsPerMM; /* Scale factor between MM and pixels; 390 * used when converting coordinates. */ 391 int flags; /* Various flags; see below for 392 * definitions. */ 393 int nextId; /* Number to use as id for next item 394 * created in widget. */ 395 Tk_PostscriptInfo psInfo; 396 /* Pointer to information used for generating 397 * Postscript for the canvas. NULL means 398 * no Postscript is currently being 399 * generated. */ 400 Tcl_HashTable idTable; /* Table of integer indices. */ 401 /* 402 * Additional information, added by the 'dash'-patch 403 */ 404 VOID *reserved1; 405 Tk_State canvas_state; /* state of canvas */ 406 VOID *reserved2; 407 VOID *reserved3; 408 Tk_TSOffset tsoffset; 409 #ifndef USE_OLD_TAG_SEARCH 410 void *bindTagExprs; /* linked list of tag expressions used in bindings */ 411 #endif 412 } TkCanvas; 413 414 415 /* 213 416 * ------------------------------------------------------------------------ 214 417 * RpCanvPlacard_Init -- -
trunk/src/core/RpLibraryFInterface.cc
r2549 r2555 221 221 char* path, /* null terminated path */ 222 222 char* retText, /* return text buffer for fortran*/ 223 223 int path_len, 224 224 int retText_len) /* length of return text buffer */ 225 225 { … … 230 230 std::string inPath = ""; 231 231 232 inPath = null_terminate_str(path, path_len);232 inPath = null_terminate_str(path, path_len); 233 233 234 234 if ((handle) && (*handle != 0)) {
Note: See TracChangeset
for help on using the changeset viewer.