Jeck - Some theme work. Reverted default theme background. Added Jade theme, mana colors for Inverted.
* In GuiBackground, we now load and use all of backdrop.jpg. This is for effects like that in Jade. It's an extremely minor change, so shouldn't effect stability.
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
@@ -6,7 +6,7 @@ GuiBackground::GuiBackground()
|
|||||||
{
|
{
|
||||||
JTexture* texture = resources.GetTexture("backdrop.jpg");
|
JTexture* texture = resources.GetTexture("backdrop.jpg");
|
||||||
if (texture)
|
if (texture)
|
||||||
quad = NEW JQuad(texture, 0, 0, 480, 255);
|
quad = NEW JQuad(texture, 0, 0, 480, 272);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
quad = NULL;
|
quad = NULL;
|
||||||
@@ -22,5 +22,5 @@ GuiBackground::~GuiBackground()
|
|||||||
void GuiBackground::Render()
|
void GuiBackground::Render()
|
||||||
{
|
{
|
||||||
JRenderer* renderer = JRenderer::GetInstance();
|
JRenderer* renderer = JRenderer::GetInstance();
|
||||||
renderer->RenderQuad(quad, 0, 18);
|
renderer->RenderQuad(quad, 0, 0);
|
||||||
}
|
}
|
||||||
|
|||||||