introduce MWAPI
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
77ca92452e
commit
2dd2c3870f
41 changed files with 189 additions and 166 deletions
|
|
@ -4,7 +4,7 @@ MwWidget cpicker;
|
|||
MwWidget window;
|
||||
MwWidget button;
|
||||
|
||||
void color_callback(MwWidget handle, void* user_data, void* call_data) {
|
||||
void MWAPI color_callback(MwWidget handle, void* user_data, void* call_data) {
|
||||
char hexColor[8];
|
||||
MwRGB* rgb = call_data;
|
||||
|
||||
|
|
@ -18,7 +18,7 @@ void color_callback(MwWidget handle, void* user_data, void* call_data) {
|
|||
MwSetText(window, MwNbackground, hexColor);
|
||||
}
|
||||
|
||||
void color_picker(MwWidget handle, void* user_data, void* call_data) {
|
||||
void MWAPI color_picker(MwWidget handle, void* user_data, void* call_data) {
|
||||
MwWidget cpicker = MwColorPicker(window, "cpicker");
|
||||
|
||||
(void)handle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue