Fix bug in hxtft driver: drawing rectangles.

Add a few gpanel examples.
This commit is contained in:
Serge Vakulenko
2015-10-08 22:15:01 -07:00
parent b99fcc6c8c
commit 08edaaba8c
20 changed files with 366 additions and 38 deletions

View File

@@ -15,9 +15,6 @@ srand(x)
int
rand()
{
#ifdef pdp11
return(((randx = randx * 1103515245 + 12345)>>16) & 0x7fff);
#else
return((randx = randx * 1103515245 + 12345) & 0x7fffffff);
#endif
randx = randx * 1103515245 + 12345;
return (randx >> 16) & 0x7fff;
}