Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlxBitmapUtil -> FlxBitmapDataUtil #1118

Merged
merged 1 commit into from
May 24, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions flixel/system/debug/BitmapLog.hx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import flixel.math.FlxMath;
import flixel.math.FlxPoint;
import flixel.util.FlxSpriteUtil;
import flixel.system.debug.FlxDebugger;
import flixel.util.FlxBitmapUtil;
import flixel.util.FlxStringUtil;
using flixel.util.FlxBitmapDataUtil;

/**
* An output window that lets you paste BitmapData in the debugger overlay.
Expand Down Expand Up @@ -322,7 +322,7 @@ class BitmapLog extends Window

var entryName:String = _curEntry.name;
var name:String = (entryName == "") ? "" : '"$entryName" | ' ;
_footerText.text = name + FlxStringUtil.formatBytes(FlxBitmapUtil.getMemorySize(_curBitmap));
_footerText.text = name + FlxStringUtil.formatBytes(_curBitmap.getMemorySize());

resizeTexts();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import flash.display.BitmapData;
import flash.geom.Point;
import flash.geom.Rectangle;

class FlxBitmapUtil
class FlxBitmapDataUtil
{
public static function merge(sourceBitmapData:BitmapData, sourceRect:Rectangle, destBitmapData:BitmapData, destPoint:Point, redMultiplier:Int, greenMultiplier:Int, blueMultiplier:Int, alphaMultiplier:Int):Void
{
Expand Down