回复: Iup4D 1.0 alpha

. via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat Jan 21 16:36:52 PST 2017


Just import iup like this:

import iup;  // for IUP
import im;   // for Imaging Toolkit
import cd;   // for 2D Graphics Library



------------------ 原始邮件 ------------------
发件人: "Jordan Wilson via Digitalmars-d-announce";<digitalmars-d-announce at puremagic.com>;
发送时间: 2017年1月21日(星期六) 上午10:53
收件人: "digitalmars-d-announce"<digitalmars-d-announce at puremagic.com>; 

主题: Re: Iup4D 1.0 alpha



On Friday, 20 January 2017 at 15:23:51 UTC, Heromyth wrote:
> Iup4D is a D binding library for IUP with OOP style. Its API is 
> similar to WinForms.
>
> This software is licensed under the Boost Software License, 
> Version 1.0.
>
> It's still under active development and is only tested on 
> Windows X86.
>
> The repository is at https://github.com/Heromyth/Iup4D.

This looks pretty good, looking forward to trying it out fully.
Just a quick thing, I managed to compile and run the ButtonTest 
module, but when building it I had to put in various import 
statements like so:

import iup.menu : IupMenu; // had to had this line
public iup.menu.IupMenu mdiMenu() { return m_menu; }

Without the added import, I get a compiler error: undefined 
identifier 'menu' in package 'iup'. I had to add about 4 or 5 
such imports.

I'm sure it's user error with me building it manually and not 
setting up include paths properly, but anyway, just wondering if 
it was planned to release this through dub as well?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20170122/c79bb3e4/attachment.html>


More information about the Digitalmars-d-announce mailing list