diff --git a/4coder_default_bindings.cpp b/4coder_default_bindings.cpp index 5e33a81c..430f77da 100644 --- a/4coder_default_bindings.cpp +++ b/4coder_default_bindings.cpp @@ -28,7 +28,7 @@ default_keys(Bind_Helper *context){ bind(context, 'i', MDFR_CTRL, interactive_switch_buffer); bind(context, 'w', MDFR_CTRL, save_as); bind(context, 'h', MDFR_CTRL, project_go_to_root_directory); - bind(context, 'S', MDFR_CTRL, save_dirty_buffers); + bind(context, 'S', MDFR_CTRL, save_all_dirty_buffers); bind(context, 'c', MDFR_ALT, open_color_tweaker); bind(context, 'd', MDFR_ALT, open_debug); diff --git a/platform_mac/mac_4ed.cpp b/platform_mac/mac_4ed.cpp index 601e3437..945a6c75 100644 --- a/platform_mac/mac_4ed.cpp +++ b/platform_mac/mac_4ed.cpp @@ -18,40 +18,40 @@ OSX_Vars osx; // TODO(allen): Implement a real allocate #include -internal void* +void* osx_allocate(umem size){ void *result = malloc(size); return(result); } -internal void +void osx_resize(int width, int height){ osx.width = width; osx.height = height; // TODO } -internal void +void osx_character_input(u32 code, OSX_Keyboard_Modifiers modifier_flags){ // TODO } -internal void +void osx_mouse(i32 mx, i32 my, u32 type){ // TODO } -internal void +void osx_mouse_wheel(float dx, float dy){ // TODO } -internal void +void osx_step(){ // TODO } -internal void +void osx_init(){ // TODO }