summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-11-02 13:29:09 -0400
committerpommicket <pommicket@gmail.com>2022-11-02 13:29:09 -0400
commitb070e5ce01c829bd101b1e0eda49f1e25d9d125c (patch)
treef674fcbaad6b565e89d1ba973198024d958cac22 /main.c
parent26d34216da04a2b91e65a0eeee9200ad808d48ce (diff)
new settings system bugfixes, use ted_active_settings more
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/main.c b/main.c
index 78e9e72..4579c55 100644
--- a/main.c
+++ b/main.c
@@ -1,9 +1,6 @@
/*
-@TODO:
-- make sure [/path//extensions] works
-
FUTURE FEATURES:
-- path-based settings
+- [/path//extensions]
- custom shaders
- texture, time, time since last save
- config variables
@@ -781,10 +778,9 @@ int main(int argc, char **argv) {
Font *font = ted->font;
- // default window titlel
+ // default window title
strcpy(ted->window_title, "ted");
-
-
+
{
float const padding = ted_active_settings(ted)->padding;
float x1 = padding, y = window_height-padding, x2 = window_width-padding;