Вверх ↑
Этот топик читают: Гость
Ответов: 1536
Рейтинг: 176
#1: 2011-12-31 19:29:36 ЛС | профиль | цитата
Вот сложил сверкающую ёлочку за 15 минут (кажется). Может ещё кому пригодиться на рабочий стол. Скрин

Add(StrList,14299883,154,49)
{
 Strings=#3:200|7:190.210|11:180.200.220|15:170.190.210.230|19:160.180.200.220.240|23:150.170.190.210.230.250|27:140.160.180.200.220.240.260|31:130.150.170.190.210.230.250.270|35:120.140.160.180.200.220.240.260.280|39:110.130.150.170.190.210.230.250.270.290|43:100.120.140.160.180.200.220.240.260.280.300|46:90.110.130.150.170.190.210.230.250.270.290.310|50:80.100.120.140.160.180.200.220.240.260.280.300.320|0:|0:|
}
Add(Str_Enum,11181445,224,119)
{
 Delimiter="."
 link(onEnum,3449239:##add,[])
 link(onEndEnum,8892938:doOperation,[(271,132)(271,62)])
}
Add(ArrayEnum,13744361,168,119)
{
 link(onItem,11181445:doEnum,[])
 link(Array,14299883:Array,[])
}
Add(ChildPanelEx,3449239,308,119)
{
 Mode=2
 link(onMouseDown,1121570:doMove,[])
 link(Data,16487312:Var2,[])
}
BEGIN_SDK
  Add(EditMultiEx,8510095,21,21)
  {
   WorkCount=#5:##add|8:##select|
   EventCount=#11:onMouseDown|
   DataCount=#4:Data|
   Width=559
   Height=228
   Point(##add)
   Point(##select)
   link(##add,1576400:doEvent1,[(39,27)(39,90)])
   link(##select,11931294:doEvent,[(175,34)(175,55)])
  }
  Add(Panel,10342019,182,98)
  {
   Left=395
   Top=30
   Width=20
   Height=20
   Color=16777215
   BorderWidth=0
   BevelInner=0
   BevelWidth=0
   MouseCapture=0
   Point(doTop)
   Point(doLeft)
  }
  Add(DoData,16165116,133,105)
  {
   link(onEventData,10342019:doTop,[])
   link(Data,8510095:Data,[(139,60)(27,60)])
  }
  Add(Hub,1576400,56,84)
  {
   OutCount=4
   link(onEvent1,7719682:doRandomize,[(147,90)(147,97)])
   link(onEvent2,7719682:doRandom,[(147,97)(147,90)])
   link(onEvent3,16165116:doData,[(91,104)(91,111)])
   link(onEvent4,10342019:doLeft,[(87,111)(87,118)])
  }
  Add(Random,7719682,224,84)
  {
   Max=3
   link(onRandom,3655395:doEvent,[])
  }
  Add(IndexToChanel,3655395,301,84)
  {
   Count=4
   Data=Integer(1)
   link(onEvent1,15031711:doVisible,[])
   link(onEvent2,8360588:doVisible,[(378,97)(378,125)])
   link(onEvent3,1542112:doVisible,[(372,104)(372,160)])
   link(onEvent4,13975452:doVisible,[(358,111)(358,195)])
  }
  Add(IndexToChanel,11931294,301,49)
  {
   Count=4
   Point(Index)
   link(onEvent1,15031711:doChangeValue,[(424,55)(424,69)])
   link(onEvent2,8360588:doChangeValue,[(417,62)(417,104)])
   link(onEvent3,1542112:doChangeValue,[(408,69)(408,139)])
   link(onEvent4,13975452:doChangeValue,[(397,76)(397,174)])
   link(Index,7719682:Random,[(307,37)(272,37)(272,128)(230,128)])
  }
  Add(LED,15031711,462,63)
  {
   Width=20
   Height=20
   Align=5
   Color=16777215
   Visible=1
   Point(doVisible)
   Point(onMouseDown)
   link(onMouseDown,7858663:doWork2,[])
  }
  Add(LED,8360588,462,98)
  {
   Width=20
   Height=20
   Align=5
   Color=16777215
   Visible=1
   ColorOn=65280
   ColorOff=32768
   Point(doVisible)
   Point(onMouseDown)
   link(onMouseDown,2251457:doWork2,[])
  }
  Add(LED,1542112,462,133)
  {
   Width=20
   Height=20
   Align=5
   Color=16777215
   Visible=1
   ColorOn=65535
   ColorOff=32896
   Point(doVisible)
   Point(onMouseDown)
   link(onMouseDown,6077557:doWork2,[])
  }
  Add(LED,13975452,462,168)
  {
   Width=20
   Height=20
   Align=5
   Color=16777215
   Visible=1
   ColorOn=16776960
   ColorOff=8421376
   Point(doVisible)
   Point(onMouseDown)
   link(onMouseDown,6077557:doWork3,[(537,181)])
  }
  Add(HubEx,7858663,533,70)
  {
   Angle=3
   link(onEvent,8510095:onMouseDown,[(537,27)])
  }
  Add(HubEx,2251457,533,105)
  {
   Angle=3
   link(onEvent,7858663:doWork3,[])
  }
  Add(HubEx,6077557,533,140)
  {
   Angle=3
   link(onEvent,2251457:doWork3,[])
  }
END_SDK
Add(Math,8892938,315,56)
{
 Op2=30
 ResultType=0
 link(Op1,16487312:Var1,[(321,44)(309,44)(309,100)])
}
Add(GetDataEx,16487312,308,95)
{
 Angle=1
 link(Data,8892938:Result,[(321,100)])
}
Add(Timer,12324757,168,161)
{
 Interval=100
 link(onTimer,15878133:doRandom,[])
}
Add(Random,15878133,224,161)
{
 Max=92
 link(onRandom,3449239:##select,[(296,167)(296,132)])
}
Add(MainForm,2586885,105,105)
{
 Width=350
 Height=380
 Color=16777215
 Ctl3D=0
 AlphaBlendValue=0
 BorderStyle=0
 MouseCapture=0
 Position=1
 TransparentManager="trans"
 Point(Handle)
 link(onCreate,13744361:doEnum,[])
}
Add(MoveWindow,1121570,357,119)
{
 link(Handle,2586885:Handle,[(363,104)(399,104)(399,205)(111,205)])
}
Add(TransparentManager,9807424,105,63)
{
 Name="trans"
 FormTranspColor=16777215
}
С Новым Годом!


карма: 1
Не так страшна ошибка, как опасность её не заметить.

2
Голосовали:sаmakacd, Qadastra
1
Сообщение
...
Прикрепленные файлы
(файлы не залиты)