gg: remove draw_text()

pull/1523/head
Alexander Medvednikov 2019-08-08 16:08:58 +02:00
parent 5ea1c538b6
commit 865eee2f6b
1 changed files with 3 additions and 7 deletions

View File

@ -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) {
} }