Mercurial > repos > blastem
comparison nuklear_ui/blastem_nuklear.c @ 1581:7121daaa48c2
Fix drag and drop when using Nuklear UI
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 02 May 2018 00:03:22 -0700 |
parents | f66290afae65 |
children | 24508cb54f87 |
comparison
equal
deleted
inserted
replaced
1580:ea7d5ced2415 | 1581:7121daaa48c2 |
---|---|
1095 context->style.window.fixed_background = nk_style_item_color(nk_rgba(0, 0, 0, 128)); | 1095 context->style.window.fixed_background = nk_style_item_color(nk_rgba(0, 0, 0, 128)); |
1096 current_view = view_pause; | 1096 current_view = view_pause; |
1097 current_system->request_exit(current_system); | 1097 current_system->request_exit(current_system); |
1098 } | 1098 } |
1099 | 1099 |
1100 void show_play_view(void) | |
1101 { | |
1102 current_view = view_play; | |
1103 } | |
1104 | |
1100 static uint8_t active; | 1105 static uint8_t active; |
1101 uint8_t is_nuklear_active(void) | 1106 uint8_t is_nuklear_active(void) |
1102 { | 1107 { |
1103 return active; | 1108 return active; |
1104 } | 1109 } |