Jump to content

Recommended Posts

Posted

And I have another question, which I can not solve on my own ...

 

I am trying to render a progress bar as an rectangle onto my background layer, but it does not show up anything on the background.

Here is my rendering code: https://gist.github.com/ruabmbua/54b5b9577b6f75fa6d4c

The font is rendered onto the left top of my container. The rectangle does not show up.

 

I also tried the Gui.drawRect() method, but it does not do anything too.

Please help.

try {

...

}catch(Throwable t) {

    MagicAppErrorSolver.solveProblem(t, this);

}

//Programmers will lose work

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.