MostlyHarmless 0.0.1
 
Loading...
Searching...
No Matches
mostlyharmless_GuiHelpersMacOS.h
Go to the documentation of this file.
1//
2// Created by Syl Morrison on 11/08/2024.
3//
4
5#ifndef MOSTLYHARMLESS_MOSTLYHARMLESS_GUIHELPERSMACOS_H
6#define MOSTLYHARMLESS_MOSTLYHARMLESS_GUIHELPERSMACOS_H
8#include <cstdint>
10 void* createView(std::uint32_t width, std::uint32_t height);
15 void removeFromParentView(void* viewHandle);
22 void setViewSize(void* viewHandle, std::uint32_t width, std::uint32_t height);
29 void getViewSize(void* viewHandle, std::uint32_t* width, std::uint32_t* height);
35 void reparentView(void* hostViewHandle, void* clientViewHandle, void* childViewHandle, Colour backgroundColour);
40 void showView(void* viewHandle);
45 void hideView(void* viewHandle);
46} // namespace mostly_harmless::gui::helpers::macos
47#endif // MOSTLYHARMLESS_MOSTLYHARMLESS_GUIHELPERSMACOS_H
macOS specific gui helper functions
Definition mostlyharmless_NamespaceDocs.h:28
void * createView(std::uint32_t width, std::uint32_t height)
void reparentView(void *hostViewHandle, void *clientViewHandle, void *childViewHandle, Colour backgroundColour)
void hideView(void *viewHandle)
void setViewSize(void *viewHandle, std::uint32_t width, std::uint32_t height)
void getViewSize(void *viewHandle, std::uint32_t *width, std::uint32_t *height)
void showView(void *viewHandle)
void removeFromParentView(void *viewHandle)
Convenience struct representing a colour.
Definition mostlyharmless_Colour.h:12