ui_extension:ui_extension
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ui_extension:ui_extension [2005/01/24 22:28] – musicmusic | ui_extension:ui_extension [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== UI Extensions ===== | + | ====== UI Extensions |
- | ==== Introduction ==== | + | **Warning: This page is terribly out-dated** |
- | === What's all this about UI Extensions? | + | |
+ | ===== Introduction ===== | ||
A UI Extension generally refers to a component that implements the ui_extension API. They are also commonly refered to as panels. | A UI Extension generally refers to a component that implements the ui_extension API. They are also commonly refered to as panels. | ||
- | === Right, so what's this ui_extension thingywhatsit? | + | |
- | Its an API that allows a component (a UI Extension Host) to insert a window created by another component (UI Extension) into one of its windows as a child window. UI Extensions come in two forms: multiple instance extensions, of which allow hosts to make as many instances of its window as they want. Single instance windows only have one instance of its window created at any one time. | + | The UI Extension API an API that allows a component (a UI Extension Host) to insert a window created by another component (UI Extension) into one of its windows as a child window. UI Extensions come in two forms: multiple instance extensions, of which allow hosts to make as many instances of its window as they want. Single instance windows only have one instance of its window created at any one time. |
- | ==== Developers | + | ===== Developer resources ===== |
- | === Creating | + | ==== Prerequistes for developing |
In order to create UI Extension aware components, you will need: | In order to create UI Extension aware components, you will need: | ||
- | * The [[http://foobar.morbo.org/ | + | === The foobar2000 SDK === |
- | | + | The foobar200 SDK can be downloaded from the [[http://foobar2000.org/ |
- | | + | === The UI Extension SDK === |
+ | The UI Extension SDK can be downloaded from its [[http:// | ||
+ | === Microsoft Visual C++ === | ||
+ | Information on Visual C++ can be found from its [[http:// | ||
- | Also recommended is the current [[http:// | + | Microsoft Visual C++ 2003 and 6.0 will both currently work. |
- | If you are unaware of how to set up the foobar2000 SDK, and create foobar2000 components, please read the foobar2000 [[http:// | + | === Platform SDK === |
+ | Not usually required, but recommended is the current [[http:// | ||
+ | |||
+ | ==== Developing UI Extension aware components ==== | ||
+ | If you are unaware of how to set up the foobar2000 SDK, and create foobar2000 components, please read the foobar2000 [[http:// | ||
You should extract the UI Extension archive to the foobar2000\ui_extension sub-directory of your SDK root folder. You should then proceed to insert the ui_extension project into your workspace, and add it as a dependency of your project. | You should extract the UI Extension archive to the foobar2000\ui_extension sub-directory of your SDK root folder. You should then proceed to insert the ui_extension project into your workspace, and add it as a dependency of your project. | ||
- | You should include the header "../ui_extension_with_helpers.h" as appropriate in your code. | + | You should include the header "../ui_extension.h" as appropriate in your code. |
- | UI Extension hosts must implement the [[http:// | + | UI Extension hosts must implement the [[http:// |
- | [[http:// | + | [[http:// |
Some example components you can look at are:\\ | Some example components you can look at are:\\ | ||
- | [[http:// | + | [[http:// |
- | [[http:// | + | [[http:// |
- | [[http:// | + | |
- | [[http:// | + | |
[[http:// | [[http:// | ||
- | [[http:// | + | [[http:// |
- | [[http:// | + | [[http:// |
- | === Known shortcomings in UI Extension API version 5 === | + | ==== Known shortcomings in UI Extension API version 5 ==== |
* ui_extension_host:: | * ui_extension_host:: | ||
* No method to retrieve whether a component supports multiple instances or not. | * No method to retrieve whether a component supports multiple instances or not. | ||
+ | * A method to create a configuration dialog for a ui_extension instance may be useful. | ||
+ | |||
+ | ==== Changes for UI Extension 6 ==== | ||
+ | * Add a subclass for splitter panels | ||
+ | * Add methods for displaying a configuration dialog for UI Extensions | ||
+ | * ui_extension_host API will no longer be single instance only | ||
+ | * Implement methods in ui_extension_factory to retrieve whether extension is single or multiple instance | ||
+ | * Add HWND parameters to ui_extension_host:: | ||
+ | * Changed way adding items to host menu works | ||
+ | * Added APIs for embedding standard Columns UI spectrum analyser in your own window | ||
+ | * Added APIs for new customisable buttons toolbar (including default bitmaps, pushed state, and drop-downs) | ||
+ | * Rename TYPE_LAYOUT to TYPE_CONTAINER | ||
+ | * More.. |
ui_extension/ui_extension.txt · Last modified: 2008/05/21 22:09 by musicmusic