mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
ura text input
This commit is contained in:
parent
26df9f3f3c
commit
c2970aeeba
2 changed files with 1 additions and 9 deletions
|
|
@ -138,14 +138,6 @@ set(MAIN_SOURCE
|
|||
src/signals/maindispatcher.cpp
|
||||
)
|
||||
|
||||
# main stuff
|
||||
set(MAIN_HEADERS
|
||||
# ...
|
||||
)
|
||||
|
||||
set(MAIN_SOURCE
|
||||
# ...
|
||||
)
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
list(APPEND MAIN_SOURCE assets/resources.rc)
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class Window_NameInput < Window_Base
|
|||
end
|
||||
def init
|
||||
# Create dimension information
|
||||
@table_size = @character_tables[0].size
|
||||
@table_size = @character_tables.values.first.size
|
||||
@table_width = @table_size / @table_height
|
||||
@start_x = ((width - 32) - @table_width * @char_w) / 2
|
||||
@start_y = ((height - 32) - (@table_height + 1) * @char_h + BUTTON_BUFFER) / 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue