Home » Community » U++ community news and announcements » TURTLE alpha status
Re: TURTLE alpha status [message #41888 is a reply to message #41887] |
Mon, 03 February 2014 23:10 |
Didier
Messages: 680 Registered: November 2008 Location: France
|
Contributor |
|
|
Hi Mirek,
You're turtle package is great : I added a GraphCtrl to WebWord just for a simple test and it worked out of the box with svn.6827
But when I try to make my own Turtle application (today with lattest svn) : everything compiles well ... but when I launch it, it's WebWord who gets launched ???.
I only managed to launch my app once and I even got a TheIde launched ( without ever making a turtle theide !!! ).
Something seems to be unstable or memorized in the build or launch process but I have no idea what
I also noticed that since todays svn release mouse management seems to have changed : with svn.6827 GraphCtrl worked fine, now, my Firefox promps me for stopping the script (which does not end when mouse comes over GraphCtrl )
I will try to recompile TheIde and do some more testing
NB: I am testing on Fedora 19
Here are the modifications I made to WebWord to do my test
struct UWord : public TopWindow {
public:
virtual void DragAndDrop(Point, PasteClip& d);
virtual void FrameDragAndDrop(Point, PasteClip& d);
virtual void ShutdownWindow();
RichEdit editor;
MenuBar menubar;
ToolBar toolbar;
StatusBar statusbar;
String filename;
XYY2LT_GraphCtrl graph; // ***************Line added *****************
int64 sent_prev;
static LRUList& lrufile() { static LRUList l; return l; }
void Load(const String& filename);
void OpenFile(const String& fn);
void New();
void Open();
void Save0();
void Save();
void SaveAs();
void Print();
void Pdf();
void About();
void Destroy(bool shutdown);
void SetBar();
void FileBar(Bar& bar);
void AboutMenu(Bar& bar);
void MainMenu(Bar& bar);
void MainBar(Bar& bar);
void ShowInfo();
public:
typedef UWord CLASSNAME;
static void SerializeApp(Stream& s);
UWord();
};
UWord::UWord()
{
AddFrame(menubar);
AddFrame(TopSeparatorFrame());
AddFrame(toolbar);
AddFrame(statusbar);
//Add(editor.SizePos()); // *********** line modified
Add(graph.SizePos()); // *********** line added
menubar.Set(THISBACK(MainMenu));
Sizeable().Zoomable();
WhenClose = THISBACK1(Destroy, false);
menubar.WhenHelp = toolbar.WhenHelp = statusbar;
static int doc;
Title(Format("Document%d", ++doc));
Icon(CtrlImg::File());
editor.ClearModify();
SetBar();
editor.WhenRefreshBar = THISBACK(SetBar);
OpenMain();
ActiveFocus(graph);
SetTimeCallback(-1000, THISBACK(ShowInfo));
sent_prev = 0;
}
[Updated on: Mon, 03 February 2014 23:20] Report message to a moderator
|
|
|
|
|
TURTLE alpha status
By: mirek on Mon, 03 February 2014 20:25
|
|
|
Re: TURTLE alpha status
By: Didier on Mon, 03 February 2014 23:10
|
|
|
Re: TURTLE alpha status
By: mirek on Tue, 04 February 2014 07:48
|
|
|
Re: TURTLE alpha status
By: Tom1 on Tue, 04 February 2014 09:47
|
|
|
Re: TURTLE alpha status
By: Tom1 on Tue, 04 February 2014 11:33
|
|
|
Re: TURTLE alpha status
By: Didier on Fri, 07 February 2014 16:12
|
|
|
Re: TURTLE alpha status
By: mirek on Mon, 10 February 2014 09:25
|
|
|
Re: TURTLE alpha status
By: Tom1 on Mon, 10 February 2014 14:28
|
|
|
Re: TURTLE alpha status
By: mirek on Tue, 11 February 2014 08:07
|
|
|
Re: TURTLE alpha status
By: Tom1 on Tue, 11 February 2014 10:11
|
|
|
Re: TURTLE alpha status
By: mirek on Tue, 11 February 2014 11:02
|
|
|
Re: TURTLE alpha status
By: Tom1 on Tue, 11 February 2014 11:51
|
Goto Forum:
Current Time: Wed May 15 10:02:00 CEST 2024
Total time taken to generate the page: 0.02127 seconds
|