* sample/CanvasTextBox.cs: Removed not needed using line
* PROBLEMS: Added extra info on casting problem * sample/sample.cs: Added extra info on casting problem * configure.in: Updated dependency check * NEWS: Updated news for 0.3.0 * Released 0.3.0 svn path=/trunk/diacanvas-sharp/; revision=21412
This commit is contained in:
Родитель
bbfeec8fb6
Коммит
e4d7a83eee
|
@ -1,3 +1,12 @@
|
|||
2003-12-22 Martin Willemoes Hansen <mwh@sysrq.dk>
|
||||
|
||||
* sample/CanvasTextBox.cs: Removed not needed using line
|
||||
* PROBLEMS: Added extra info on casting problem
|
||||
* sample/sample.cs: Added extra info on casting problem
|
||||
* configure.in: Updated dependency check
|
||||
* NEWS: Updated news for 0.3.0
|
||||
* Released 0.3.0
|
||||
|
||||
2003-12-03 Martin Willemoes Hansen <mwh@sysrq.dk>
|
||||
|
||||
* doc/en/Dia/CanvasLine.xml: Documented
|
||||
|
|
3
NEWS
3
NEWS
|
@ -3,6 +3,9 @@
|
|||
|
||||
* Autoconf enabled
|
||||
* CanvasLine API Documented
|
||||
* CanvasTextBox sampled added, works partially
|
||||
* CanvasEditable API Documented
|
||||
* CanvasGroupable API Documented
|
||||
|
||||
0.2.0
|
||||
=====
|
||||
|
|
3
PROBLEMS
3
PROBLEMS
|
@ -38,6 +38,9 @@ in <0x0044d> .Sample:CreateItemsProgramatically ()
|
|||
in <0x001a3> .Sample:.ctor ()
|
||||
in <0x00023> .Sample:Main ()
|
||||
|
||||
Seems to be the same problem as gtksourceview-sharp, see
|
||||
SourceLanguagesManager.custom
|
||||
|
||||
================================================================================
|
||||
|
||||
Crashes
|
||||
|
|
|
@ -19,7 +19,7 @@ if test "x$PKG_CONFIG" = "xno"; then
|
|||
fi
|
||||
AC_SUBST(MONO)
|
||||
|
||||
PKG_CHECK_MODULES(MONO, mono >= 0.28)
|
||||
PKG_CHECK_MODULES(MONO, mono >= 0.29)
|
||||
AC_SUBST(MONO_CFLAGS)
|
||||
AC_SUBST(MONO_LIBS)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using Dia;
|
||||
using DiaSharp;
|
||||
using Pango;
|
||||
|
||||
public class CanvasTextBox : CanvasGroup {
|
||||
|
@ -22,5 +22,15 @@ public class CanvasTextBox : CanvasGroup {
|
|||
text.Width = 200;
|
||||
text.Height = 100;
|
||||
Add (text);
|
||||
text.EditingDone += new EditingDoneHandler (editing_done);
|
||||
}
|
||||
|
||||
void editing_done (object sender, EditingDoneArgs args)
|
||||
{
|
||||
Console.WriteLine ("Editing Done");
|
||||
// Change view back to text box
|
||||
// get canvas
|
||||
// get canvasview
|
||||
// focus this
|
||||
}
|
||||
}
|
||||
|
|
|
@ -96,9 +96,9 @@ public class Sample {
|
|||
canvas.Root.Add (image);
|
||||
|
||||
view.UnselectAll();
|
||||
// Trigers a bug
|
||||
//CanvasViewItem vitem = view.FindViewItem (image);
|
||||
//view.Focus (vitem);
|
||||
// Trigers a bug, same as in gtksourceview-sharp
|
||||
// CanvasViewItem vitem = view.FindViewItem (image);
|
||||
// view.Focus (vitem);
|
||||
}
|
||||
|
||||
void SelectionTool (object sender, EventArgs args)
|
||||
|
|
Загрузка…
Ссылка в новой задаче