CMakeSetupGUI.cxx 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. // generated by Fast Light User Interface Designer (fluid) version 1.0009
  2. #include "CMakeSetupGUI.h"
  3. inline void CMakeSetupGUI::cb_dialogWindow_i(Fl_Window*, void*) {
  4. recentSourceDirectoriesBrowser->hide();
  5. recentBinaryDirectoriesBrowser->hide();
  6. }
  7. void CMakeSetupGUI::cb_dialogWindow(Fl_Window* o, void* v) {
  8. ((CMakeSetupGUI*)(o->user_data()))->cb_dialogWindow_i(o,v);
  9. }
  10. inline void CMakeSetupGUI::cb_sourcePathTextInput_i(Fl_Input*, void*) {
  11. SetSourcePath( sourcePathTextInput->value() );
  12. }
  13. void CMakeSetupGUI::cb_sourcePathTextInput(Fl_Input* o, void* v) {
  14. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_sourcePathTextInput_i(o,v);
  15. }
  16. inline void CMakeSetupGUI::cb_Browse_i(Fl_Button*, void*) {
  17. BrowseForSourcePath();
  18. }
  19. void CMakeSetupGUI::cb_Browse(Fl_Button* o, void* v) {
  20. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_Browse_i(o,v);
  21. }
  22. inline void CMakeSetupGUI::cb_binaryPathTextInput_i(Fl_Input*, void*) {
  23. SetBinaryPath( binaryPathTextInput->value() );
  24. }
  25. void CMakeSetupGUI::cb_binaryPathTextInput(Fl_Input* o, void* v) {
  26. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_binaryPathTextInput_i(o,v);
  27. }
  28. inline void CMakeSetupGUI::cb_Browse1_i(Fl_Button*, void*) {
  29. BrowseForBinaryPath();
  30. }
  31. void CMakeSetupGUI::cb_Browse1(Fl_Button* o, void* v) {
  32. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_Browse1_i(o,v);
  33. }
  34. inline void CMakeSetupGUI::cb_m_CancelButton_i(Fl_Button*, void*) {
  35. ClickOnCancel();
  36. }
  37. void CMakeSetupGUI::cb_m_CancelButton(Fl_Button* o, void* v) {
  38. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_m_CancelButton_i(o,v);
  39. }
  40. inline void CMakeSetupGUI::cb_m_ConfigureButton_i(Fl_Button*, void*) {
  41. ClickOnConfigure();
  42. }
  43. void CMakeSetupGUI::cb_m_ConfigureButton(Fl_Button* o, void* v) {
  44. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_m_ConfigureButton_i(o,v);
  45. }
  46. inline void CMakeSetupGUI::cb_2_i(Fl_Button*, void*) {
  47. ShowRecentSourceDirectories();
  48. }
  49. void CMakeSetupGUI::cb_2(Fl_Button* o, void* v) {
  50. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_2_i(o,v);
  51. }
  52. inline void CMakeSetupGUI::cb_21_i(Fl_Button*, void*) {
  53. ShowRecentBinaryDirectories();
  54. }
  55. void CMakeSetupGUI::cb_21(Fl_Button* o, void* v) {
  56. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_21_i(o,v);
  57. }
  58. inline void CMakeSetupGUI::cb_recentSourceDirectoriesBrowser_i(Fl_Browser*, void*) {
  59. SelectOneRecentSourceDirectory();
  60. }
  61. void CMakeSetupGUI::cb_recentSourceDirectoriesBrowser(Fl_Browser* o, void* v) {
  62. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_recentSourceDirectoriesBrowser_i(o,v);
  63. }
  64. inline void CMakeSetupGUI::cb_recentBinaryDirectoriesBrowser_i(Fl_Browser*, void*) {
  65. SelectOneRecentBinaryDirectory();
  66. }
  67. void CMakeSetupGUI::cb_recentBinaryDirectoriesBrowser(Fl_Browser* o, void* v) {
  68. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_recentBinaryDirectoriesBrowser_i(o,v);
  69. }
  70. inline void CMakeSetupGUI::cb_m_OKButton_i(Fl_Button*, void*) {
  71. ClickOnOK();
  72. }
  73. void CMakeSetupGUI::cb_m_OKButton(Fl_Button* o, void* v) {
  74. ((CMakeSetupGUI*)(o->parent()->user_data()))->cb_m_OKButton_i(o,v);
  75. }
  76. CMakeSetupGUI::CMakeSetupGUI() {
  77. {
  78. Fl_Window* o = dialogWindow = new Fl_Window(562, 373, "CMakeSetupDialog");
  79. o->callback((Fl_Callback*)cb_dialogWindow, (void*)(this));
  80. { Fl_Input* o = sourcePathTextInput = new Fl_Input(219, 15, 200, 20, "Where is the source code: ");
  81. o->labelsize(11);
  82. o->textsize(11);
  83. o->callback((Fl_Callback*)cb_sourcePathTextInput);
  84. o->when(FL_WHEN_ENTER_KEY);
  85. }
  86. { Fl_Button* o = new Fl_Button(453, 14, 65, 22, "Browse...");
  87. o->shortcut(0x80073);
  88. o->labelsize(11);
  89. o->callback((Fl_Callback*)cb_Browse);
  90. }
  91. { Fl_Input* o = binaryPathTextInput = new Fl_Input(219, 50, 200, 20, "Where do you want to build the binaries: ");
  92. o->labelsize(11);
  93. o->textsize(11);
  94. o->callback((Fl_Callback*)cb_binaryPathTextInput);
  95. o->when(FL_WHEN_ENTER_KEY);
  96. }
  97. { Fl_Button* o = new Fl_Button(453, 49, 65, 22, "Browse...");
  98. o->shortcut(0x80062);
  99. o->labelsize(11);
  100. o->callback((Fl_Callback*)cb_Browse1);
  101. }
  102. { Fl_Button* o = m_CancelButton = new Fl_Button(390, 332, 100, 23, "Cancel");
  103. o->shortcut(0x80071);
  104. o->labelsize(11);
  105. o->callback((Fl_Callback*)cb_m_CancelButton);
  106. }
  107. { Fl_Button* o = m_ConfigureButton = new Fl_Button(105, 332, 100, 23, "Configure");
  108. o->shortcut(0x8006d);
  109. o->labelsize(11);
  110. o->callback((Fl_Callback*)cb_m_ConfigureButton);
  111. }
  112. { Fl_Group* o = new Fl_Group(25, 80, 515, 222);
  113. o->box(FL_ENGRAVED_BOX);
  114. o->labelsize(11);
  115. o->align(FL_ALIGN_CENTER);
  116. { Fl_Scroll* o = cacheValuesScroll = new Fl_Scroll(40, 98, 485, 190, "Cache Values");
  117. o->type(7);
  118. o->box(FL_DOWN_FRAME);
  119. o->labelsize(11);
  120. o->align(FL_ALIGN_TOP_LEFT);
  121. o->when(FL_WHEN_CHANGED);
  122. { Fl_Pack* o = propertyListPack = new Fl_Pack(40, 99, 485, 185);
  123. o->end();
  124. Fl_Group::current()->resizable(o);
  125. }
  126. o->end();
  127. Fl_Group::current()->resizable(o);
  128. }
  129. o->end();
  130. Fl_Group::current()->resizable(o);
  131. }
  132. { Fl_Box* o = new Fl_Box(160, 305, 275, 25, "Right click on cache entries for additional options");
  133. o->labelsize(11);
  134. }
  135. { Fl_Button* o = new Fl_Button(420, 15, 22, 21, "@#2>");
  136. o->labeltype(FL_SYMBOL_LABEL);
  137. o->callback((Fl_Callback*)cb_2);
  138. }
  139. { Fl_Button* o = new Fl_Button(420, 50, 22, 21, "@#2>");
  140. o->labeltype(FL_SYMBOL_LABEL);
  141. o->callback((Fl_Callback*)cb_21);
  142. }
  143. { Fl_Browser* o = recentSourceDirectoriesBrowser = new Fl_Browser(15, 35, 535, 115);
  144. o->type(2);
  145. o->box(FL_BORDER_BOX);
  146. o->callback((Fl_Callback*)cb_recentSourceDirectoriesBrowser);
  147. o->hide();
  148. }
  149. { Fl_Browser* o = recentBinaryDirectoriesBrowser = new Fl_Browser(15, 70, 535, 115);
  150. o->type(2);
  151. o->box(FL_BORDER_BOX);
  152. o->callback((Fl_Callback*)cb_recentBinaryDirectoriesBrowser);
  153. o->hide();
  154. }
  155. { Fl_Button* o = m_OKButton = new Fl_Button(250, 332, 100, 23, "OK");
  156. o->shortcut(0x8006d);
  157. o->labelsize(11);
  158. o->callback((Fl_Callback*)cb_m_OKButton);
  159. }
  160. o->end();
  161. }
  162. }
  163. CMakeSetupGUI::~CMakeSetupGUI() {
  164. }
  165. void CMakeSetupGUI::Close(void) {
  166. }
  167. void CMakeSetupGUI::BrowseForSourcePath(void) {
  168. }
  169. void CMakeSetupGUI::BrowseForBinaryPath(void) {
  170. }
  171. void CMakeSetupGUI::Show(void) {
  172. }
  173. bool CMakeSetupGUI::SetBinaryPath(const char *) {
  174. return false;
  175. }
  176. bool CMakeSetupGUI::SetSourcePath(const char *) {
  177. return false;
  178. }
  179. void CMakeSetupGUI::ShowRecentBinaryDirectories(void) {
  180. }
  181. void CMakeSetupGUI::ShowRecentSourceDirectories(void) {
  182. }
  183. void CMakeSetupGUI::SelectOneRecentBinaryDirectory(void) {
  184. }
  185. void CMakeSetupGUI::SelectOneRecentSourceDirectory(void) {
  186. }
  187. void CMakeSetupGUI::ClickOnConfigure(void) {
  188. }
  189. void CMakeSetupGUI::ClickOnOK(void) {
  190. }
  191. void CMakeSetupGUI::ClickOnCancel(void) {
  192. }