Author: greg.ercolano
Date: 2011-05-05 21:27:49 -0700 (Thu, 05 May 2011)
New Revision: 8635
Log:
Modified tree-simple to demonstrate specifying front+back slashes in tree.
Modified:
branches/branch-1.3/examples/tree-simple.cxx
Modified: branches/branch-1.3/examples/tree-simple.cxx
===================================================================
--- branches/branch-1.3/examples/tree-simple.cxx 2011-05-04 15:19:39 UTC
(rev 8634)
+++ branches/branch-1.3/examples/tree-simple.cxx 2011-05-06 04:27:49 UTC
(rev 8635)
@@ -75,15 +75,14 @@
tree->add("Simpsons/Marge");
tree->add("Simpsons/Bart");
tree->add("Simpsons/Lisa");
- tree->add("Holidays/01\\/01 New Years");
- tree->add("Holidays/02\\/15 Valentine's Day");
- tree->add("Holidays/05\\/05 Cinco de Mayo");
- tree->add("Holidays/07\\/04 Independence Day");
- tree->add("Holidays/12\\/25 Christmas");
+ tree->add("Pathnames/\\/bin"); // front slashes
+ tree->add("Pathnames/\\/usr\\/sbin");
+ tree->add("Pathnames/C:\\\\Program Files"); // backslashes
+ tree->add("Pathnames/C:\\\\Documents and Settings");
// Start with some items closed
tree->close("Simpsons");
- tree->close("Holidays");
+ tree->close("Pathnames");
}
win->end();
win->resizable(win);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit