Changeset 11:b61e7baf0574

Show
Ignore:
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
  • dsss.conf

    r8 r11  
    66    buildflags+= -L/SUBSYSTEM:console:5 
    77} 
     8# The linker error work around 
     9buildflags+= -L-lDD-tango-util 
    810 
    911[dwtexamples/simple.d] 
     
    1416[dwtexamples/helloworld/HelloWorld5.d] 
    1517 
    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] 
    1924[user/torhu_synctest.d] 
    2025 
  • dwtexamples/addressbook/AddressBook.d

    r3 r11  
    3030import dwt.widgets.TableItem; 
    3131 
    32 import dwtexamples.addressbook.SearchDialog; 
    33 import dwtexamples.addressbook.DataEntryDialog; 
    34 import dwtexamples.addressbook.FindListener; 
    35  
    3632import dwt.dwthelper.ResourceBundle; 
    3733 
     
    4440import Unicode = tango.text.Unicode; 
    4541 
    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 ***/ 
     42import dwtexamples.addressbook.SearchDialog; 
     43import dwtexamples.addressbook.DataEntryDialog; 
     44import dwtexamples.addressbook.FindListener; 
    5345 
    5446void main() { 
  • dwtexamples/controlexample/ControlExample.d

    r6 r11  
    6060import tango.io.Stdout; 
    6161import 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 ***/ 
    7162 
    7263version(JIVE){ 
  • dwtexamples/controlexample/CustomControlExample.d

    r0 r11  
    1313module dwtexamples.controlexample.CustomControlExample; 
    1414 
    15  
    1615import dwt.layout.FillLayout; 
    1716import dwt.widgets.Composite; 
    1817import dwt.widgets.Display; 
    1918import dwt.widgets.Shell; 
     19 
     20import tango.io.Stdout; 
    2021 
    2122import dwtexamples.controlexample.ControlExample; 
     
    2526import dwtexamples.controlexample.SashFormTab; 
    2627import dwtexamples.controlexample.StyledTextTab; 
    27  
    2828import dwtexamples.controlexample.Tab; 
    29 import tango.io.Stdout; 
    3029 
    3130version( CUSTOM_CONTROL_EXAMPLE_MAIN ){ 
  • dwtexamples/helloworld/HelloWorld1.d

    r0 r11  
    2929} 
    3030 
    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  
  • dwtexamples/helloworld/HelloWorld2.d

    r0 r11  
    3333    display.dispose (); 
    3434} 
    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; 
  • dwtexamples/helloworld/HelloWorld3.d

    r0 r11  
    4141    display.dispose (); 
    4242} 
    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; 
  • dwtexamples/helloworld/HelloWorld4.d

    r0 r11  
    3434    display.dispose (); 
    3535} 
    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; 
  • dwtexamples/helloworld/HelloWorld5.d

    r0 r11  
    5151    display.dispose (); 
    5252} 
    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; 
  • dwtexamples/simple.d

    r0 r11  
    22 
    33import dwt.DWT; 
     4import dwt.events.SelectionEvent; 
     5import dwt.events.SelectionListener; 
     6import dwt.widgets.Button; 
    47import dwt.widgets.Display; 
    58import dwt.widgets.Shell; 
    6 import dwt.widgets.Button; 
    79import dwt.widgets.Text; 
    810 
    911import 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; 
    2012 
    2113void main(){ 
  • dwtexamples/test.d

    r0 r11  
    11module test; 
    22 
    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; 
     3import dwt.internal.gtk.c.cairo; 
     4import tango.core.Traits; 
     5import tango.io.Stdout; 
     6import tango.stdc.stdio; 
    77 
    88struct lock {