|
From: <le...@us...> - 2007-02-16 22:20:55
|
Revision: 337
http://svn.sourceforge.net/qcell/?rev=337&view=rev
Author: lessm
Date: 2007-02-16 14:20:54 -0800 (Fri, 16 Feb 2007)
Log Message:
-----------
- colors changed
Modified Paths:
--------------
trunk/qcell/basesources/Renderer.cpp
trunk/qcell/basesources/functiontable.cpp
trunk/qcell/parsers/N/NParserPlugin.cpp
trunk/qcell/visgui/MainWindow.cpp
Modified: trunk/qcell/basesources/Renderer.cpp
===================================================================
--- trunk/qcell/basesources/Renderer.cpp 2007-02-16 22:06:58 UTC (rev 336)
+++ trunk/qcell/basesources/Renderer.cpp 2007-02-16 22:20:54 UTC (rev 337)
@@ -75,7 +75,7 @@
glNewList(greed, GL_COMPILE);
glBegin(GL_LINES);
- glColor3f(1.0f, 1.0f, 1.0f);
+ glColor3f(0.0f, 0.0f, 0.0f);
float bias = 1.0f;
float mx = -storage.getSizeX(), my = -storage.getSizeY(), mz = -storage.getSizeZ();
@@ -167,7 +167,7 @@
void Renderer::initializeGL()
{
- qglClearColor(QColor(0,0,0));
+ qglClearColor(QColor(255,255,255));
glShadeModel(GL_SMOOTH);
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);
Modified: trunk/qcell/basesources/functiontable.cpp
===================================================================
--- trunk/qcell/basesources/functiontable.cpp 2007-02-16 22:06:58 UTC (rev 336)
+++ trunk/qcell/basesources/functiontable.cpp 2007-02-16 22:20:54 UTC (rev 337)
@@ -75,6 +75,7 @@
}
// Edit proper cell
+ ui.functionTable->scrollToItem(item);
ui.functionTable->editItem(item);
}
Modified: trunk/qcell/parsers/N/NParserPlugin.cpp
===================================================================
--- trunk/qcell/parsers/N/NParserPlugin.cpp 2007-02-16 22:06:58 UTC (rev 336)
+++ trunk/qcell/parsers/N/NParserPlugin.cpp 2007-02-16 22:20:54 UTC (rev 337)
@@ -6,7 +6,7 @@
* Last Update: wto 28 lis 2006 11:23:55 CET
*/
#include "NParserPlugin.h"
-
+#include <QDebug>
NParserPlugin::NParserPlugin()
{
supported_parser_types << "Neighbourhood";
@@ -15,6 +15,8 @@
QString NParserPlugin::realParser(const QByteArray content, const QString type, const QString subtype)
{
+ QString costam(content);
+ qDebug() << content;
QStringList result;
// Used to doublecheck the format of a line in file
QRegExp format;
Modified: trunk/qcell/visgui/MainWindow.cpp
===================================================================
--- trunk/qcell/visgui/MainWindow.cpp 2007-02-16 22:06:58 UTC (rev 336)
+++ trunk/qcell/visgui/MainWindow.cpp 2007-02-16 22:20:54 UTC (rev 337)
@@ -466,7 +466,8 @@
}
file_content = file.readAll();
- file.close();
+ qDebug()<<file_content;
+ file.close();
if (type == "Neighbourhood")
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|