aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-05-30Add draw function in CherryWindowAlessandro Iezzi
2023-05-30Make CherryWindow a CherryWidget childAlessandro Iezzi
2023-05-29Change cherry_window_new in cherry_window_drawAlessandro Iezzi
2023-05-29Fix a compilation errorAlessandro Iezzi
2023-05-29Use functions to set dimension of the CherryWindowAlessandro Iezzi
2023-05-29Remove `dimension` from CherryWindowAlessandro Iezzi
2023-05-29Call the draw function if the widget is invisibleAlessandro Iezzi
and not drawn yet
2023-05-29Check if widget is visible and drawn before toAlessandro Iezzi
call the child draw function
2023-05-29Init drawn with a 0Alessandro Iezzi
2023-05-29Add new functions to CherryWidgetAlessandro Iezzi
2023-05-29Replace CherryDimension with width and heightAlessandro Iezzi
2023-05-29Change the scope of cherry_widget_draw()Alessandro Iezzi
2023-05-29Add the `drawn` flag in CherryWidgetAlessandro Iezzi
2023-05-29Remove a not used lineAlessandro Iezzi
2023-05-29Init visible falg in CherryWidgetAlessandro Iezzi
2023-05-29Cheange vertical alignment of some commentAlessandro Iezzi
2023-05-29Correct a commentAlessandro Iezzi
2023-05-29Clean up src/cherry.cAlessandro Iezzi
2023-05-25Add cherry_widget_draw() functionAlessandro Iezzi
2023-05-25Rename variablesAlessandro Iezzi
2023-05-25Rename a variableAlessandro Iezzi
2023-05-25Add some useful commentAlessandro Iezzi
2023-05-25Remove Xlib stuff from widget.hAlessandro Iezzi
2023-05-25Add widget.cAlessandro Iezzi
2023-05-25Add widget.hAlessandro Iezzi
2023-05-22Add event.c and a function to get the ID of eventAlessandro Iezzi
2023-05-22Add commented codeAlessandro Iezzi
Just use it as example.
2023-05-22Add contexts to retrieve the window whenAlessandro Iezzi
dispaching events
2023-05-22Change function signatureAlessandro Iezzi
2023-05-22Add logsAlessandro Iezzi
2023-05-22Rewrite the test with new APIsAlessandro Iezzi
2023-05-22Add handlers to mouse and keyboard eventsAlessandro Iezzi
2023-05-21Change the signature for a cherry eventAlessandro Iezzi
2023-05-21Define a structure for a CherryEventAlessandro Iezzi
2023-05-21Define an enum to identify an event typeAlessandro Iezzi
2023-05-21Change the default color for window to redAlessandro Iezzi
2023-05-17Replace printf with logsAlessandro Iezzi
2023-05-17Add cherry_window_dispose_on_exit() functionAlessandro Iezzi
2023-05-17Add events to exit from application and to closeAlessandro Iezzi
the window
2023-05-17Change calls to the new version of libutilsAlessandro Iezzi
2023-05-17Add a commentAlessandro Iezzi
2023-05-17Add graphics supportAlessandro Iezzi
2023-05-17Add event.hAlessandro Iezzi
2023-05-17Add color.hAlessandro Iezzi
2023-05-17Add cherry_window_set_listener() functionAlessandro Iezzi
With this function, a CherryWindow can listen events. At the moment, just this listener is available.
2023-05-17Add logic to resize and move the CherryWindowAlessandro Iezzi
2023-05-17Add a testAlessandro Iezzi
2023-05-17Add application.c and application.hAlessandro Iezzi
2023-05-17Add new function: cherry_window_get_title()Alessandro Iezzi
2023-05-17Add to the list CherryWindow and not WindowAlessandro Iezzi
It is better to put in windows list the CherryWindow to avoid calling Xlib functions outside the CherryWindow context. In this way, we can change library more easily.