MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / GUI_Purchase_Invoice_Click

Function GUI_Purchase_Invoice_Click

src/gui/widget_click.c:1366–1373  ·  view source on GitHub ↗

* Handles Click event for the "Invoice" button in starport window. * * @return True, always. */

Source from the content-addressed store, hash-verified

1364 * @return True, always.
1365 */
1366bool GUI_Purchase_Invoice_Click(Widget *w)
1367{
1368 GUI_Widget_MakeInvisible(w);
1369 GUI_Purchase_ShowInvoice();
1370 GUI_Widget_MakeVisible(w);
1371 GUI_Widget_MakeNormal(w, false);
1372 return true;
1373}
1374
1375/**
1376 * Handles Click event for the "Build this" button in production window.

Callers

nothing calls this directly

Calls 4

GUI_Widget_MakeInvisibleFunction · 0.85
GUI_Purchase_ShowInvoiceFunction · 0.85
GUI_Widget_MakeVisibleFunction · 0.85
GUI_Widget_MakeNormalFunction · 0.85

Tested by

no test coverage detected