File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -268,6 +268,14 @@ static void draw_main_canvas(ezgl::renderer* g) {
268
268
}
269
269
}
270
270
271
+ /* *
272
+ * @brief Default setup function, connects signals/sets up ui created in main.ui file
273
+ *
274
+ * To minimize code repetition, this function sets up all buttons that ALWAYS get set up.
275
+ * If you want to add to the initial setup functions, and your new setup function will always be called,
276
+ * please put it here instead of writing it 5 independent times. Thanks!
277
+ * @param app ezgl application
278
+ */
271
279
static void default_setup (ezgl::application* app){
272
280
basic_button_setup (app);
273
281
net_button_setup (app);
@@ -285,7 +293,7 @@ static void initial_setup_NO_PICTURE_to_PLACEMENT(ezgl::application* app,
285
293
// Configuring visible buttons
286
294
default_setup (app);
287
295
288
- // Loading names for
296
+ // THIS WILL BE CHANGED SOON IGNORE
289
297
load_block_names (app);
290
298
291
299
// Hiding unused functionality
You can’t perform that action at this time.
0 commit comments