class Bench::FPSDisplay

Defined in:

bench/fps_display.cr

Constant Summary

BarHeight = 3
DarkShadow = LibAllegro.map_rgba_f(0, 0, 0, 0.69)
Green = LibAllegro.map_rgba_f(0, 1, 0, 0.69)
Margin = 3
TextHeight = 10
TimeSpan = 10
Width = 100

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def calc #

[View source]
def draw(obj_count, frames) #

[View source]