mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
b5ab90143a
Various alignments I want to do in the host CA box have shown up deficiencies in this system, so I've reworked it a bit. Firstly, you can now specify more than two controls to be tied together with an align_next_to (e.g. multiple checkboxes alongside something else). Secondly, as well as forcing the controls to be the same height as each other, the layout algorithm will also move the later controls further _downward_, so that their top y positions also line up. Until now that hasn't been necessary, because they lined up already. In the GTK implementation of this via the Columns class, I've renamed 'columns_force_same_height' to 'columns_align_next_to', and similarly for some of the internal fields, since the latter change makes the previous names a misnomer. In the Windows implementation, I found it most convenient to set this up by following a linked list of align_next_to fields backwards. But it won't always be convenient to initialise them that way, so I've also written a crude normaliser that will rewrite those links into a canonical form. But I only call that on Windows; it's unnecessary in GTK, where the Columns class provides plenty of per-widget extra storage so I just keep each alignment class as a circular list.
76 lines
1.3 KiB
CMake
76 lines
1.3 KiB
CMake
add_sources_from_current_dir(utils
|
|
antispoof.c
|
|
backend_socket_log.c
|
|
base64_decode_atom.c
|
|
base64_decode.c
|
|
base64_encode_atom.c
|
|
base64_encode.c
|
|
base64_valid.c
|
|
bufchain.c
|
|
buildinfo.c
|
|
burnstr.c
|
|
chomp.c
|
|
conf.c
|
|
conf_dest.c
|
|
conf_launchable.c
|
|
ctrlparse.c
|
|
ctrlset_normalise.c
|
|
debug.c
|
|
decode_utf8.c
|
|
decode_utf8_to_wchar.c
|
|
default_description.c
|
|
dupcat.c
|
|
dupprintf.c
|
|
dupstr.c
|
|
dup_mb_to_wc.c
|
|
dup_wc_to_mb.c
|
|
encode_utf8.c
|
|
encode_wide_string_as_utf8.c
|
|
fgetline.c
|
|
host_ca_new_free.c
|
|
host_strchr.c
|
|
host_strchr_internal.c
|
|
host_strcspn.c
|
|
host_strduptrim.c
|
|
host_strrchr.c
|
|
key_components.c
|
|
log_proxy_stderr.c
|
|
make_spr_sw_abort_static.c
|
|
marshal.c
|
|
memory.c
|
|
memxor.c
|
|
null_lp.c
|
|
nullkey.c
|
|
nullseat.c
|
|
nullstrcmp.c
|
|
out_of_memory.c
|
|
parse_blocksize.c
|
|
prompts.c
|
|
ptrlen.c
|
|
read_file_into.c
|
|
seat_connection_fatal.c
|
|
sessprep.c
|
|
sk_free_peer_info.c
|
|
smemclr.c
|
|
smemeq.c
|
|
spr_get_error_message.c
|
|
ssh_key_clone.c
|
|
ssh2_pick_fingerprint.c
|
|
sshutils.c
|
|
strbuf.c
|
|
string_length_for_printf.c
|
|
stripctrl.c
|
|
tempseat.c
|
|
tree234.c
|
|
validate_manual_hostkey.c
|
|
version.c
|
|
wcwidth.c
|
|
wildcard.c
|
|
write_c_string_literal.c
|
|
x11authfile.c
|
|
x11authnames.c
|
|
x11_dehexify.c
|
|
x11_identify_auth_proto.c
|
|
x11_make_greeting.c
|
|
x11_parse_ip.c)
|