Skip to content

Commit

Permalink
Fixed: database explorer tree view supports HiRes views
Browse files Browse the repository at this point in the history
  • Loading branch information
eranif committed Sep 22, 2016
1 parent 07460a1 commit c305993
Show file tree
Hide file tree
Showing 18 changed files with 283 additions and 8 deletions.
12 changes: 6 additions & 6 deletions DatabaseExplorer/DbViewerPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,12 @@ void DbViewerPanel::RefreshDbView()
// clear items from tree
m_treeDatabases->DeleteAllItems();
// create imageList for icons
wxImageList* pImageList = new wxImageList(16, 16, true, 3);
pImageList->Add(m_mgr->GetStdIcons()->LoadBitmap(wxT("toolbars/16/standard/file_open"))); // folder icon
pImageList->Add(m_mgr->GetStdIcons()->LoadBitmap(wxT("db-explorer/16/table"))); // table icon
pImageList->Add(m_mgr->GetStdIcons()->LoadBitmap(wxT("toolbars/16/search/find"))); // view icon
pImageList->Add(m_mgr->GetStdIcons()->LoadBitmap(wxT("db-explorer/16/database"))); // database
pImageList->Add(m_mgr->GetStdIcons()->LoadBitmap(wxT("db-explorer/16/column"))); // column
wxImageList* pImageList = new wxImageList(clGetScaledSize(16), clGetScaledSize(16), true);
pImageList->Add(m_mgr->GetStdIcons()->LoadBitmap(wxT("folder-yellow"))); // 0, folder icon
pImageList->Add(m_mgr->GetStdIcons()->LoadBitmap(wxT("db-table"))); // 1, table icon
pImageList->Add(m_mgr->GetStdIcons()->LoadBitmap(wxT("cscope"))); // 2, view icon
pImageList->Add(m_mgr->GetStdIcons()->LoadBitmap(wxT("database"))); // 3, database
pImageList->Add(m_mgr->GetStdIcons()->LoadBitmap(wxT("db-column"))); // 4, column

m_treeDatabases->AssignImageList(pImageList);

Expand Down
4 changes: 2 additions & 2 deletions LiteEditor.workspace
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
<Project Name="LLDBProtocol" ConfigName="Debug"/>
<Project Name="AutoSave" ConfigName="Win_x64_Debug"/>
</WorkspaceConfiguration>
<WorkspaceConfiguration Name="Win_x64_Release" Selected="yes">
<WorkspaceConfiguration Name="Win_x64_Release" Selected="no">
<Environment>WXWIN=D:\src\wxWidgets
WXCFG=gcc_dll\mswu</Environment>
<Project Name="abbreviation" ConfigName="Win_x64_Release"/>
Expand Down Expand Up @@ -352,7 +352,7 @@ WXCFG=gcc_dll\mswu</Environment>
<Project Name="ZoomNavigator" ConfigName="Win_x64_Release"/>
<Project Name="AutoSave" ConfigName="Win_x64_Release"/>
</WorkspaceConfiguration>
<WorkspaceConfiguration Name="Win_x64_Debug" Selected="no">
<WorkspaceConfiguration Name="Win_x64_Debug" Selected="yes">
<Environment/>
<Project Name="abbreviation" ConfigName="Win_x64_Debug"/>
<Project Name="CallGraph" ConfigName="Win_x64_Debug"/>
Expand Down
Binary file modified Runtime/codelite-bitmaps.zip
Binary file not shown.
Binary file added bitmaps/16-database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/16-db-column.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/16-db-table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/24-database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/24-db-column.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/24-db-table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bitmaps/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions svgs/database.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
139 changes: 139 additions & 0 deletions svgs/db-column.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
135 changes: 135 additions & 0 deletions svgs/db-table.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c305993

Please sign in to comment.