Mercurial > mplayer.hg
diff gui/app.h @ 33555:c5a19bbeac2b
Cosmetic: Rename some GUI variables and functions.
The new names are more intelligible and consistent.
List of changes:
guiIntfStruct -> guiInfo
appMPlayer -> guiApp
txSample -> guiImage (and member BPP -> Bpp)
mplDrawBuffer -> mainDrawBuffer
mplPBDrawBuffer -> playbarDrawBuffer
mplMenuDrawBuffer -> menuDrawBuffer
mpl.* -> ui.* (or mpl dropped)
.*bar.* -> .*playbar.*
URLItem -> urlItem
ChangeSkin -> uiChangeSkin
Convert32to1 -> bpRenderMask
author | ib |
---|---|
date | Sat, 18 Jun 2011 14:33:41 +0000 |
parents | de4f5f183ddb |
children | e905a896243d |
line wrap: on
line diff
--- a/gui/app.h Sat Jun 18 10:33:30 2011 +0000 +++ b/gui/app.h Sat Jun 18 14:33:41 2011 +0000 @@ -140,8 +140,8 @@ int x, y; int width, height; - txSample Bitmap; - txSample Mask; + guiImage Bitmap; + guiImage Mask; int fontid; int align; @@ -171,9 +171,9 @@ wItem sub; wsTWindow subWindow; - wItem bar; - wsTWindow barWindow; - int barIsPresent; + wItem playbar; + wsTWindow playbarWindow; + int playbarIsPresent; wItem menu; wItem menuSelected; @@ -183,14 +183,14 @@ int IndexOfMainItems; wItem mainItems[MAX_ITEMS]; - int IndexOfBarItems; - wItem barItems[MAX_ITEMS]; + int IndexOfPlaybarItems; + wItem playbarItems[MAX_ITEMS]; int IndexOfMenuItems; wItem menuItems[MAX_ITEMS]; } guiItems; -extern guiItems appMPlayer; +extern guiItems guiApp; int appFindMessage(unsigned char *str); void appFreeStruct(void);