Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Didier is currently offline  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 Cool

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 Confused
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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MT/GuiLock rules changed
Next Topic: plugin/LZMA
Goto Forum:
  


Current Time: Wed May 15 10:02:00 CEST 2024

Total time taken to generate the page: 0.02127 seconds