need new vector base gui write in d

rahim via Digitalmars-d-dwt digitalmars-d-dwt at puremagic.com
Mon Dec 8 07:18:23 PST 2014


hello
i think need new gui for work by d
with designer

**** please help to completed this concept ****
--my english speaking and writing is no bad ,sorry for this--


features:
*vector base

*all element can convert to parents of element

*have 6 data to use ,where element
1-left
2-top
3-right
4-bottom
5-height
6-width
--> maybe set null | percent of parent size | static number

*and lyout
1- doc panel
2-stack
3-table
4-flow panel
...

* have margin

* have padding

* have 2d vector bace engine with:
1- draw box
2- darw circle | polygon | polyline  in canvas
3- draw image(use only need picture)
4- draw text utf8-...

* have 2d effect for box :
1- rounding corner
2- border draw
3- solid color | gradient color | system color
4- shadow
5- blur
6- opacity

*use theme like css :

.themeName{
TextBox{
     box{
         margin:2 2;
         padding:1;
         border:1 2 3 4;
         bgcolor: soild #ccc;
         borderColor: vGradient 0.0 red 0.5 #a1b2c2 1.0 
SystemBorder;
         corner: 5 5 5 5;
         text{
             text: @text; //banding to object
         }
     }
}
ToolBar{
     Button{
         ..... sub theme element theme
     }
}
}

*save in designer like css :

Window{
     Width:550;
     height:400;
     TextBox{
         name: "helolbl";
         text: "hello world";
         top:0;
         left:0;
         width:100%;
         height:50%;
     }
     Button{
         name: "combtn";
         text: "Close";
         top:50%;
         left:0;
         width:100%;
         height:50%;
         onClick: combtn_click;
     }
}

*use loader for load designer file or use "mixin" to make code

*used 2 mode
- static library
-dynamic library


*use only for d language

elements:

standard element
3d canvas
player movie




More information about the Digitalmars-d-dwt mailing list