Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
import
|
||||
gtk2, gdk2
|
||||
|
||||
nim_init()
|
||||
var w = gdk2.screen_width()
|
||||
var h = gdk2.screen_height()
|
||||
echo("WxH=",w,"x",h)
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
import
|
||||
iup
|
||||
|
||||
# assumes you have the iup .dll or .so installed
|
||||
|
||||
discard iup.open(nil,nil)
|
||||
|
||||
var scrnFullSize = GetGlobal("FULLSIZE")
|
||||
var scrnSize = GetGlobal("SCREENSIZE")
|
||||
var scrnMInfo = GetGlobal("MONITORSINFO")
|
||||
var scrnVScreen = GetGlobal("VIRTUALSCREEN")
|
||||
|
||||
var dlg = Dialog(nil)
|
||||
SetAttribute(dlg, "SIZE", "FULL")
|
||||
var scrnXSize = GetAttribute(dlg,"MAXSIZE")
|
||||
|
||||
echo scrnFullSize, "\n", scrnSize, "\n", scrnMInfo, "\n", scrnVScreen, "\n", scrnXSize
|
||||
|
||||
discard iup.Alarm("Screen client size", scrnFullSize ,"Ok",nil, nil)
|
||||
|
||||
#discard iup.mainloop()
|
||||
iup.close()
|
||||
Loading…
Add table
Add a link
Reference in a new issue