X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/188cb2af4f16905cb6ea895ecb595e47d20d3e5e..ecc8721a0af85f0e2574bb81a6391dd71822a051:/samples/xrc/rc/controls.xrc?ds=sidebyside diff --git a/samples/xrc/rc/controls.xrc b/samples/xrc/rc/controls.xrc index f834b6a1a1..f0ad8ffac1 100644 --- a/samples/xrc/rc/controls.xrc +++ b/samples/xrc/rc/controls.xrc @@ -1,5 +1,7 @@ + + @@ -17,212 +19,108 @@ wxGROW|wxALIGN_CENTER_VERTICAL|wxALL 5 - - 1 - 550,200 - - - - 350,280 - - - - 0 - - 200,180 - - - - - - 1 - - - - 2 - - 200,180 - - - - - - 1 - - 200,180 - - - - - - - - + + 550,250 + + + + 2 - 0 + 1 0 0 0,1 - 0,1 + 0 + - wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + wxALIGN_CENTRE|wxALL 5 - - + + + - wxALIGN_CENTER_VERTICAL|wxALL + wxALIGN_CENTRE|wxALL 5 - 300,60 - - - 2,2 - - Non-Derived Dialog Example - basicdlg.xpm - The basic instance of wxDialog loaded via XRC - - - Derived Dialog Example - derivdlg.xpm - The most important example: load an XRC for a derived dialog - - - Controls Example - controls.xpm - A notebook displaying all the wxWidgets controls - - - Uncentered Example - uncenter.xpm - Disable autocentering of a dialog on its parent - - - - Custom Class Example - custclas.xpm - Embed your own custom classes into an XRC - - - Platform Specific Example - platform.xpm - Customize parts of an interface for a desired platform - - - wxArtProvider Example - artprov.xpm - Use wxArtProvider to insert desired icons at runtime - - - Variable Expansion Example - variable.xpm - Replace variables in the XRC file at runtime - - - - Just - a combobox - in the toolbar - - + + throbber.gif + stop.xpm + + + + + + + + + + wxHORIZONTAL + - wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL - 5 - - + wxEXPAND + + Welcome to banner demo page! + This is a default wxLEFT banner with some text.\nThe banner on the top uses a bitmap. + - wxALIGN_CENTER_VERTICAL|wxALL - 5 - - - #bbbbff - 2,2 - - Non-Derived Dialog Example - basicdlg.xpm - The basic instance of wxDialog loaded via XRC - - - Derived Dialog Example - derivdlg.xpm - The most important example: load an XRC for a derived dialog - - - Controls Example - controls.xpm - A notebook displaying all the wxWidgets controls - - - Uncentered Example - uncenter.xpm - Disable autocentering of a dialog on its parent - - - - Custom Class Example - custclas.xpm - Embed your own custom classes into an XRC - - - Platform Specific Example - platform.xpm - Customize parts of an interface for a desired platform - - - wxArtProvider Example - artprov.xpm - Use wxArtProvider to insert desired icons at runtime + wxEXPAND|wxLEFT|wxRIGHT + + 15 + + wxVERTICAL + + + wxEXPAND + + wxTOP + wxbanner.gif + yellow + + Tip: + You can also use text\n and bitmap together. + - - Variable Expansion Example - variable.xpm - Replace variables in the XRC file at runtime + + + - - - Just - a combobox - in the toolbar - + + + wxEXPAND + + wxBOTTOM + A word of advice: + You probably shouldn't use banners\non all four sides at once. + - - - - - - - - - 1 - 0 - 0 - 0 - 0 - 0 - wxALIGN_CENTRE|wxALL - 5 - - controls.xpm + wxEXPAND + + wxRIGHT + Custom Banner + You can change the gradient colours. + #7f7f7f + #ffffff - + + - 2 + 4 0 0 0 @@ -257,10 +155,39 @@ + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTRE|wxALL + 5 + + controls.xpm + + + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTRE|wxALL + 5 + + + Whatever it might be + + - + @@ -280,7 +207,7 @@ - + @@ -308,7 +235,7 @@ - + @@ -336,7 +263,7 @@ - + @@ -364,7 +291,56 @@ - + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + + + wxGROW|wxALL + 5 + + + + 0 + + + + 1 + 1 + 0 + 0 + 0 + 0 + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + + + + + + + + + + @@ -390,10 +366,35 @@ + + wxALIGN_TOP|wxALIGN_CENTRE_HORIZONTAL|wxALL + 5 + + 200,-1 + + 2 + + This is a + basicdlg.xpm + + + read-only + derivdlg.xpm + + + wxBitmapComboBox + uncenter.xpm + + + control + custclas.xpm + + + - + @@ -440,16 +441,26 @@ - - + + - 1 - 0 - 0 - 0 - 0 - 0 + 2 + 1 + 1 + + wxALIGN_CENTRE|wxALL + + + + + + wxALIGN_CENTRE|wxALL + + + + + wxALIGN_CENTRE|wxALL 5 @@ -457,10 +468,17 @@ 200,200 + + wxEXPAND|wxALL + 5 + + Text files (*.txt) + + - + @@ -482,14 +500,14 @@ I dream things that never were, and say why not"</i> <p><pre>Fixed width for code snippets.</pre> <p>Horizontal rules to organize sections: <hr> - <p>A wxImage is worth a thousand words and can be also used. + <p>A wxImage is worth a thousand words and can be also used. - + @@ -517,9 +535,9 @@ - - - + + + 1 0 @@ -527,18 +545,98 @@ 0 0 0 + + wxALIGN_CENTER|wxALL + 5 + + 250,160 + + + <b>Bold</b> Milk + <i>Rainbow <font color="red">P</font><font color="blue">i</font><font color="yellow">z</font><font color="green">z</font><font color="purple">a</font></i> + <tt>Plain bread</tt> + <font color="orange" size="+1">Orange juice</font> + Paper towels + + + + + + + + + + wxALIGN_CENTER|wxALL 5 220,160 - + + + 16,16 + + + + + + + + + Name + 105 + 0 + + + Weight + wxLIST_FORMAT_RIGHT + 105 + 1 + + + + + + wxALIGN_CENTER|wxALL + 5 + + 220,160 + + + Information + + + + Question? + + + + + + wxALIGN_CENTER|wxALL + 5 + + 220,160 + + + 20,20 + + + + + Information + 0 + + + Question? + 1 + - + @@ -559,7 +657,7 @@ - + @@ -587,7 +685,7 @@ - + @@ -615,7 +713,7 @@ - + @@ -635,17 +733,19 @@ 0 Power 108 + Power 0 WMMS 100.7 Energy 98.3 CHUM FM 92FM + - + @@ -669,7 +769,7 @@ - + @@ -716,7 +816,7 @@ - + @@ -738,7 +838,7 @@ - + @@ -760,7 +860,7 @@ - + @@ -774,13 +874,13 @@ wxALIGN_CENTRE|wxALL 5 - appicon.xpm + stop.xpm - + @@ -801,7 +901,7 @@ - + @@ -830,7 +930,7 @@ - + @@ -850,7 +950,7 @@ - + @@ -907,10 +1007,253 @@ "So many pretty widgets" said Pooh, said he. "So many pretty widgets", said Pooh. + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTER_VERTICAL|wxALL + 5 + + 180,-1 + true love + + - + + + + + + 2 + 0 + 0 + 0 + 1 + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxEXPAND|wxALL + 5 + + + 2,2 + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + 1 + + + + + + + Just + a combobox + in the toolbar + + + + + Owner Drawn + combobox + in the toolbar + + + + + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxEXPAND|wxALL + 5 + + + #bbbbff + 2,2 + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + 1 + + + + + + + Just + a combobox + in the toolbar + + + + + Owner Drawn + combobox + in the toolbar + + + + + + + + + + + + + 350,280 + + + + + + + + 0 + + + + + + + 1 + + + + + + + 2 + + + + + + + + + + + 350,280 + + + 16,16 + + + + + + + + 0 + 0 + 1 + + 200,180 + + + + + + 1 + 1 + 1 + + + + 2 + 2 + + 200,180 + + + + + + 1 + 3 + + 200,180 + + + + + + + @@ -932,7 +1275,7 @@ - + @@ -954,7 +1297,7 @@ 5 - #00ff00 + #00ff00 @@ -973,7 +1316,7 @@ Here goes a message *.png - + @@ -988,7 +1331,7 @@ 5 - + Here goes a message @@ -1006,17 +1349,17 @@ 5 - + 20 wxSYS_DEFAULT_GUI_FONT - + - + @@ -1025,7 +1368,7 @@ 0 0 0 - 0,1,2,3,4,5,6 + 0,1,2,3,4,5 wxALIGN_CENTRE|wxALL 5 @@ -1050,8 +1393,8 @@ wxALIGN_CENTRE|wxALL 5 - - + + @@ -1061,13 +1404,6 @@ - - wxALIGN_CENTRE|wxALL - 5 - - - - wxALIGN_CENTRE|wxALL 5 @@ -1085,6 +1421,7 @@ 5 + 1