Replay length hack (ugly (temporary))
This commit is contained in:
parent
668be402da
commit
6772f1fcd0
|
@ -1,15 +1,18 @@
|
|||
# Minilauncher4slippi
|
||||
|
||||
Launcher for Slippi that runs on Linux, *BSD, and more. It uses the EFL
|
||||
Launcher for Slippi that runs on Windows, Mac(?), Linux, *BSD, and more. It uses the EFL
|
||||
toolkit.
|
||||
|
||||
It supports Playing the game, replays, and basic settings.
|
||||
It supports Playing the game (thank GOD...), replays, and basic settings.
|
||||
|
||||
---
|
||||
|
||||
It was created to work around some Electron woes (specifically on *BSD), alongside just provide a
|
||||
smaller, minimalistic launcher.
|
||||
|
||||
EFL also provides a wider array of customization for themes, such as
|
||||
colors.. making it a very pretty launcher
|
||||
|
||||
# This is unofficial.
|
||||
|
||||
```diff
|
||||
|
|
7
home.c
7
home.c
|
@ -83,6 +83,13 @@ releases_result(struct memory_chunk chunk)
|
|||
cJSON* body = cJSON_GetObjectItemCaseSensitive(c, "body_html");
|
||||
Eina_Strbuf* body_fmt = eina_strbuf_manage_new(body->valuestring);
|
||||
eina_strbuf_replace_all(body_fmt, "\n", "<br>");
|
||||
eina_strbuf_replace_all(body_fmt, "<h1>", "<title>");
|
||||
eina_strbuf_replace_all(body_fmt, "</h1>", "</>");
|
||||
eina_strbuf_replace_all(body_fmt, "<h2>", "<subtitle>");
|
||||
eina_strbuf_replace_all(body_fmt, "</h2>", "</>");
|
||||
eina_strbuf_replace_all(body_fmt, "<h3>", "<heading>");
|
||||
eina_strbuf_replace_all(body_fmt, "</h3>", "</>");
|
||||
eina_strbuf_replace_all(body_fmt, "<li>", "<li> - ");
|
||||
eina_strbuf_trim(body_fmt);
|
||||
|
||||
|
||||
|
|
2
input.c
2
input.c
|
@ -36,7 +36,7 @@ _scroll_loop_cb(void* data)
|
|||
void
|
||||
input_init_threads()
|
||||
{
|
||||
//ecore_timer_add(.005, _scroll_loop_cb, NULL);
|
||||
ecore_timer_add(.005, _scroll_loop_cb, NULL);
|
||||
ecore_thread_run(_input_sdl_setup_thread, NULL, NULL, NULL);
|
||||
ecore_thread_run(_input_gcadapter_setup_thread, NULL, NULL, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue