13b. wxWidgets – Stream Classes
OVERVIEW In this section we look at stream classes. wxWidgets has a good number of stream classes for raw input, output, file handling, text handling […]
OVERVIEW In this section we look at stream classes. wxWidgets has a good number of stream classes for raw input, output, file handling, text handling […]
OVERVIEW Character buffers are used to store buffers in memory for further processing or transferring to other objects. wxWidgets has wxMemoryBuffer which deals with raw […]
OVERVIEW In this section, we look at some secondary objects and features available in wxWidgets which are not actually connected with GUI creation. However they […]
OVERVIEW We now look at how to create a custom widget. A custom widget is something which adds in a custom UI which can be […]
OVERVIEW A Gradient is a gradual transition in a color from one shade to another. This is useful for complex coloring and effects. wxWidgets provides […]
OVERVIEW Regions are used to change colors in certain areas of the screen by defining different regions and using one of the 4 operations available: […]
OVERVIEW All drawing is done by the wxPen object. A pen object can configure color, width and style . Styles can be as shown below […]
OVERVIEW DrawPoint() is the simplest GDI function as it draws a point at the given x,y coordinates. In the sample code below, we draw 5000 […]
OVERVIEW Drawing text is similar to drawing lines, except here we pass a string as an argument along with the x,y coordinates of where it […]
OVERVIEW We use the DrawLine() method to draw straight lines on the screen. All GDI methods work by overriding the wxEVT_PAINT method. The DrawLine method […]
Copyright © 2024 | WordPress Theme by MH Themes