bg, initial input, label, fix target all:

This commit is contained in:
Andreas Fabri 2007-05-02 08:27:49 +00:00
parent d21560f9c0
commit eda8168d4e
3 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ LDFLAGS = \
# target entries
#---------------------------------------------------------------------#
all: spatial_searching
all: spatial_searching$(EXE_EXT)
spatial_searching_toolbar$(OBJ_EXT): spatial_searching_toolbar.cpp spatial_searching_toolbar.moc
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) spatial_searching_toolbar.cpp

View File

@ -56,8 +56,7 @@ int main(int, char*){
int current_state;
std::vector<Point_2> vector_of_points;
const QString my_title_string("Spatial Searching Demo with"
" CGAL Qt_widget");
const QString my_title_string("Spatial searching");
class Qt_layer_show_ch : public CGAL::Qt_widget_layer
@ -132,7 +131,7 @@ public:
//the new tools toolbar
newtoolbar = new Tools_toolbar(widget, this, &vector_of_points);
*widget << CGAL::LineWidth(2) << CGAL::BackgroundColor (CGAL::BLACK);
*widget << CGAL::LineWidth(2) << CGAL::BackgroundColor (CGAL::WHITE);
resize(w,h);
widget->set_window(-1, 1, -1, 1);

View File

@ -95,6 +95,7 @@ Tools_toolbar::Tools_toolbar(CGAL::Qt_widget *w,
&circle_layer, SLOT(stateChanged(int)));
connect(but[4], SIGNAL(stateChanged(int)),
&edit_layer, SLOT(stateChanged(int)));
but[1]->toggle();
};
#include "spatial_searching_toolbar.moc"