gg: remove draw_text()
parent
5ea1c538b6
commit
865eee2f6b
10
vlib/gg/gg.v
10
vlib/gg/gg.v
|
@ -5,7 +5,7 @@
|
||||||
module gg
|
module gg
|
||||||
|
|
||||||
import stbi
|
import stbi
|
||||||
import glm
|
import glm
|
||||||
import gl
|
import gl
|
||||||
import gx
|
import gx
|
||||||
import os
|
import os
|
||||||
|
@ -27,8 +27,8 @@ import const (
|
||||||
|
|
||||||
pub fn vec2(x, y int) Vec2 {
|
pub fn vec2(x, y int) Vec2 {
|
||||||
res := Vec2 {
|
res := Vec2 {
|
||||||
x: x,
|
x: x
|
||||||
y: y,
|
y: y
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
@ -311,10 +311,6 @@ fn (c GG) fill_color(color gx.Color) {
|
||||||
fn (c GG) fill() {
|
fn (c GG) fill() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn (ctx &GG) draw_text(_x, _y int, text string, cfg gx.TextCfg) {
|
|
||||||
//pub fn (c &GG) draw_text(x, y int) {
|
|
||||||
}
|
|
||||||
|
|
||||||
fn (c GG) move_to(x, y int) {
|
fn (c GG) move_to(x, y int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue