mirror of
https://github.com/dyne/FreeJ.git
synced 2026-06-16 12:59:33 +02:00
change width/height() to get_width/get_height()
later on will be methods attached to the screen class
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// dinges met iets acid-achtigs, met vierkantjes en rondjes ofzo, geen idee nog precies, maar iig 'jaren 90-ish'
|
||||
// buZz, Puik.
|
||||
|
||||
W=width();
|
||||
H=height();
|
||||
W=get_width();
|
||||
H=get_height();
|
||||
|
||||
//set_resolution(W,H);
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ THRESHOLD = 100;
|
||||
i = 0;
|
||||
|
||||
colors = new Array(0xa03000ff, 0x006000ff, 0x336000ff, 0x00ff00ff, 0xc20000ff, 0x0000c0ff, 0xc0c0c0ff, 0x30f0f0ff, 0x00ff90ff);
|
||||
width=width(); height=height();
|
||||
width=get_width(); height=get_height();
|
||||
|
||||
cyno_geo = new GeometryLayer();
|
||||
cyno_geo.activate(true);
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// and smart use of function pointers
|
||||
// (C)2005 Denis Jaromil Rojo - GNU GPL
|
||||
|
||||
W = width();
|
||||
H = height();
|
||||
W = get_width();
|
||||
H = get_height();
|
||||
|
||||
function draw_pixels(rand_geo) {
|
||||
var x, y;
|
||||
|
||||
Reference in New Issue
Block a user