mirror of
https://github.com/GTNewHorizons/bdlib.git
synced 2026-11-22 05:02:33 +00:00
Bumping version
This commit is contained in:
1 parent
e3bf80e1c9
commit
78a69acc44
4 files changed
+4
-5
No files matched your search
+1
-1
@@ -14,7 +14,7 @@ buildscript {
|
||||
apply plugin: 'forge'
|
||||
apply plugin: 'scala'
|
||||
|
||||
version = "1.1.0"
|
||||
version = "1.2.0"
|
||||
|
||||
if (project.hasProperty('buildnum')) {
|
||||
project.version = project.version + '.' + project.buildnum
|
||||
|
||||
@@ -85,7 +85,7 @@ class WidgetContainerWindow(val parent: BaseScreen, xSz: Int, ySz: Int) extends
|
||||
def getOffsetFromWindow = Point(0, 0)
|
||||
val rect = Rect(0, 0, xSz, ySz)
|
||||
|
||||
final val F = 1/256F
|
||||
final val F = 1 / 256F
|
||||
|
||||
def addVertexUVScaled(x: Float, y: Float, z: Float, u: Float, v: Float) {
|
||||
Tessellator.instance.addVertexWithUV(x, y, z, u * F, v * F)
|
||||
|
||||
@@ -9,10 +9,9 @@
|
||||
|
||||
package net.bdew.lib.gui.widgets
|
||||
|
||||
import net.bdew.lib.gui.widgets.Widget
|
||||
import net.bdew.lib.gui.{Point, Rect}
|
||||
|
||||
class WidgetDynLabel(text: =>String, x: Int, y: Int, color: Int) extends Widget {
|
||||
class WidgetDynLabel(text: => String, x: Int, y: Int, color: Int) extends Widget {
|
||||
val rect: Rect = new Rect(x, y, 0, 0)
|
||||
override def draw(mouse: Point) {
|
||||
parent.getFontRenderer.drawString(text, x, y, color)
|
||||
|
||||
@@ -18,5 +18,5 @@ class WidgetSubcontainer(val rect: Rect) extends BaseWidget with WidgetContainer
|
||||
def getOffsetFromWindow = parent.getOffsetFromWindow + rect.origin
|
||||
def drawTexture(r: Rect, uv: Point, color: Color = Color.white) = parent.drawTexture(r, uv, color)
|
||||
def drawIcon(r: Rect, i: Icon, color: Color = Color.white) = parent.drawIcon(r, i, color)
|
||||
def drawTextureScaled(r: Rect, t: TextureLocationScaled, color: Color = Color.white) = parent.drawTextureScaled(r, t,color)
|
||||
def drawTextureScaled(r: Rect, t: TextureLocationScaled, color: Color = Color.white) = parent.drawTextureScaled(r, t, color)
|
||||
}
|
||||
Reference in new issue
Block a user