Changeset 11:b61e7baf0574
- Timestamp:
- 02/14/08 16:04:14
(10 months ago)
- Author:
- Jesse Phillips <Jesse.K.Phillips+D@gmail.com>
- branch:
- default
- Message:
Reworked the DrawingBoard? for better organization. And also removed the linker fixes in the source files and moved it to dsss.conf by adding buildflags+=-L-lDD-tango-util.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8 |
r11 |
|
| 6 | 6 | buildflags+= -L/SUBSYSTEM:console:5 |
|---|
| 7 | 7 | } |
|---|
| | 8 | # The linker error work around |
|---|
| | 9 | buildflags+= -L-lDD-tango-util |
|---|
| 8 | 10 | |
|---|
| 9 | 11 | [dwtexamples/simple.d] |
|---|
| … | … | |
| 14 | 16 | [dwtexamples/helloworld/HelloWorld5.d] |
|---|
| 15 | 17 | |
|---|
| 16 | | [user/doob_test1/draw.d] |
|---|
| 17 | | [user/nascent_test1.d] |
|---|
| 18 | | [user/nascent_test2.d] |
|---|
| | 18 | [dwtsnippets/styledtext/Snippet163.d] |
|---|
| | 19 | [dwtsnippets/styledtext/Snippet189.d] |
|---|
| | 20 | [dwtsnippets/text/Snippet258.d] |
|---|
| | 21 | [dwtsnippets/tooltips/Snippet41.d] |
|---|
| | 22 | |
|---|
| | 23 | [user/drawingboard/DrawingBoard.d] |
|---|
| 19 | 24 | [user/torhu_synctest.d] |
|---|
| 20 | 25 | |
|---|
| r3 |
r11 |
|
| 30 | 30 | import dwt.widgets.TableItem; |
|---|
| 31 | 31 | |
|---|
| 32 | | import dwtexamples.addressbook.SearchDialog; |
|---|
| 33 | | import dwtexamples.addressbook.DataEntryDialog; |
|---|
| 34 | | import dwtexamples.addressbook.FindListener; |
|---|
| 35 | | |
|---|
| 36 | 32 | import dwt.dwthelper.ResourceBundle; |
|---|
| 37 | 33 | |
|---|
| … | … | |
| 44 | 40 | import Unicode = tango.text.Unicode; |
|---|
| 45 | 41 | |
|---|
| 46 | | /*** Linker workaround start ***/ |
|---|
| 47 | | import tango.io.Stdout; |
|---|
| 48 | | import tango.math.Math; |
|---|
| 49 | | import tango.text.convert.Format; |
|---|
| 50 | | import tango.util.Convert; |
|---|
| 51 | | import tango.util.PathUtil; |
|---|
| 52 | | /*** Linker workaround end ***/ |
|---|
| | 42 | import dwtexamples.addressbook.SearchDialog; |
|---|
| | 43 | import dwtexamples.addressbook.DataEntryDialog; |
|---|
| | 44 | import dwtexamples.addressbook.FindListener; |
|---|
| 53 | 45 | |
|---|
| 54 | 46 | void main() { |
|---|
| r6 |
r11 |
|
| 60 | 60 | import tango.io.Stdout; |
|---|
| 61 | 61 | import Math = tango.math.Math; |
|---|
| 62 | | |
|---|
| 63 | | |
|---|
| 64 | | /*** Linker workaround start ***/ |
|---|
| 65 | | import tango.io.Stdout; |
|---|
| 66 | | import tango.math.Math; |
|---|
| 67 | | import tango.text.convert.Format; |
|---|
| 68 | | import tango.util.Convert; |
|---|
| 69 | | import tango.util.PathUtil; |
|---|
| 70 | | /*** Linker workaround end ***/ |
|---|
| 71 | 62 | |
|---|
| 72 | 63 | version(JIVE){ |
|---|
| r0 |
r11 |
|
| 13 | 13 | module dwtexamples.controlexample.CustomControlExample; |
|---|
| 14 | 14 | |
|---|
| 15 | | |
|---|
| 16 | 15 | import dwt.layout.FillLayout; |
|---|
| 17 | 16 | import dwt.widgets.Composite; |
|---|
| 18 | 17 | import dwt.widgets.Display; |
|---|
| 19 | 18 | import dwt.widgets.Shell; |
|---|
| | 19 | |
|---|
| | 20 | import tango.io.Stdout; |
|---|
| 20 | 21 | |
|---|
| 21 | 22 | import dwtexamples.controlexample.ControlExample; |
|---|
| … | … | |
| 25 | 26 | import dwtexamples.controlexample.SashFormTab; |
|---|
| 26 | 27 | import dwtexamples.controlexample.StyledTextTab; |
|---|
| 27 | | |
|---|
| 28 | 28 | import dwtexamples.controlexample.Tab; |
|---|
| 29 | | import tango.io.Stdout; |
|---|
| 30 | 29 | |
|---|
| 31 | 30 | version( CUSTOM_CONTROL_EXAMPLE_MAIN ){ |
|---|
| r0 |
r11 |
|
| 29 | 29 | } |
|---|
| 30 | 30 | |
|---|
| 31 | | // for unknown reason, there are linker errors. These imports are the workaround |
|---|
| 32 | | import tango.io.Stdout; |
|---|
| 33 | | import tango.math.Math; |
|---|
| 34 | | import tango.text.convert.Format; |
|---|
| 35 | | import tango.util.Convert; |
|---|
| 36 | | import tango.util.PathUtil; |
|---|
| 37 | | |
|---|
| r0 |
r11 |
|
| 33 | 33 | display.dispose (); |
|---|
| 34 | 34 | } |
|---|
| 35 | | |
|---|
| 36 | | // for unknown reason, there are linker errors. These imports are the workaround |
|---|
| 37 | | import tango.io.Stdout; |
|---|
| 38 | | import tango.math.Math; |
|---|
| 39 | | import tango.text.convert.Format; |
|---|
| 40 | | import tango.util.Convert; |
|---|
| 41 | | import tango.util.PathUtil; |
|---|
| r0 |
r11 |
|
| 41 | 41 | display.dispose (); |
|---|
| 42 | 42 | } |
|---|
| 43 | | |
|---|
| 44 | | // for unknown reason, there are linker errors. These imports are the workaround |
|---|
| 45 | | import tango.io.Stdout; |
|---|
| 46 | | import tango.math.Math; |
|---|
| 47 | | import tango.text.convert.Format; |
|---|
| 48 | | import tango.util.Convert; |
|---|
| 49 | | import tango.util.PathUtil; |
|---|
| r0 |
r11 |
|
| 34 | 34 | display.dispose (); |
|---|
| 35 | 35 | } |
|---|
| 36 | | |
|---|
| 37 | | |
|---|
| 38 | | // for unknown reason, there are linker errors. These imports are the workaround |
|---|
| 39 | | import tango.io.Stdout; |
|---|
| 40 | | import tango.math.Math; |
|---|
| 41 | | import tango.text.convert.Format; |
|---|
| 42 | | import tango.util.Convert; |
|---|
| 43 | | import tango.util.PathUtil; |
|---|
| r0 |
r11 |
|
| 51 | 51 | display.dispose (); |
|---|
| 52 | 52 | } |
|---|
| 53 | | |
|---|
| 54 | | // for unknown reason, there are linker errors. These imports are the workaround |
|---|
| 55 | | import tango.io.Stdout; |
|---|
| 56 | | import tango.math.Math; |
|---|
| 57 | | import tango.text.convert.Format; |
|---|
| 58 | | import tango.util.Convert; |
|---|
| 59 | | import tango.util.PathUtil; |
|---|
| r0 |
r11 |
|
| 2 | 2 | |
|---|
| 3 | 3 | import dwt.DWT; |
|---|
| | 4 | import dwt.events.SelectionEvent; |
|---|
| | 5 | import dwt.events.SelectionListener; |
|---|
| | 6 | import dwt.widgets.Button; |
|---|
| 4 | 7 | import dwt.widgets.Display; |
|---|
| 5 | 8 | import dwt.widgets.Shell; |
|---|
| 6 | | import dwt.widgets.Button; |
|---|
| 7 | 9 | import dwt.widgets.Text; |
|---|
| 8 | 10 | |
|---|
| 9 | 11 | import tango.io.Stdout; |
|---|
| 10 | | import tango.math.Math; |
|---|
| 11 | | import tango.text.convert.Format; |
|---|
| 12 | | import tango.util.Convert; |
|---|
| 13 | | import tango.util.PathUtil; |
|---|
| 14 | | import dwt.events.SelectionListener; |
|---|
| 15 | | import dwt.events.SelectionEvent; |
|---|
| 16 | | |
|---|
| 17 | | |
|---|
| 18 | | import dwt.DWT; |
|---|
| 19 | | import dwt.widgets.Display; |
|---|
| 20 | 12 | |
|---|
| 21 | 13 | void main(){ |
|---|
| r0 |
r11 |
|
| 1 | 1 | module test; |
|---|
| 2 | 2 | |
|---|
| 3 | | private import dwt.internal.gtk.c.cairo; |
|---|
| 4 | | private import tango.core.Traits; |
|---|
| 5 | | private import tango.io.Stdout; |
|---|
| 6 | | private import tango.stdc.stdio; |
|---|
| | 3 | import dwt.internal.gtk.c.cairo; |
|---|
| | 4 | import tango.core.Traits; |
|---|
| | 5 | import tango.io.Stdout; |
|---|
| | 6 | import tango.stdc.stdio; |
|---|
| 7 | 7 | |
|---|
| 8 | 8 | struct lock { |
|---|