aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-05-30Remove src/dimension.hAlessandro Iezzi
2023-05-30Remove src/dimension.cAlessandro Iezzi
2023-05-30Set drawn to 1 only if the widget is visibleAlessandro Iezzi
When called that function, the widget is set to drawn and remains drawn for all its life.
2023-05-30Return a non-pointer object cherry_widget_new()Alessandro Iezzi
2023-05-30Fix cherry_window_get_title()Alessandro Iezzi
The title can be obtained only if the window has drawn, otherwise must be retrieved by title attribute of CherryWindow.
2023-05-30Fix cherry_window_set_visibleAlessandro Iezzi
2023-05-30Call parent draw functionAlessandro Iezzi
2023-05-30Update position and dimension only if the windowAlessandro Iezzi
is drawn
2023-05-30Change the logic of cherry_window_set_positionAlessandro Iezzi
2023-05-30Add cherry_window_get_position() functionAlessandro Iezzi
2023-05-30Change the name of a variableAlessandro Iezzi
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