Re: How to use dguihub package ?

2021-01-20 Thread Paul Backus via Digitalmars-d-learn
On Wednesday, 20 January 2021 at 19:05:29 UTC, Vinod K Chandran wrote: On Tuesday, 19 January 2021 at 16:52:18 UTC, Paul Backus wrote: On Tuesday, 19 January 2021 at 16:22:35 UTC, Vinod K Chandran wrote: b ? (tbinfo.fsState |= TBSTATE_ENABLED) : (tbinfo.fsState &= ~TBSTATE_ENABLED); Thi

Re: How to use dguihub package ?

2021-01-20 Thread Vinod K Chandran via Digitalmars-d-learn
On Tuesday, 19 January 2021 at 16:52:18 UTC, Paul Backus wrote: On Tuesday, 19 January 2021 at 16:22:35 UTC, Vinod K Chandran wrote: b ? (tbinfo.fsState |= TBSTATE_ENABLED) : (tbinfo.fsState &= ~TBSTATE_ENABLED); This means, "if b is true, set the TBSTATE_ENABLED flag to true; otherwise

Re: How to use dguihub package ?

2021-01-19 Thread Paul Backus via Digitalmars-d-learn
On Tuesday, 19 January 2021 at 16:22:35 UTC, Vinod K Chandran wrote: Anyhow, I am planning to study this from beginning. "b ? (tbinfo.fsState |= TBSTATE_ENABLED) : (tbinfo.fsState &= ~TBSTATE_ENABLED);" This is the problem line in that property. "b" is a boolean parameter. But I dont know what

Re: How to use dguihub package ?

2021-01-19 Thread Vinod K Chandran via Digitalmars-d-learn
On Sunday, 17 January 2021 at 14:00:48 UTC, Mike Parker wrote: On Sunday, 17 January 2021 at 13:04:33 UTC, Vinod K Chandran Three of those messages include the solution to fix the errors. The fourth one is a missing import (`import std.conv : to`) in dguihub.core.utils. You could fix these yo

Re: How to use dguihub package ?

2021-01-17 Thread Mike Parker via Digitalmars-d-learn
On Sunday, 17 January 2021 at 13:04:33 UTC, Vinod K Chandran wrote: Do i miss something ? Three of those messages include the solution to fix the errors. The fourth one is a missing import (`import std.conv : to`) in dguihub.core.utils. You could fix these yourself and submit a pull reque

How to use dguihub package ?

2021-01-17 Thread Vinod K Chandran via Digitalmars-d-learn
Hi all, I would like to use a gui package called "dguihub". So i did these steps. 1. Downloaded source files from Github. 2. Extract it and copy dguihub folder to my project folder. this folder contains all the source files of this package. 3. Write an import statement in my app.d "import dgui