зеркало из
1
0
Форкнуть 0

* 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:
Martin Willemoes Hansen 2003-12-22 11:19:02 +00:00
Родитель bbfeec8fb6
Коммит e4d7a83eee
6 изменённых файлов: 30 добавлений и 5 удалений

Просмотреть файл

@ -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,6 +3,9 @@
* Autoconf enabled
* CanvasLine API Documented
* CanvasTextBox sampled added, works partially
* CanvasEditable API Documented
* CanvasGroupable API Documented
0.2.0
=====

Просмотреть файл

@ -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)