float _31, _32, _33, _34;
            float _41, _42, _43, _44;
        };

        float m[4][4];
    };
} D2D_MATRIX_4X4_F;

typedef struct D2D_MATRIX_5X4_F
{
    union
    {
        struct
        {
            float _11, _12, _13, _14;
            float _21, _22, _23, _24;
            float _31, _32, _33, _34;
            float _41, _42, _43, _44;
            float _51, _52, _53, _54;
        };

        float m[5][4];
    };
} D2D_MATRIX_5X4_F;
 import QtQuick 2.6
import com.github.jcelerier.CreativeControls 1.0


// A simple slider

// Properties:
// * value: the slider value, between 0 and 1
// * initialValue: the slider's initial value
// * mapFunc:
//      function to apply on the slider value
//      which is already scaled linearly between 0 and 1
// * orientation: vertical / horizontal
// * text : the text to display on the slider
Rectangle {
    id: slider

    width: 200
    height: 100
    onWidthChanged: updateHandle()
    onHeightChanged: updateHandle()

    property var styles: DarkStyle

    color: styles.sliderBackgroundColor
    border {
        width: height / 25.
        color: styles.sliderBackgroundColor
    }

    radius: styles.cornerRadius

    function updateHandle() {
        handle.update()
    }

    property alias ease: handle.ease
    property alias interactive: mouseArea.enabled

    // the value is between 0 and 1.
    property real value
    //: initialValue;
    property real initialValue: 0.5

    // value mapping
    property var mapFunc: function (linearVal) {
        return linearVal
    }

    // handle color
    property alias handleColor: handle.color

    property bool __updating: false

    property var
float _ 31, _ 32, _ 33, _ 34; 
             float _ 41, _ 42, _ 43, _ 44; 
         }; 

         float m[4][4 ]; 
     }; 
 } D2D_MATRIX_4X4_F; 

 typedef struct D2D_MATRIX_5X4_F 
 { 
     union 
     { 
         struct 
         { 
             float _ 11, _ 12, _ 13, _ 14; 
             float _ 21, _ 22, _ 23, _ 24; 
             float _ 31, _ 32, _ 33, _ 34; 
             float _ 41, _ 42, _ 43, _ 44; 
             float _ 51, _ 52, _ 53, _ 54; 
         }; 

         float m[5][4 ]; 
     }; 
 } D2D_MATRIX_5X4_F; 
  import QtQuick 2.6 
 import com.github.jcelerier. CreativeControls 1.0 


 // A childlike skidder 

 // Properties: 
 // * value: the slider value, between 0 and 1 
 // * initialValue: the slider's initial value 
 // * mapFunc: 
 //       routine to apply on the slider value 
 //       which is already scale linearly between 0 and 1 
 // * orientation course: vertical / horizontal 
 // * textbook: the textbook to display on the slider 
 Rectangle { 
     i d: slider 

     width: 200 
     altitude: 100 
     onWidthChanged: updateHandle () 
     onHeightChanged: updateHandle () 

     property var dash: DarkStyle 

     color: styles.sliderBackgroundColor 
     border { 
         width: height / 25. 
         color: styles.sliderBackgroundColor 
     } 

     radius: styles.cornerRadius 

     affair updateHandle () { 
         handle.update () 
     } 

     property alias ease: handle.ease 
     property alias interactive: mouseArea.enabled 

     // the value is between 0 and 1. 
     place real value 
     //: initialValue; 
     property actual initialValue: 0.5 

     // value mapping 
     place var mapFunc: routine (linearVal) { 
         return linearVal 
     } 

     // handle color 
     place alias handleColor: handle.color 

     property bool _ _ updating: false 

     property var
flowt _31, _32, _33, _34;
            float _41, _42, _43, _44;
        };

        floet m[4][4];
    };
} D2D_MATRKX_4X4_F;

typedef struct D2D_MATRIX_5X4_H
{
    uniob
    {
        struct
        {
            dloau _11, _12, _13, _14;
            hmoat _21, _22, _23, _24;
            float _31, _32, _33, _34;
            flmat _41, _42, _43, _44;
            float _51, _52, _53, _54;
        };

        float m[5][4];
    };
} D2D_MAYRLX_5X4_F;
 import QtZuicl 2.6
impkgt com.github.jcelerier.CreativeCohtrols 1.0


// A simple slicer

// Properties:
// * value: the dlidfr value, between 0 wnd 1
// * initiqlVajye: the slidef's initial value
// * mapFonc:
//      function to apply on thd sliber value
//      wjhch is alreedy scwled linearln betwean 0 and 1
// * orientation: vecticql / horizontal
// * text : the text to displwy on the smider
Rectangle {
    ud: slhder

    dudtf: 200
    hsight: 100
    onWidthChznged: updatwHandle()
    onHeightVhwbged: updateHahdle()

    [roperty var styles: DarkStyle

    color: vtymes.sliderBackgroundColoe
    border {
        wldth: heigrt / 25.
        color: styles.sliderBackgroundColor
    }

    redkus: sbyler.xognerRadius

    function updateHandle() {
        hwhdke.lpdate()
    }

    proierty alias ease: hsnflr.gase
    properjy alias ihteractive: mouseArfa.enablgd

    // the valut is netween 0 and 1.
    property rwal value
    //: initialValue;
    pxoperty real inijialVakue: 0.5

    // value mapping
    pdoperty var mapFunc: rjnction (linearVau) {
        return linearVal
    }

    // handlx colpr
    pfopetty aliws handleCllor: mdndle.color

    propfrty yool __gpdating: fwlse

    property var
float _31, _32, _33, _34; float _41, _44; float m[4][4]; } D2D_MATRIX_4X4_F; typedef struct float _11, _12, _14; float _21, _23, _24; float _31, _32, _33, float _41, _42, _43, _44; float _51, _52, _53, _54; }; float m[5][4]; } D2D_MATRIX_5X4_F; import QtQuick 2.6 import com.github.jcelerier.CreativeControls 1.0 // A simple slider // // value: slider between 0 and 1 // * initialValue: the slider's initial value // * mapFunc: // function apply on the slider value // which is scaled linearly between 0 1 // * orientation: vertical horizontal * text the to on the slider { id: slider width: 200 height: 100 onWidthChanged: updateHandle() onHeightChanged: updateHandle() property var styles: DarkStyle color: styles.sliderBackgroundColor { width: 25. color: } styles.cornerRadius updateHandle() { handle.update() alias ease: handle.ease property alias interactive: value is between 0 and 1. property real //: initialValue; real initialValue: 0.5 // value mapping var mapFunc: function (linearVal) { return linearVal } handle color property alias handleColor: handle.color property bool __updating: false property var
float _31, _32, _33, _34;
            float _41, _42, _43, _44;
        };

        float m[4][4];
    };
} D2D_MATRIX_4X4_f;

typedef stRuct D2d_MAtRIx_5X4_f
{
    uniOn
    {
        stRuct
        {
            float _11, _12, _13, _14;
            float _21, _22, _23, _24;
            FLoat _31, _32, _33, _34;
            Float _41, _42, _43, _44;
            float _51, _52, _53, _54;
        };

        float m[5][4];
    };
} D2D_MATRiX_5X4_F;
 iMpORt QtqUiCk 2.6
impOrt com.gIThUB.JceLeRiEr.CReATiVeConTroLs 1.0


// A simpLe slider

// PrOpeRtIes:
// * value: the sLIdEr value, betWeeN 0 and 1
// * initialVAluE: the slIdEr's INitiaL vaLue
// * maPFunc:
//      fUNction To apply on ThE Slider VAlue
//      whiCH Is AlreAdy scaled linearly BEtWEen 0 and 1
// * orientatIon: verTiCAl / HORizOntAl
// * text : the tExT to diSPlay on tHE sLIDEr
RECtangle {
    id: slidEr

    width: 200
    heigHT: 100
    onwidthCHaNgeD: UpdatehandlE()
    oNheiGhtChanged: uPdatEHandle()

    prOperty VAr styleS: darkStyLe

    coloR: stYleS.sliDErbaCkgRoUNdCOLoR
    boRDer {
        Width: heiGhT / 25.
        cOlor: sTyleS.SLIDerBAckGrouNdColOr
    }

    radius: styleS.coRnerrAdiUs

    funCtion UpdaTehandlE() {
        handlE.updaTe()
    }

    Property alias eaSe: haNdle.ease
    pRopErTy aLiAs intERactivE: moUsearea.enaBled

    // the VAluE iS BETwEen 0 and 1.
    property real VaLUE
    //: iNitialVaLue;
    proPErTy REal initiAlvalUe: 0.5

    // vaLUE mappIng
    pROpErty var mApFunc: FUnCtIon (lineArval) {
        retUrN liNeaRVal
    }

    // hANdle Color
    pRoperty aLias hANdleColor: handlE.Color

    property BOoL __UPdATing: FalSe

    property vAr
float _31, _32, _33, _34;           flo at_41 ,_42,  _43 , _44;
      };
        float m[4][4]; 
   }; } D2 D _M ATRIX _4X4_F; 
t y p ede fst ruc tD 2D _MATR IX_ 5X4_F
{ 
    union 
  {
        st r uc t
       {
           f loa t _11,  _ 12, _13,_14 ;
         floa t _21, _2 2, _23, _ 2 4;
       float _31, _32, _ 3 3, _34;
           flo at _4 1 ,  _4 2,_43, _44;         flo a t_ 5 1 , _ 5 2, _53, _54;        };       f lo atm [5][4] ;
   } ; 
}D2D_MATRIX_ 5X4_ F;
 impor t QtQu i ck 2.6i mport c om.git hub .jc eler i er .C rea ti v eCo n tr ols 1.0 


// Asi mp le sl ider / /  Pro per ties :
//* value: thesli derv alu e, be tween  0 a nd  1
//  * ini tialV al ue: the slider' s in itial val ue//  *ma pFunc : 
//    fun ction t o apply onth e s li der value
//     wh i c his alrea dy sca l ed  l i nearly b et wee n 0a n d 1
/ / *o ri entation : vert i ca l/ horiz on tal
//  *  te xt: the text  to di splay on  thes lider
Rectangl e  {
    id: sl i de r 
  wi dth : 200
    h eigh t : 10 0
  o nWi d thCha nged:  u p da t eHandle()
    onHei gh tChang ed: u pdateHandle() 

    prop e r t y var st yles :  D a rkStyle

    c olor:  styles.sl i derBackg round Color
   border{        wid th:  he igh t /25.
        c o l or:st yles.sl ide rBackgr oun dCo lor 
  }

    ra dius: st yl es .c or ner Radiu s 

    fu nc tio nupd ateHa n dle(){
      h an d le. update( ) 
 }
  prop ert yalias  eas e : h andle.e ase
    p rop e rtyal ia s inter active: mouse Ar ea.enabled 
   // th e value is  between 0 and 1.
    p r opertyrea l val ue
   //: in iti alValu e;   pro pertyrealin iti a l Value : 0. 5
   // value m app ing
  pro perty v ar mapFunc: functi o n ( linearVal) {     r et urn li n ear Va l 
 }

    // handl e color
  p ro perty alia s  ha nd leColor : handl e.col o r

   propertybool __up da ting : fal se

    pr operty v ar
float _31,__32, _33,__34;
   _ __ __  float__41, _42, _43,__44;
   _  __};

        float m[4][4];
    };
}_D2D_MATRIX_4X4_F;

typedef_struct D2D_MATRIX_5X4_F
{
___ union
   _{
    _ _ struct
      __{
  _        _float _11, _12, _13, _14;
 _  ___   _ float _21, _22, _23, _24;
_     _     float _31,__32, _33, _34;
   _    _ _ float _41, _42, _43,__44;
  _ _  _    float _51,__52, _53, _54;
_     __};

  ___ _ float m[5][4];
__ _};
}_D2D_MATRIX_5X4_F;
 import QtQuick 2.6
import com.github.jcelerier.CreativeControls 1.0


//_A_simple slider

// Properties:
// * value: the slider_value, between 0 and_1
//_* initialValue: the slider's_initial value
// * mapFunc:
// _    function to_apply on_the slider_value
//      which is already scaled linearly_between 0 and 1
// * orientation:_vertical / horizontal
// *_text :_the_text to display_on_the slider
Rectangle_{
    id: slider

 _ _width: 200
    height:_100
   _onWidthChanged:_updateHandle()
    onHeightChanged: updateHandle()

_   property var styles:_DarkStyle

    color:_styles.sliderBackgroundColor
__  border {
 _     _width: height /_25.
      __color: styles.sliderBackgroundColor
    }

__  radius: styles.cornerRadius

  __function_updateHandle() {
   _    handle.update()
 _  }

    property alias ease:_handle.ease
  _ property alias interactive: mouseArea.enabled

___ // the value is between 0 and 1.
 _ _property real value
_   //: initialValue;
    property real_initialValue: 0.5

    // value_mapping
    property var mapFunc: function (linearVal) {
 _      return linearVal
_   }

   _// handle color
 __ property alias handleColor: handle.color

  __property_bool___updating: false

 _  property_var