Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
NDRAEY committed Jan 5, 2021
1 parent 756975b commit 297d6db
Show file tree
Hide file tree
Showing 14 changed files with 261 additions and 251 deletions.
Empty file added Html/.nomedia
Empty file.
Empty file added Img/.nomedia
Empty file.
Binary file modified Img/wallpaper4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added Misc/.NOMEDIA
Empty file.
Binary file modified Snd/melody1.mp3
Binary file not shown.
Binary file modified Snd/n64.mp3
Binary file not shown.
Binary file modified Snd/testbootsound.mp3
Binary file not shown.
Binary file added Vid/.dthumb/17623821661606998360.dthumb
Binary file not shown.
Binary file added Vid/.dthumb/19949751891597883296.dthumb.tmp
Binary file not shown.
Empty file added Vid/.nomedia
Empty file.
Binary file modified Vid/bootanimation.mp4
Binary file not shown.
Binary file modified Vid/testvideo.mp4
Binary file not shown.
40 changes: 40 additions & 0 deletions builtins.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
class RammerApp {
constructor(params) {
if(params!="") {
this.lay = app.CreateLayout("Linear", params);
}else{
this.lay = app.CreateLayout("Linear", "Vertical,fillxy");
}
this.ifadded = false
this.lay.SetBackColor("gray")
}
show() {
if(this.ifadded == false) {
app.AddLayout(this.lay);
this.ifadded = true
}
}
close() {
if(this.ifadded == true) {
app.RemoveLayout(this.lay);
this.ifadded = false
}
}
AddChild(c) {
this.lay.AddChild(c)
}
RemoveChild(c) {
this.lay.RemoveChild(c)
}
}

class RammerCloseButton {
constructor(laytoadd) {
this.w = 0.1
this.h = this.w / (app.GetDisplayHeight()/app.GetDisplayWidth())
this.closebtn = app.CreateButton( "[fa-close]",this.w,this.h,"FontAwesome" );
this.closebtn.SetOnTouch(function() {
laytoadd.close()
})
}
}
Loading

0 comments on commit 297d6db

Please sign in to comment.