PDA

Orijinalini görmek için tıklayınız : Nki Çalışmalarında Reklam Alanı


Derbeder
10-01-2020, 11:34
Evet arkadaşlar 5 parçalı yanyana resim boyutları xy dir kendinize göre düzenleyin

bununla bir sonrakinin proje tanıtımını yapabilrsiniz...


on init

make_perfview
set_control_par_str(INST_ICON_ID,CONTROL_PAR_PICTU RE,"icon")
set_ui_height(10)
set_ui_color(9)

declare x := 130
declare y := 50
declare anim := 0
declare id

declare ui_label Hakkinda(1, 2) {Arkaplan için foto koyma}
Hakkinda -> text :=""
Hakkinda -> width :=400
Hakkinda -> height :=250
Hakkinda -> pos_x := x - 25
Hakkinda -> pos_y := y - 25
Hakkinda -> picture :=""
Hakkinda -> hide := HIDE_PART_BG
make_persistent(Hakkinda)

declare ui_label Animasyon(0, 0)
Animasyon -> text :=""
Animasyon -> pos_x := x
Animasyon -> pos_y := y
Animasyon -> picture :="Animation"



declare ui_button button
button -> text :=""
button -> width :=30
button -> height :=30
button -> pos_x := x + 450
button -> pos_y := y + 245
button -> picture :="btn"
button := 0


end on

on ui_control ($button)
if(button = 0)
id := NI_CALLBACK_ID
while (button = 0 and anim<5)
Animasyon -> picture_state := anim
wait(100000)
inc(anim)
if (anim = 5)
anim := 0
end if
end while
else
stop_wait(id, 1)
anim := 0
end if
end on