simple suggestion.
Whilst in the slab mode of building push a key like shift and drag up to make a vertical slab.
You could also have a button for diagonal lines like ctrl.
you would then be able to hold ctrl and shift in a certain order to make either a diagonal wall or a slant for a roof.