Giter Site home page Giter Site logo

rayerd / dfl Goto Github PK

View Code? Open in Web Editor NEW
41.0 41.0 16.0 3.47 MB

This unofficial project for D2.x is a migration of D Forms Library (DFL) that is managed on SVN. DFL is a Win32 windowing library for the D programming language.

Home Page: http://wiki.dprogramming.com/Dfl/HomePage

License: Other

D 98.94% Batchfile 1.06% PowerShell 0.01%

dfl's People

Contributors

jessekphillips avatar qchikara avatar rayerd avatar shoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dfl's Issues

failed to compile dfl under windows with dmd2.055

error message after running makelib.bat:

Compiling debug DFL...

C:\person\dlang\dflNov16\win32\dfl>c:\person\dmd2\windows\bin\dmd -c -debug -g
-wi -I.. all.d base.d application.d internal/dlib.d internal/clib.d internal/ut
f.d internal/com.d control.d clippingform.d form.d registry.d drawing.d menu.d n
otifyicon.d commondialog.d filedialog.d folderdialog.d panel.d textbox.d richtex
tbox.d picturebox.d listbox.d groupbox.d splitter.d usercontrol.d button.d label
.d collections.d internal/winapi.d internal/wincom.d event.d socket.d timer.d en
vironment.d messagebox.d tooltip.d combobox.d treeview.d tabcontrol.d colordialo
g.d listview.d data.d clipboard.d fontdialog.d progressbar.d resources.d statusb
ar.d imagelist.d toolbar.d
menu.d(729): Error: class dfl.menu.Menu.MenuItemCollection use of dfl.menu.Menu.
MenuItemCollection.ListWrapArray!(MenuItem,items,_blankListCallback,_added,_remo
ving,_blankListCallback,true,false,false,true).add(MenuItem value) hidden by Men
uItemCollection is deprecated

menu.d(729): Error: class dfl.menu.Menu.MenuItemCollection use of dfl.menu.Menu.
MenuItemCollection.ListWrapArray!(MenuItem,items,_blankListCallback,_added,_remo
ving,_blankListCallback,true,false,false,true).add(string value) hidden by MenuI
temCollection is deprecated

menu.d(729): Error: class dfl.menu.Menu.MenuItemCollection use of dfl.menu.Menu.
MenuItemCollection.ListWrapArray!(MenuItem,items,_blankListCallback,_added,_remo
ving,_blankListCallback,true,false,false,true).addRange(MenuItem[] values) hidde
n by MenuItemCollection is deprecated

menu.d(729): Error: class dfl.menu.Menu.MenuItemCollection use of dfl.menu.Menu.
MenuItemCollection.ListWrapArray!(MenuItem,items,_blankListCallback,_added,_remo
ving,_blankListCallback,true,false,false,true).addRange(string[] values) hidden
by MenuItemCollection is deprecated

listbox.d(1000): Error: class dfl.listbox.ListBox.ObjectCollection use of dfl.li
stbox.ListBox.ObjectCollection.ListWrapArray!(Object,_items,blankListCallback,
added,_blankListCallback,_removed,true,false,false).add(Object value) hidden by
ObjectCollection is deprecated

listbox.d(1000): Error: class dfl.listbox.ListBox.ObjectCollection use of dfl.li
stbox.ListBox.ObjectCollection.ListWrapArray!(Object,_items,blankListCallback,
added,_blankListCallback,_removed,true,false,false).add(string value) hidden by
ObjectCollection is deprecated

listbox.d(1000): Error: class dfl.listbox.ListBox.ObjectCollection use of dfl.li
stbox.ListBox.ObjectCollection.ListWrapArray!(Object,_items,blankListCallback,
added,_blankListCallback,_removed,true,false,false).addRange(Object[] values) hi
dden by ObjectCollection is deprecated

listbox.d(1000): Error: class dfl.listbox.ListBox.ObjectCollection use of dfl.li
stbox.ListBox.ObjectCollection.ListWrapArray!(Object,_items,blankListCallback,
added,_blankListCallback,_removed,true,false,false).addRange(string[] values) hi
dden by ObjectCollection is deprecated

combobox.d(511): Error: class dfl.combobox.ComboBox.ObjectCollection use of dfl.
combobox.ComboBox.ObjectCollection.ListWrapArray!(Object,_items,_blankListCallba
ck,_added,_blankListCallback,_removed,true,false,false).add(Object value) hidden
by ObjectCollection is deprecated

combobox.d(511): Error: class dfl.combobox.ComboBox.ObjectCollection use of dfl.
combobox.ComboBox.ObjectCollection.ListWrapArray!(Object,_items,_blankListCallba
ck,_added,_blankListCallback,_removed,true,false,false).add(string value) hidden
by ObjectCollection is deprecated

combobox.d(511): Error: class dfl.combobox.ComboBox.ObjectCollection use of dfl.
combobox.ComboBox.ObjectCollection.ListWrapArray!(Object,_items,_blankListCallba
ck,_added,_blankListCallback,_removed,true,false,false).addRange(Object[] values
) hidden by ObjectCollection is deprecated

combobox.d(511): Error: class dfl.combobox.ComboBox.ObjectCollection use of dfl.
combobox.ComboBox.ObjectCollection.ListWrapArray!(Object,_items,_blankListCallba
ck,_added,_blankListCallback,_removed,true,false,false).addRange(string[] values
) hidden by ObjectCollection is deprecated

treeview.d(698): Error: class dfl.treeview.TreeNodeCollection use of dfl.treevie
w.TreeNodeCollection.ListWrapArray!(TreeNode,_nodes,_blankListCallback,_added,_r
emoving,_removed,true,false,false).add(TreeNode value) hidden by TreeNodeCollect
ion is deprecated

treeview.d(698): Error: class dfl.treeview.TreeNodeCollection use of dfl.treevie
w.TreeNodeCollection.ListWrapArray!(TreeNode,_nodes,_blankListCallback,_added,_r
emoving,_removed,true,false,false).add(string value) hidden by TreeNodeCollectio
n is deprecated

treeview.d(698): Error: class dfl.treeview.TreeNodeCollection use of dfl.treevie
w.TreeNodeCollection.ListWrapArray!(TreeNode,_nodes,_blankListCallback,_added,_r
emoving,_removed,true,false,false).addRange(TreeNode[] values) hidden by TreeNod
eCollection is deprecated

treeview.d(698): Error: class dfl.treeview.TreeNodeCollection use of dfl.treevie
w.TreeNodeCollection.ListWrapArray!(TreeNode,_nodes,_blankListCallback,_added,_r
emoving,_removed,true,false,false).addRange(string[] values) hidden by TreeNodeC
ollection is deprecated

listview.d(703): Error: class dfl.listview.ListView.ListViewItemCollection use o
f dfl.listview.ListView.ListViewItemCollection.ListWrapArray!(ListViewItem,_item
s,_adding,_added,_blankListCallback,_removed,true,false,false).add(ListViewItem
value) hidden by ListViewItemCollection is deprecated

listview.d(703): Error: class dfl.listview.ListView.ListViewItemCollection use o
f dfl.listview.ListView.ListViewItemCollection.ListWrapArray!(ListViewItem,_item
s,_adding,_added,_blankListCallback,_removed,true,false,false).add(string value)
hidden by ListViewItemCollection is deprecated

listview.d(703): Error: class dfl.listview.ListView.ListViewItemCollection use o
f dfl.listview.ListView.ListViewItemCollection.ListWrapArray!(ListViewItem,_item
s,_adding,_added,_blankListCallback,_removed,true,false,false).addRange(ListView
Item[] values) hidden by ListViewItemCollection is deprecated

listview.d(703): Error: class dfl.listview.ListView.ListViewItemCollection use o
f dfl.listview.ListView.ListViewItemCollection.ListWrapArray!(ListViewItem,_item
s,_adding,_added,_blankListCallback,_removed,true,false,false).addRange(string[]
values) hidden by ListViewItemCollection is deprecated

imagelist.d(22): Error: class dfl.imagelist.ImageList.ImageCollection use of dfl
.imagelist.ImageList.ImageCollection.ListWrapArray!(Image,_images,_adding,_added
,_blankListCallback,_removed,false,false,false).insert(int index, Image value) h
idden by ImageCollection is deprecated

Failed.

Done.

closed.

It is really great to see DFL has been updated and maintained.I am wondering whether the designer Entice [
http://www.dprogramming.com/entice.php is supposed to be updated as well.The original is lack of utf8 support for the source editor ,and sure other things.

Thanks and best regards.

Plans to implement Anchor?

In the code there are some signs that an anchor property was planned, and it would have been very useful for layout.

Is there any plan to implement the property?

EDIT: uncommenting the associated code and adding a small scope(exit) to fix the issue pointed out in the onLayout function makes it work.

DFL GTK

What about DFL GTK?Will it be developed in future?

Any tutorials available ?

Hi,
I want to try some gui (windows only) programs in D. How to install this library ? And how to use this ? Can i get a tutorial or sample code ? Thanks in advance.

Calling CoInitialize fails when linking with DFL static library

Test-case:

module test;

pragma(lib, "Ole32");
import std.exception;
import dfl.internal.wincom;

void main()
{
    enforce(!CoInitialize(null));
    scope(exit) CoUninitialize();
}

$ rdmd --force -m32 -I.. test.d

The above works. But the following fails:

$ dmd -m32 -I.. test.d dfl.lib && test.exe
[email protected](9): Enforcement failed

CoInitialize returns 1 when linking with the pre-built library.

Using Windows 7.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.