Compare commits
3 Commits
bf02560cdd
...
d330878f8a
Author | SHA1 | Date | |
---|---|---|---|
d330878f8a | |||
30c8ad2ca7 | |||
edd21acaa5 |
@ -6,7 +6,7 @@ jobs:
|
|||||||
runs-on: arch
|
runs-on: arch
|
||||||
steps:
|
steps:
|
||||||
- name: get dependencies
|
- name: get dependencies
|
||||||
run: pacman -Sy nodejs make gcc libcups --needed --noconfirm
|
run: pacman -Sy nodejs make gcc libcups nlohmann-json --needed --noconfirm
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
#include <form.h>
|
|
||||||
#include <ncurses.h>
|
|
||||||
#include <cstring>
|
|
||||||
#include <ctime>
|
|
||||||
#include <format>
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include "gameske_funkce.h"
|
#include "gameske_funkce.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "strings.h"
|
#include "strings.h"
|
||||||
|
#include <cstring>
|
||||||
|
#include <ctime>
|
||||||
|
#include <form.h>
|
||||||
|
#include <format>
|
||||||
|
#include <ncurses.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#define HEADER_COLOR_PAIR COLOR_RED
|
#define HEADER_COLOR_PAIR COLOR_RED
|
||||||
#define FIELD_NAME_COLOR_PAIR 10
|
#define FIELD_NAME_COLOR_PAIR 10
|
||||||
@ -111,7 +111,7 @@ std::vector<allocation> editor_easy_allocated;
|
|||||||
|
|
||||||
FORM *form = new_form(&fields[0]);
|
FORM *form = new_form(&fields[0]);
|
||||||
set_form_win(form, field_win);
|
set_form_win(form, field_win);
|
||||||
set_form_sub(form, derwin(field_win, LINES - 10, COLS - 40, 1, 1));
|
set_form_sub(form, derwin(field_win, LINES - 10, COLS - 40, 0, 1));
|
||||||
|
|
||||||
post_form(form);
|
post_form(form);
|
||||||
form_driver(form, REQ_FIRST_FIELD);
|
form_driver(form, REQ_FIRST_FIELD);
|
||||||
|
@ -8,7 +8,7 @@ constexpr strings english_strings{
|
|||||||
.print_this_help = "Print this help",
|
.print_this_help = "Print this help",
|
||||||
.print_version = "Print version",
|
.print_version = "Print version",
|
||||||
.version = "version",
|
.version = "version",
|
||||||
.main_menu = "Main menu",
|
.main_menu = "List of complaints",
|
||||||
.f1_to_exit = "F1 to exit",
|
.f1_to_exit = "F1 to exit",
|
||||||
.unknown_command = "Unknown command:",
|
.unknown_command = "Unknown command:",
|
||||||
.min_terminal_size = "Minimum terminal size: 90x28",
|
.min_terminal_size = "Minimum terminal size: 90x28",
|
||||||
@ -88,7 +88,7 @@ constexpr strings czech_strings{
|
|||||||
.print_this_help = "Zobrazit tuto nápovědu",
|
.print_this_help = "Zobrazit tuto nápovědu",
|
||||||
.print_version = "Zobrazit verzi",
|
.print_version = "Zobrazit verzi",
|
||||||
.version = "verze",
|
.version = "verze",
|
||||||
.main_menu = "Hlavní nabídka",
|
.main_menu = "Seznam Oznámení",
|
||||||
.f1_to_exit = "F1 pro ukončení",
|
.f1_to_exit = "F1 pro ukončení",
|
||||||
.unknown_command = "Neznámý příkaz: ",
|
.unknown_command = "Neznámý příkaz: ",
|
||||||
.min_terminal_size = "Minimální velikost terminálu: 90x28",
|
.min_terminal_size = "Minimální velikost terminálu: 90x28",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user