Changeset 647


Ignore:
Timestamp:
09/21/14 04:59:00 (3 years ago)
Author:
jls17
Message:
  • added tab control to menu page
Location:
branches/work_320
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/work_320/doc/DocCharMenuDetails.cpp

    r646 r647  
    1818#include "DocCharMenuDetails.h" 
    1919#include "../output/ContainerTable.h" 
     20#include "../output/TabControl.h" 
    2021#include "../output/URLLink.h" 
    2122#include "DocOverlayHelper.h" 
     
    6566                        webPage.AddContent(overlayHelper.PlaceOverlaidNotice()); 
    6667 
    67                         webPage.AddContent(ShowGeneralInfo()); 
    68                         webPage.AddContent(ShowReferences()); 
     68                        // add the javascript we need for this page to display correctly 
     69                        webPage.GetReferenceManager() 
     70                                .AddScriptReference("img/menu_page.js") 
     71                                .AddScriptReference("img/jquery.address.min.js"); 
     72 
     73                        CTabControl tabControl; 
     74 
     75                        tabControl.AddTab("General", ShowGeneralInfo()); 
     76                        tabControl.AddTab("References", ShowReferences()); 
     77 
     78                        webPage.AddContent(tabControl.ToXHtml()); 
    6979 
    7080                        //Properties 
Note: See TracChangeset for help on using the changeset viewer.