Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoporto committed Apr 17, 2024
1 parent 02ef2dc commit 28a1b74
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fancy_demo/fancy.asc
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,6 @@ void Fancy9Piece::Set(int top, int bottom, int left, int right, int top_left, in
this.BorderBottom = _f9p_get_bottom_border(this);
}


static Fancy9Piece* Fancy9Piece::CreateFrom9Sprites(int top, int bottom, int left, int right, int top_left, int top_right, int bottom_left, int bottom_right, int background, int bg_color)
{
Fancy9Piece* f9p = new Fancy9Piece;
Expand Down Expand Up @@ -525,7 +524,6 @@ static FancyDrawingConfig* FancyDrawingConfig::Create(FontType font, int color,
return cfg;
}

// draw fancy text wrapped on a surface
void DrawFancyStringWrapped(this DrawingSurface*, int x, int y, int width, int color, FontType font, const string text)
{
FancyTextToken* tk_arr[] = _NewTxtTok();
Expand All @@ -536,7 +534,6 @@ void DrawFancyStringWrapped(this DrawingSurface*, int x, int y, int width, int c
_draw_tokens(tk_arr, tk_count, fs, this, text, -1, width, config);
}


void DrawFancyString(this DrawingSurface*, int x, int y, int color, FontType font, const string text)
{
this.DrawFancyStringWrapped(x, y, FANCY_INFINITE_WIDTH, color, font, text);
Expand Down Expand Up @@ -644,7 +641,6 @@ void FancyTextBase::Draw(DrawingSurface* surf)
_draw_tokens(tk_arr, tk_count, this._fs, surf, text, -1, width, this._cfg);
}


bool get_IsTextBeingTyped(this FancyTypedText*)
{
return !String.IsNullOrEmpty(this._text) && (this._typed_token_count < this._tk_count);
Expand Down

0 comments on commit 28a1b74

Please sign in to comment.