mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-11 21:50:34 +05:00
togl 1.7
This commit is contained in:
parent
6e5e049905
commit
7b30f11858
@ -13,7 +13,7 @@ netgen_LDADD = $(top_builddir)/libsrc/visualization/libvisual.a \
|
|||||||
$(top_builddir)/libsrc/gprim/libgprim.la \
|
$(top_builddir)/libsrc/gprim/libgprim.la \
|
||||||
$(top_builddir)/libsrc/linalg/libla.la \
|
$(top_builddir)/libsrc/linalg/libla.la \
|
||||||
$(top_builddir)/libsrc/general/libgen.la \
|
$(top_builddir)/libsrc/general/libgen.la \
|
||||||
-L$(TK_BIN_DIR)/Togl2.0 $(TOGLLIBDIR) -lTogl2.0 $(LIBGLU) $(TK_LIB_SPEC) $(TCL_LIB_SPEC) $(MPI_LIBS) $(FFMPEG_LIBS) $(JPEGLIB_LIBS) $(PKG_LIBS)
|
-L$(TK_BIN_DIR)/Togl1.7 $(TOGLLIBDIR) -lTogl1.7 $(LIBGLU) $(TK_LIB_SPEC) $(TCL_LIB_SPEC) $(MPI_LIBS) $(FFMPEG_LIBS) $(JPEGLIB_LIBS) $(PKG_LIBS)
|
||||||
#
|
#
|
||||||
# $(top_builddir)/libsrc/occ/liboccvis.la
|
# $(top_builddir)/libsrc/occ/liboccvis.la
|
||||||
# $(top_builddir)/libsrc/occ/libocc.la
|
# $(top_builddir)/libsrc/occ/libocc.la
|
||||||
|
@ -9,9 +9,10 @@ set oldmousey 0
|
|||||||
# use this one for Togl 2.0
|
# use this one for Togl 2.0
|
||||||
|
|
||||||
# if { 1 } {
|
# if { 1 } {
|
||||||
|
# if {[catch {togl .ndraw -width 400 -height 300 -rgba true -double true -depth true -privatecmap false -stereo false -indirect true -create init -display draw -reshape reshape }] } {
|
||||||
|
|
||||||
# if {[catch {togl .ndraw -width 400 -height 300 -rgba true -double true -depth true -privatecmap false -stereo false -indirect true -create init -display draw -reshape reshape }] } {
|
if {[catch {togl .ndraw -width 400 -height 300 -rgba true -double true -depth true -privatecmap false -stereo false -indirect true }] } {
|
||||||
if {[catch {togl .ndraw -width 400 -height 300 -rgba true -double true -depth true -privatecmap false -stereo false -indirect true -create init -display draw -reshape reshape }] } { puts "no OpenGL"
|
puts "no OpenGL"
|
||||||
} {
|
} {
|
||||||
#
|
#
|
||||||
pack .ndraw -expand true -fill both -padx 10 -pady 10
|
pack .ndraw -expand true -fill both -padx 10 -pady 10
|
||||||
|
@ -26,8 +26,8 @@ The interface between the GUI and the netgen library
|
|||||||
|
|
||||||
|
|
||||||
// to be sure to include the 'right' togl-version
|
// to be sure to include the 'right' togl-version
|
||||||
// #include "togl_1_7.h"
|
#include "togl_1_7.h"
|
||||||
#include "togl_2_0.h"
|
// #include "togl_2_0.h"
|
||||||
|
|
||||||
extern bool nodisplay;
|
extern bool nodisplay;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user