I hereby claim:
- I am mudhairless on github.
- I am ohthatmud (https://keybase.io/ohthatmud) on keybase.
- I have a public key ASCn38ocRWwhqiIiMrMatdN9t7c84PKISyFjOT0oSkZnEAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
''' | |
Circle Example | |
============== | |
This example exercises circle (ellipse) drawing. You should see sliders at the | |
top of the screen with the Kivy logo below it. The sliders control the | |
angle start and stop and the height and width scales. There is a button | |
to reset the sliders. The logo used for the circle's background image is | |
from the kivy/data directory. The entire example is coded in the | |
kv language description. |
/* | |
--- | |
name: XtLightbox.Renderer | |
description: extendable lightbox Renderer base | |
license: MIT-style | |
authors: | |
- Anton Suprun <kpobococ@gmail.com> |
/* | |
--- | |
name: XtLightbox.Renderer.Lightbox | |
description: extendable lightbox default Lightbox Renderer | |
license: MIT-style | |
authors: | |
- Anton Suprun <kpobococ@gmail.com> |
''Copyright (c) 2007-2014, FreeBASIC Extended Library Development Group | |
'' | |
''All rights reserved. | |
'' | |
''Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | |
'' | |
'' * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | |
'' * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | |
'' * Neither the name of the FreeBASIC Extended Library Development Group nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. | |
'' |
#include once "ext/log.bi" | |
using ext | |
sub my_custom_log( byval l as loglevel, byref m as const string, byref f as const string, byval l_ as integer, byval fd as any ptr ) | |
print m | |
end sub | |
enum MyChannels | |
MAIN_C = 0 | |
FILE_C |
'Roll a die or more, DND style syntax. | |
declare function roll( byref s as string ) as uinteger | |
#define ALGO_CRYPTO 5 | |
#define ALGO_QBASIC 4 | |
#define ALGO_MERSEN 3 | |
#define ALGO_FAST 2 | |
#define ALGO_CRAND 1 | |
'Main |
'modded by sir_mud 11/2013 to run with FB 0.90.1 (differences in ThreadCreate and added extremely minimal ini config) | |
' tweaked by tinram 6/6/07 to run with FB 0.17b (RETURNs in CASE statements were killing it) | |
' 0.16 original by jofers | |
'Option Explicit | |
#include "windows.bi" | |
type configuration |
StartScreenSaver | |
'loadimages: | |
'print "Loading"; | |
restore flyer1dat | |
flyer(0) = loadFromDat() | |
'print "."; | |
restore flyer2dat | |
flyer(1) = loadFromDat() |
function newToaster() as sprite ptr | |
var ret = new sprite | |
ret->img = callocate(sizeof(fb.image ptr) * 4) | |
ret->max_img = 4 | |
for n as integer = 0 to 3 | |
ret->img[n] = flyer(n) | |
next | |
var y = rndrange(0,SaverInfo.ScrHeight/2) | |
var yy = rndrange(0,10) | |
if yy > 5 then y = -(y) |